Skip to content

Commit

Permalink
[CM1003][MA35D0][MA35H0] Release V1.32.0001
Browse files Browse the repository at this point in the history
  • Loading branch information
CMWU authored and CMWU committed Jul 12, 2024
1 parent 254568a commit 8c84869
Show file tree
Hide file tree
Showing 8 changed files with 176 additions and 13 deletions.
Binary file modified UserManual/RH_NuTool-PinConfigure_EN.docx
Binary file not shown.
27 changes: 23 additions & 4 deletions assets/Supported_Chips.htm
Original file line number Diff line number Diff line change
Expand Up @@ -1146,23 +1146,32 @@ <h1><a name="_Toc292134986"><span lang=EN-US style='font-size:16.0pt'><font face
<td width=76 align=center style='border:#000000 0.5px solid'><b>MA35D0</b></td>
<td style='border:#000000 0.5px solid'>
MA35D03F864C,
MA35D03F764C
MA35D03F764C,
MA35D03FH64C,
MA35D03FI64C,
MA35D03FJ64C
</td>
</tr>
<tr>
<td width=76 align=center style='border:#000000 0.5px solid'><b>MA35D1</b></td>
<td style='border:#000000 0.5px solid'>
MA35D16A087C,
MA35D16A887C,
MA35D16F787C,
MA35D16F887C,
MA35D16F987C,
MA35D16A887C,
MA35D16A087C
MA35D16AH87C,
MA35D16AI87C,
MA35D16AJ87C
</td>
</tr>
<tr>
<td width=76 align=center style='border:#000000 0.5px solid'><b>MA35H0</b></td>
<td style='border:#000000 0.5px solid'>
MA35H04F764C
MA35H04F764C,
MA35H04FH64C,
MA35H04FI64C,
MA35H04FJ64C
</td>
</tr>
<tr>
Expand Down Expand Up @@ -1268,6 +1277,16 @@ <h1><a name="_Toc292134986"><span lang=EN-US style='font-size:16.0pt'><font face
I9361VRI
</td>
</tr>
<tr>
<td width=76 rowspan= align=center style='border:#000000 0.5px solid'><b></b></td>
<td width=76 align=center style='border:#000000 0.5px solid'><b>CM1003</b></td>
<td style='border:#000000 0.5px solid'>
CM1003BF2AE,
CM1003BF3AE,
CM1003CF2AE,
CM1003CF3AE
</td>
</tr>
</table>

<br>
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nutool-pinconfigure",
"version": "1.31.0001",
"version": "1.32.0001",
"description": "",
"main": "main.js",
"scripts": {
Expand Down
141 changes: 141 additions & 0 deletions src/NUC_CM1003_Content.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
// chip content
NUTOOL_PIN.g_cfg_chips = [
{ name: "CM1003BF2AE", pkg: "TSSOP20" },
{ name: "CM1003BF3AE", pkg: "QFN20" },
{ name: "CM1003CF2AE", pkg: "TSSOP20" },
{ name: "CM1003CF3AE", pkg: "QFN20" },
];

NUTOOL_PIN.g_cfg_pkgs = {
"QFN20": [
'P0.7', 'P1.7', 'VSS', 'P1.6', 'VDD',
'P1.5', 'P1.0', 'P1.1', 'P1.2', 'P1.4',
'P1.3', 'P0.0', 'P0.1', 'P0.2', 'P0.3',
'P0.4', 'P3.0', 'P2.0', 'P0.6', 'P0.5'
],
"TSSOP20": [
'P0.5', 'P0.6', 'P0.7', 'P2.0', 'P3.0',
'P1.7', 'VSS', 'P1.6', 'VDD', 'P1.5',
'P1.4', 'P1.3', 'P1.2', 'P1.1', 'P1.0',
'P0.0', 'P0.1', 'P0.2', 'P0.3', 'P0.4'
]
};

NUTOOL_PIN.g_cfg_OrCAD = {};

NUTOOL_PIN.g_cfg_gpios = [
{ f: ['P0.0:0', 'PWM0_CH3:1', 'SPI0_MOSI:2', 'IC3:3', 'T1:5']},
{ f: ['P0.1:0', 'PWM0_CH4:1', 'SPI0_MISO:2', 'IC4:3']},
{ f: ['P0.2:0', 'ICE_CLK:1', 'I2C0_SCL:3', 'UART1_RXD:4']},
{ f: ['P0.3:0', 'ADC_CH6:1', 'IC5:3', 'PWM0_CH5:4']},
{ f: ['P0.4:0', 'ADC_CH5:1', 'IC3:3', 'PWM0_CH3:4', 'STADC:5']},
{ f: ['P0.5:0', 'ADC_CH4:1', 'IC6:3', 'PWM0_CH2:4', 'T0:5']},
{ f: ['P0.6:0', 'ADC_CH3:1', 'UART0_TXD:2']},
{ f: ['P0.7:0', 'ADC_CH2:1', 'UART0_RXD:2']},

{ f: ['P1.0:0', 'PWM0_CH2:1', 'SPI0_CLK:2', 'IC2:3']},
{ f: ['P1.1:0', 'ADC_CH7:1', 'CLKO:2', 'IC1:3', 'PWM0_CH1:4']},
{ f: ['P1.2:0', 'PWM0_CH0:1', 'IC0:3']},
{ f: ['P1.3:0', 'STADC:1', 'I2C0_SCL:2']},
{ f: ['P1.4:0', 'PWM0_CH1:1', 'I2C0_SDA:2', 'PWM0_BRAKE:3']},
{ f: ['P1.5:0', 'PWM0_CH5:1', 'SPI0_SS:2', 'IC7:3']},
{ f: ['P1.6:0', 'ICE_DAT:1', 'I2C0_SDA:3', 'UART1_TXD:4']},
{ f: ['P1.7:0', 'ADC_CH0:1', 'INT1:3']},

{ f: ['P2.0:0', 'nRESET:1']},
{ f: ['P2.1:0']},
{ f: ['P2.2:0']},
{ f: ['P2.3:0']},
{ f: ['P2.4:0']},
{ f: ['P2.5:0']},
{ f: ['P2.6:0']},
{ f: ['P2.7:0']},

{ f: ['P3.0:0', 'ADC_CH1:1', 'OSCIN:2', 'INT0:3']},
{ f: ['P3.1:0']},
{ f: ['P3.2:0']},
{ f: ['P3.3:0']},
{ f: ['P3.4:0']},
{ f: ['P3.5:0']},
{ f: ['P3.6:0']},
{ f: ['P3.7:0']}
];

// MB20 LCWang0: MS51 no need to generate code
NUTOOL_PIN.g_cfg_gpiosDefines = [
];

NUTOOL_PIN.g_cfg_gpiosDescriptions = [
'ADC_CH0:ADC input channel 0',
'ADC_CH1:ADC input channel 1',
'ADC_CH2:ADC input channel 2',
'ADC_CH3:ADC input channel 3',
'ADC_CH4:ADC input channel 4',
'ADC_CH5:ADC input channel 5',
'ADC_CH6:ADC input channel 6',
'ADC_CH7:ADC input channel 7',
'CLKO:System clock output',
'I2C0_SCL:I2C clock',
'I2C0_SDA:I2C data',
'IC0:Input capture channel 0',
'IC1:Input capture channel 1',
'IC2:Input capture channel 2',
'IC3:Input capture channel 3',
'IC4:Input capture channel 4',
'IC5:Input capture channel 5',
'IC6:Input capture channel 6',
'IC7:Input capture channel 7',
'ICE_CLK:ICP / OCD clock input',
'ICE_DAT:ICP / OCD data input or output',
'INT0:External interrupt 0 input',
'INT1:External interrupt 1 input',
'nRESET:nRESET pin',
'OSCIN:Xin is the external clock input pin',
'PWM0_BRAKE:Fault Brake input',
'PWM0_CH0:PWM0 output channel 0',
'PWM0_CH1:PWM0 output channel 1',
'PWM0_CH2:PWM0 output channel 2',
'PWM0_CH3:PWM0 output channel 3',
'PWM0_CH4:PWM0 output channel 4',
'PWM0_CH5:PWM0 output channel 5',
'SPI0_CLK:SPI clock',
'SPI0_MISO:SPI master input/slave output',
'SPI0_MOSI:SPI master output/slave input',
'SPI0_SS:SPI slave select input',
'STADC:External start ADC trigger',
'T0:External count input to Timer/Counter 0 or its toggle output',
'T1:External count input to Timer/Counter 1 or its toggle output',
'UART0_RXD:Serial port 0 receive input',
'UART0_TXD:Serial port 0 transmit data output',
'UART1_RXD:Serial port 1 receive input',
'UART1_TXD:Serial port 1 transmit data output'
];

NUTOOL_PIN.g_cfg_regDescriptions = {};
NUTOOL_PIN.g_cfg_regDescriptions.P0MF76543210 = 'This register is nonexistent';
NUTOOL_PIN.g_cfg_regDescriptions.P1MF76543210 = 'This register is nonexistent';
NUTOOL_PIN.g_cfg_regDescriptions.P2MF76543210 = 'This register is nonexistent';
NUTOOL_PIN.g_cfg_regDescriptions.P3MF76543210 = 'This register is nonexistent';

NUTOOL_PIN.g_cfg_gpioMatrix = [];
NUTOOL_PIN.g_cfg_shareBits = [];
NUTOOL_PIN.g_cfg_addGPIO = {};
NUTOOL_PIN.g_cfg_unusedGPIO = {};
NUTOOL_PIN.g_cfg_WPPin = [];

NUTOOL_PIN.decidepackageNumber = function (given_partNumber_package) {
var partNumber_package;

if (typeof given_partNumber_package === 'undefined') {
partNumber_package = NUTOOL_PIN.getg_partNumber_package();
}
else {
partNumber_package = given_partNumber_package;
}

NUTOOL_PIN.g_packageNumber = partNumber_package.substring(partNumber_package.indexOf('(') + 1);
NUTOOL_PIN.g_packageNumber = NUTOOL_PIN.g_packageNumber.substring(0, NUTOOL_PIN.g_packageNumber.lastIndexOf(')'));
NUTOOL_PIN.g_packageNumberIndex = NUTOOL_PIN.g_packageNumber;

partNumber_package = null;
};
10 changes: 5 additions & 5 deletions src/NUC_MA35D0_Content.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// chip content
NUTOOL_PIN.g_cfg_chips = [
{ name: "MA35D03F864C", pkg: "LQFP216" },
{ name: "MA35D03F764C", pkg: "LQFP216" }
{ name: "MA35D03F764C", pkg: "LQFP216" },
{ name: "MA35D03FH64C", pkg: "LQFP216" },
{ name: "MA35D03FI64C", pkg: "LQFP216" },
{ name: "MA35D03FJ64C", pkg: "LQFP216" }
];

NUTOOL_PIN.g_cfg_pkgs = {
Expand Down Expand Up @@ -1393,12 +1396,9 @@ NUTOOL_PIN.g_cfg_gpioMatrix = [];
NUTOOL_PIN.g_cfg_shareBits = [];
NUTOOL_PIN.g_cfg_addGPIO = {};
NUTOOL_PIN.g_cfg_unusedGPIO = {
"MA35D03F864C(LQFP216)": {
"LQFP216": {
"ALL": ["TSI", "EADC0", "RGMII0", "RGMII1", "CCAP0", "CCAP1", "QSPI1", "SPI2", "SPI3", "I2C1", "I2C2", "I2C3", "I2S1", "CAN2", "ECAP0", "ECAP1", "ECAP2", "QEI0", "QEI1", "QEI2", "TAMPER", "TRACE", "UART1", "UART2", "UART3", "UART7", "UART11", "UART13"]
},
"MA35D03F764C(LQFP216)": {
"ALL": ["TSI", "EADC0", "RGMII0", "RGMII1", "CCAP0", "CCAP1", "QSPI1", "SPI2", "SPI3", "I2C1", "I2C2", "I2C3", "I2S1", "CAN2", "ECAP0", "ECAP1", "ECAP2", "QEI0", "QEI1", "QEI2", "TAMPER", "TRACE", "UART1", "UART2", "UART3", "UART7", "UART11", "UART13"]
}
};
NUTOOL_PIN.g_cfg_WPPin = [];

Expand Down
7 changes: 5 additions & 2 deletions src/NUC_MA35H0_Content.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/NUC_Pin_Configuration-terser.js

Large diffs are not rendered by default.

0 comments on commit 8c84869

Please sign in to comment.