Skip to content

Commit

Permalink
[KM1M0GF/M2003/M2A23/MA35D1] Release V1.31.0001
Browse files Browse the repository at this point in the history
  • Loading branch information
CMWU authored and CMWU committed Jun 14, 2024
1 parent a576c42 commit 254568a
Show file tree
Hide file tree
Showing 22 changed files with 1,984 additions and 321 deletions.
1,018 changes: 1,018 additions & 0 deletions Header/KM1M0GF/gpio.h

Large diffs are not rendered by default.

Binary file modified UserManual/RH_NuTool-PinConfigure_EN.docx
Binary file not shown.
Binary file modified UserManual/UM_NuTool-PinConfigure_EN.docx
Binary file not shown.
Binary file modified UserManual/UM_NuTool-PinConfigure_SC.docx
Binary file not shown.
Binary file modified assets/Nuvoton Cortex-M0_M4 Library/NuMicro_OrCAD_Library.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion assets/Supported_Chips.htm
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ <h1><a name="_Toc292134986"><span lang=EN-US style='font-size:16.0pt'><font face
<tr>
<td width=76 rowspan=9 align=center style='border:#000000 0.5px solid'><b>NuMicro&reg; M23 Family</b>
</td>
<td width=76 align=center style='border:#000000 0.5px solid'><b>M2003C</b></td>
<td width=76 align=center style='border:#000000 0.5px solid'><b>M2003</b></td>
<td style='border:#000000 0.5px solid'>
M2003FC1AE,
M2003XC1AE
Expand Down
Binary file not shown.
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.30.0000",
"version": "1.31.0001",
"description": "",
"main": "main.js",
"scripts": {
Expand Down
34 changes: 17 additions & 17 deletions src/NUC_KM1M0D0F_100_Content.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
NUTOOL_PIN.g_cfg_chips = [
// KM1M0D0F_100
{ name: "KM1M0DF02N/K", pkg: "LQFP100_D0x(14*14)" },
{ name: "KM1M0DF02N/K", pkg: "LQFP100_D0x" },
// KM1M0D0F_80
{ name: "KM1M0DF03N/K", pkg: "LQFP80_D0x(12*12)" },
{ name: "KM1M0DF03N/K", pkg: "LQFP80_D0x" },
// KM1M0D1F
{ name: "KM1M0DF13N/K", pkg: "LQFP80_D1x(12*12)" },
{ name: "KM1M0DF13N/K", pkg: "LQFP80_D1x" },
// KM1M0D0F_64
{ name: "KM1M0DF04N/K", pkg: "TQFP64_D0x(10*10)" }
{ name: "KM1M0DF04N/K", pkg: "TQFP64_D0x" }
];

NUTOOL_PIN.g_cfg_pkgs = {
"LQFP100_D0x(14*14)": [
"LQFP100_D0x": [
'PA.0', 'PA.1', 'PA.2', 'PA.3', 'PA.4', 'PA.5', 'PA.6', 'PA.7', 'RON', 'NDMOD',
'NRST', 'P9.0', 'P9.1', 'VSS', 'P2.5', 'P2.6', 'VDD', 'BOOT', 'VOUT12', 'VOUT33',
'VDD', 'VSS', 'P0.0', 'P0.1', 'P0.2', 'P0.3', 'P0.4', 'P0.5', 'P0.6', 'P0.7',
Expand Down Expand Up @@ -98,10 +98,10 @@ NUTOOL_PIN.g_cfg_gpios = [
{ f: ['P7.7:0', 'SIF1_SBT1B:4', 'KEY7:10']},

{ f: ['P8.0:0', 'SDO0:1', 'PWM0_PWM0A:2']},
{ f: ['P8.1:0', 'SDO1:1', 'PWM0_NPWM0A:2', 'PWM0_PWM1A:2']},
{ f: ['P8.2:0', 'SDO2:1', 'PWM0_PWM1A:2', 'PWM0_PWM2A:2']},
{ f: ['P8.3:0', 'SDO3:1', 'PWM0_NPWM1A:2', 'PWM0_NPWM0A:2']},
{ f: ['P8.4:0', 'SDO4:1', 'PWM0_PWM2A:2', 'PWM0_NPWM1A:2']},
{ f: ['P8.1:0', 'SDO1:1', 'PWM0_NPWM0A:2']},
{ f: ['P8.2:0', 'SDO2:1', 'PWM0_PWM1A:2']},
{ f: ['P8.3:0', 'SDO3:1', 'PWM0_NPWM1A:2']},
{ f: ['P8.4:0', 'SDO4:1', 'PWM0_PWM2A:2']},
{ f: ['P8.5:0', 'SDO5:1', 'PWM0_NPWM2A:2']},
{ f: ['P8.6:0', 'SDO6:1', 'PWM0_PWMBCSTA:2']},
{ f: ['P8.7:0', 'SDO7:1', 'TM15IOC:2']},
Expand All @@ -110,8 +110,8 @@ NUTOOL_PIN.g_cfg_gpios = [
{ f: ['P9.1:0', 'XO:7']},
{ f: ['P9.2:0', 'AN19:7']},
{ f: ['P9.3:0', 'AN18:7']},
{ f: ['P9.4:0', 'AN17:1', 'DAC0_DA0OUT0:1', 'AN17:1', 'DAC0_DA0OUT0:1']},
{ f: ['P9.5:0', 'AN16:1', 'DAC0_DA0OUT1:1', 'AN16:1', 'DAC0_DA0OUT1:1']},
{ f: ['P9.4:0', 'AN17:1', 'DAC0_DA0OUT0:1']},
{ f: ['P9.5:0', 'AN16:1', 'DAC0_DA0OUT1:1']},
{ f: ['P9.6:0']},
{ f: ['P9.7:0']},

Expand Down Expand Up @@ -439,22 +439,22 @@ NUTOOL_PIN.g_cfg_regDescriptions.IOPAMD = '0x400042A0';
NUTOOL_PIN.g_cfg_regDescriptions.IOPBMD = '0x400042B0';

NUTOOL_PIN.g_cfg_unusedGPIO = {
'KM1M0DF02N/K(LQFP100_D0x(14*14))': {
'KM1M0DF02N/K(LQFP100_D0x)': {
'ALL': []
},
'KM1M0DF03N/K(LQFP80_D0x(12*12))': {
'KM1M0DF03N/K(LQFP80_D0x)': {
'ALL': []
},
'KM1M0DF13N/K(LQFP80_D1x(12*12))': {
'KM1M0DF13N/K(LQFP80_D1x)': {
'ALL': []
},
'KM1M0DF04N/K(TQFP64_D0x(10*10))': {
'KM1M0DF04N/K(TQFP64_D0x)': {
'ALL': []
}
};

NUTOOL_PIN.g_cfg_OrCAD = {
"LQFP100_D0x(14*14)": [
"LQFP100_D0x": [
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
Expand All @@ -468,7 +468,7 @@ NUTOOL_PIN.g_cfg_OrCAD = {
]
};
NUTOOL_PIN.g_cfg_WPPin = ['P0.0', 'P0.1'];
// [Workaround] Sometime NUTOOL_PIN.g_cfg_WPPin will be reset.
// [Workaround] Sometimes NUTOOL_PIN.g_cfg_WPPin will be reset.
setTimeout(function() {
NUTOOL_PIN.g_cfg_WPPin = ['P0.0', 'P0.1'];
}, 100);
Expand Down
38 changes: 19 additions & 19 deletions src/NUC_KM1M0D0F_64_Content.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
NUTOOL_PIN.g_cfg_chips = [
{ name: "KM1M0DF02N/K", pkg: "LQFP100_D0x(14*14)" },
{ name: "KM1M0DF03N/K", pkg: "LQFP80_D0x(12*12)" },
{ name: "KM1M0DF13N/K", pkg: "LQFP80_D1x(12*12)" },
{ name: "KM1M0DF04N/K", pkg: "TQFP64_D0x(10*10)" }
{ name: "KM1M0DF02N/K", pkg: "LQFP100_D0x" },
{ name: "KM1M0DF03N/K", pkg: "LQFP80_D0x" },
{ name: "KM1M0DF13N/K", pkg: "LQFP80_D1x" },
{ name: "KM1M0DF04N/K", pkg: "TQFP64_D0x" }
];

NUTOOL_PIN.g_cfg_pkgs = {
"LQFP64_D0x(14*14)": [
"LQFP64_D0x": [
'PA.4', 'PA.5', 'PA.6', 'PA.7', 'RON', 'NDMOD', 'NRST', 'P9.0', 'P9.1', 'VSS',
'P2.5', 'P2.6', 'VDD', 'BOOT', 'VOUT12', 'VOUT33', 'VDD', 'VSS', 'P0.0', 'P0.1',
'P0.2', 'P0.3', 'P0.4', 'P0.5', 'P2.0', 'P2.1', 'P2.2', 'P2.3', 'P2.4', 'P8.7',
Expand All @@ -15,7 +15,7 @@ NUTOOL_PIN.g_cfg_pkgs = {
'P6.2', 'P5.0', 'P5.1', 'P5.2', 'P5.3', 'P5.4', 'P5.5', 'P5.6', 'P5.7', 'P9.4',
'PA.0', 'PA.1', 'PA.2', 'PA.3'
],
"TQFP64_D0x(10*10)": [
"TQFP64_D0x": [
'PA.4', 'PA.5', 'PA.6', 'PA.7', 'RON', 'NDMOD', 'NRST', 'P9.0', 'P9.1', 'VSS',
'P2.5', 'P2.6', 'VDD', 'BOOT', 'VOUT12', 'VOUT33', 'VDD', 'VSS', 'P0.0', 'P0.1',
'P0.2', 'P0.3', 'P0.4', 'P0.5', 'P2.0', 'P2.1', 'P2.2', 'P2.3', 'P2.4', 'P8.7',
Expand Down Expand Up @@ -78,7 +78,7 @@ NUTOOL_PIN.g_cfg_gpios = [
{ f: ['P5.3:0', 'TM07OUT3:1', 'SIF1_SBC1A:4']},
{ f: ['P5.4:0', 'TM07OUT4:1']},
{ f: ['P5.5:0', 'TM07OUT5:1', 'AN11:7']},
{ f: ['P5.6:0', 'BZ_NBUZZERA:1', 'AN10:1', 'DAC0_DA0OUT0:1', 'AN10:1', 'DAC0_DA0OUT0:1']},
{ f: ['P5.6:0', 'BZ_NBUZZERA:1', 'AN10:1', 'DAC0_DA0OUT0:1']},
{ f: ['P5.7:0', 'BZ_BUZZERA:1', 'AN9:7']},

{ f: ['P6.0:0']},
Expand All @@ -100,10 +100,10 @@ NUTOOL_PIN.g_cfg_gpios = [
{ f: ['P7.7:0', 'SIF1_SBT1B:4', 'CMP1_CMPIN1A:8', 'KEY7:10']},

{ f: ['P8.0:0', 'SDO0:1', 'PWM0_PWM0A:2', 'CMP1_CMPOT1:8']},
{ f: ['P8.1:0', 'SDO1:1', 'PWM0_NPWM0A:2', 'PWM0_PWM1A:2']},
{ f: ['P8.2:0', 'SDO2:1', 'PWM0_PWM1A:2', 'PWM0_PWM2A:2']},
{ f: ['P8.3:0', 'SDO3:1', 'PWM0_NPWM1A:2', 'PWM0_NPWM0A:2']},
{ f: ['P8.4:0', 'SDO4:1', 'PWM0_PWM2A:2', 'PWM0_NPWM1A:2']},
{ f: ['P8.1:0', 'SDO1:1', 'PWM0_NPWM0A:2']},
{ f: ['P8.2:0', 'SDO2:1', 'PWM0_PWM1A:2']},
{ f: ['P8.3:0', 'SDO3:1', 'PWM0_NPWM1A:2']},
{ f: ['P8.4:0', 'SDO4:1', 'PWM0_PWM2A:2']},
{ f: ['P8.5:0', 'SDO5:1', 'PWM0_NPWM2A:2']},
{ f: ['P8.6:0', 'SDO6:1', 'PWM0_PWMBCSTA:2']},
{ f: ['P8.7:0', 'SDO7:1', 'TM15IOC:2']},
Expand All @@ -119,7 +119,7 @@ NUTOOL_PIN.g_cfg_gpios = [

{ f: ['PA.0:0', 'TM00IOA:2', 'AN0:7']},
{ f: ['PA.1:0', 'TM01IOA:2', 'AN1:7']},
{ f: ['PA.2:0', 'TM02IOA:2', 'AN2:1', 'DAC0_DA0OUT1:1', 'CMP0_CMPREF0B:8', 'AN2:1', 'DAC0_DA0OUT1:1']},
{ f: ['PA.2:0', 'TM02IOA:2', 'AN2:1', 'DAC0_DA0OUT1:1', 'CMP0_CMPREF0B:8']},
{ f: ['PA.3:0', 'TM03IOA:2', 'AN3:7', 'CMP0_CMPIN0B:8']},
{ f: ['PA.4:0', 'TM04IOA:1', 'SIF5_SBI5:4', 'AN4:7', 'CMP0_CMPREF0A:8']},
{ f: ['PA.5:0', 'TM07IOA:1', 'SIF5_SBO5:4', 'AN5:7', 'CMP0_CMPIN0A:8']},
Expand Down Expand Up @@ -432,22 +432,22 @@ NUTOOL_PIN.g_cfg_regDescriptions.IOPAMD = '0x400042A0';
NUTOOL_PIN.g_cfg_regDescriptions.IOPBMD = '0x400042B0';

NUTOOL_PIN.g_cfg_unusedGPIO = {
'KM1M0DF02N/K(LQFP100_D0x(14*14))': {
'KM1M0DF02N/K(LQFP100_D0x)': {
'ALL': []
},
'KM1M0DF03N/K(LQFP80_D0x(12*12))': {
'KM1M0DF03N/K(LQFP80_D0x)': {
'ALL': []
},
'KM1M0DF13N/K(LQFP80_D1x(12*12))': {
'KM1M0DF13N/K(LQFP80_D1x)': {
'ALL': []
},
'KM1M0DF04N/K(TQFP64_D0x(10*10))': {
'KM1M0DF04N/K(TQFP64_D0x)': {
'ALL': []
}
};

NUTOOL_PIN.g_cfg_OrCAD = {
"LQFP64_D0x(14*14)": [
"LQFP64_D0x": [
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
Expand All @@ -456,7 +456,7 @@ NUTOOL_PIN.g_cfg_OrCAD = {
'', '', '', '', '', '', '', '', '', '',
'', '', '', ''
],
"TQFP64_D0x(10*10)": [
"TQFP64_D0x": [
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
Expand All @@ -467,7 +467,7 @@ NUTOOL_PIN.g_cfg_OrCAD = {
]
};
NUTOOL_PIN.g_cfg_WPPin = ['P0.0', 'P0.1'];
// [Workaround] Sometime NUTOOL_PIN.g_cfg_WPPin will be reset.
// [Workaround] Sometimes NUTOOL_PIN.g_cfg_WPPin will be reset.
setTimeout(function() {
NUTOOL_PIN.g_cfg_WPPin = ['P0.0', 'P0.1'];
}, 100);
Expand Down
52 changes: 16 additions & 36 deletions src/NUC_KM1M0D0F_80_Content.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,12 @@
NUTOOL_PIN.g_cfg_chips = [
{ name: "KM1M0DF02N/K", pkg: "LQFP100_D0x(14*14)" },
{ name: "KM1M0DF03N/K", pkg: "LQFP80_D0x(12*12)" },
{ name: "KM1M0DF13N/K", pkg: "LQFP80_D1x(12*12)" },
{ name: "KM1M0DF04N/K", pkg: "TQFP64_D0x(10*10)" }
{ name: "KM1M0DF02N/K", pkg: "LQFP100_D0x" },
{ name: "KM1M0DF03N/K", pkg: "LQFP80_D0x" },
{ name: "KM1M0DF13N/K", pkg: "LQFP80_D1x" },
{ name: "KM1M0DF04N/K", pkg: "TQFP64_D0x" }
];

NUTOOL_PIN.g_cfg_pkgs = {
"LQFP80_D0x(14*14)": [
'PA.0', 'PA.1', 'PA.2', 'PA.3', 'PA.4', 'PA.5', 'PA.6', 'PA.7', 'RON', 'NDMOD',
'NRST', 'P9.0', 'P9.1', 'VSS', 'P2.5', 'P2.6', 'VDD', 'BOOT', 'VOUT12', 'VOUT33',
'VDD', 'VSS', 'P0.0', 'P0.1', 'P0.2', 'P0.3', 'P0.4', 'P0.5', 'P0.6', 'P0.7',
'P2.0', 'P2.1', 'P2.2', 'P2.3', 'P2.4', 'P8.7', 'P8.6', 'P8.5', 'P8.4', 'P8.3',
'P8.2', 'P8.1', 'P8.0', 'P7.7', 'P7.6', 'P7.5', 'P7.4', 'P7.3', 'P7.2', 'P7.1',
'P7.0', 'P6.7', 'P6.6', 'P6.5', 'P6.4', 'P6.3', 'P6.2', 'P5.0', 'P5.1', 'P5.2',
'P5.3', 'P5.4', 'P5.5', 'P5.6', 'P5.7', 'P4.7', 'P4.6', 'P4.5', 'P4.4', 'P4.3',
'P3.5', 'P3.4', 'P3.3', 'P9.2', 'P9.3', 'P9.4', 'PB.3', 'PB.2', 'PB.1', 'PB.0'
],
"LQFP80_D0x(12*12)": [
"LQFP80_D0x": [
'PA.0', 'PA.1', 'PA.2', 'PA.3', 'PA.4', 'PA.5', 'PA.6', 'PA.7', 'RON', 'NDMOD',
'NRST', 'P9.0', 'P9.1', 'VSS', 'P2.5', 'P2.6', 'VDD', 'BOOT', 'VOUT12', 'VOUT33',
'VDD', 'VSS', 'P0.0', 'P0.1', 'P0.2', 'P0.3', 'P0.4', 'P0.5', 'P0.6', 'P0.7',
Expand Down Expand Up @@ -102,10 +92,10 @@ NUTOOL_PIN.g_cfg_gpios = [
{ f: ['P7.7:0', 'SIF1_SBT1B:4', 'KEY7:10']},

{ f: ['P8.0:0', 'SDO0:1', 'PWM0_PWM0A:2']},
{ f: ['P8.1:0', 'SDO1:1', 'PWM0_NPWM0A:2', 'PWM0_PWM1A:2']},
{ f: ['P8.2:0', 'SDO2:1', 'PWM0_PWM1A:2', 'PWM0_PWM2A:2']},
{ f: ['P8.3:0', 'SDO3:1', 'PWM0_NPWM1A:2', 'PWM0_NPWM0A:2']},
{ f: ['P8.4:0', 'SDO4:1', 'PWM0_PWM2A:2', 'PWM0_NPWM1A:2']},
{ f: ['P8.1:0', 'SDO1:1', 'PWM0_NPWM0A:2']},
{ f: ['P8.2:0', 'SDO2:1', 'PWM0_PWM1A:2']},
{ f: ['P8.3:0', 'SDO3:1', 'PWM0_NPWM1A:2']},
{ f: ['P8.4:0', 'SDO4:1', 'PWM0_PWM2A:2']},
{ f: ['P8.5:0', 'SDO5:1', 'PWM0_NPWM2A:2']},
{ f: ['P8.6:0', 'SDO6:1', 'PWM0_PWMBCSTA:2']},
{ f: ['P8.7:0', 'SDO7:1', 'TM15IOC:2']},
Expand All @@ -114,7 +104,7 @@ NUTOOL_PIN.g_cfg_gpios = [
{ f: ['P9.1:0', 'XO:7']},
{ f: ['P9.2:0', 'SIF4_SBC4B:4', 'AN14:7']},
{ f: ['P9.3:0', 'AN13:7']},
{ f: ['P9.4:0', 'AN12:1', 'DAC0_DA0OUT1:1', 'CMP0_CMPREF0B:8', 'AN12:1', 'DAC0_DA0OUT1:1']},
{ f: ['P9.4:0', 'AN12:1', 'DAC0_DA0OUT1:1', 'CMP0_CMPREF0B:8']},
{ f: ['P9.5:0']},
{ f: ['P9.6:0']},
{ f: ['P9.7:0']},
Expand Down Expand Up @@ -443,32 +433,22 @@ NUTOOL_PIN.g_cfg_regDescriptions.IOPAMD = '0x400042A0';
NUTOOL_PIN.g_cfg_regDescriptions.IOPBMD = '0x400042B0';

NUTOOL_PIN.g_cfg_unusedGPIO = {
'KM1M0DF02N/K(LQFP100_D0x(14*14))': {
'KM1M0DF02N/K(LQFP100_D0x)': {
'ALL': []
},
'KM1M0DF03N/K(LQFP80_D0x(12*12))': {
'KM1M0DF03N/K(LQFP80_D0x)': {
'ALL': []
},
'KM1M0DF13N/K(LQFP80_D1x(12*12))': {
'KM1M0DF13N/K(LQFP80_D1x)': {
'ALL': []
},
'KM1M0DF04N/K(TQFP64_D0x(10*10))': {
'KM1M0DF04N/K(TQFP64_D0x)': {
'ALL': []
}
};

NUTOOL_PIN.g_cfg_OrCAD = {
"LQFP80_D0x(14*14)": [
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', ''
],
"LQFP80_D0x(12*12)": [
"LQFP80_D0x": [
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
Expand All @@ -480,7 +460,7 @@ NUTOOL_PIN.g_cfg_OrCAD = {
]
};
NUTOOL_PIN.g_cfg_WPPin = ['P0.0', 'P0.1'];
// [Workaround] Sometime NUTOOL_PIN.g_cfg_WPPin will be reset.
// [Workaround] Sometimes NUTOOL_PIN.g_cfg_WPPin will be reset.
setTimeout(function() {
NUTOOL_PIN.g_cfg_WPPin = ['P0.0', 'P0.1'];
}, 100);
Expand Down
50 changes: 15 additions & 35 deletions src/NUC_KM1M0D1F_Content.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,12 @@
NUTOOL_PIN.g_cfg_chips = [
{ name: "KM1M0DF02N/K", pkg: "LQFP100_D0x(14*14)" },
{ name: "KM1M0DF03N/K", pkg: "LQFP80_D0x(12*12)" },
{ name: "KM1M0DF13N/K", pkg: "LQFP80_D1x(12*12)" },
{ name: "KM1M0DF04N/K", pkg: "TQFP64_D0x(10*10)" }
{ name: "KM1M0DF02N/K", pkg: "LQFP100_D0x" },
{ name: "KM1M0DF03N/K", pkg: "LQFP80_D0x" },
{ name: "KM1M0DF13N/K", pkg: "LQFP80_D1x" },
{ name: "KM1M0DF04N/K", pkg: "TQFP64_D0x" }
];

NUTOOL_PIN.g_cfg_pkgs = {
"LQFP80_D1x(14*14)": [
'PA.0', 'PA.1', 'PA.2', 'PA.3', 'PA.4', 'PA.5', 'PA.6', 'PA.7', 'RON', 'BOOT',
'NDMOD', 'NRST', 'P9.1', 'P9.0', 'VSS', 'P2.5', 'P2.6', 'VDD', 'VOUT12', 'VOUT33',
'P0.0', 'P0.1', 'P0.2', 'P0.3', 'P0.4', 'P0.5', 'P0.6', 'P2.0', 'P2.1', 'P2.2',
'P2.3', 'P2.4', 'P1.0', 'P3.3', 'P3.4', 'P3.5', 'P4.3', 'P4.4', 'P4.5', 'P4.6',
'P4.7', 'P5.7', 'P5.6', 'P5.5', 'P5.4', 'P5.3', 'P5.2', 'P5.1', 'P5.0', 'P6.1',
'P6.2', 'P6.3', 'P6.4', 'P6.5', 'P6.6', 'P6.7', 'P7.0', 'P7.1', 'P7.2', 'P7.3',
'P7.4', 'P7.5', 'P7.6', 'P7.7', 'P8.0', 'P8.1', 'P8.2', 'P8.3', 'P8.4', 'P8.5',
'P8.6', 'P8.7', 'P9.2', 'P9.3', 'P9.4', 'P9.5', 'PB.3', 'PB.2', 'PB.1', 'PB.0'
],
"LQFP80_D1x(12*12)": [
"LQFP80_D1x": [
'PA.0', 'PA.1', 'PA.2', 'PA.3', 'PA.4', 'PA.5', 'PA.6', 'PA.7', 'RON', 'BOOT',
'NDMOD', 'NRST', 'P9.1', 'P9.0', 'VSS', 'P2.5', 'P2.6', 'VDD', 'VOUT12', 'VOUT33',
'P0.0', 'P0.1', 'P0.2', 'P0.3', 'P0.4', 'P0.5', 'P0.6', 'P2.0', 'P2.1', 'P2.2',
Expand Down Expand Up @@ -102,10 +92,10 @@ NUTOOL_PIN.g_cfg_gpios = [
{ f: ['P7.7:0', 'SIF1_SBT1B:4']},

{ f: ['P8.0:0', 'SDO0:1', 'PWM0_PWM0A:2']},
{ f: ['P8.1:0', 'SDO1:1', 'PWM0_NPWM0A:2', 'PWM0_PWM1A:2']},
{ f: ['P8.2:0', 'SDO2:1', 'PWM0_PWM1A:2', 'PWM0_PWM2A:2']},
{ f: ['P8.3:0', 'SDO3:1', 'PWM0_NPWM1A:2', 'PWM0_NPWM0A:2']},
{ f: ['P8.4:0', 'SDO4:1', 'PWM0_PWM2A:2', 'PWM0_NPWM1A:2']},
{ f: ['P8.1:0', 'SDO1:1', 'PWM0_NPWM0A:2']},
{ f: ['P8.2:0', 'SDO2:1', 'PWM0_PWM1A:2']},
{ f: ['P8.3:0', 'SDO3:1', 'PWM0_NPWM1A:2']},
{ f: ['P8.4:0', 'SDO4:1', 'PWM0_PWM2A:2']},
{ f: ['P8.5:0', 'SDO5:1', 'PWM0_NPWM2A:2', 'DAC0_DA0OUT0:7']},
{ f: ['P8.6:0', 'SDO6:1', 'PWM0_PWMBCSTA:2']},
{ f: ['P8.7:0', 'SDO7:1']},
Expand Down Expand Up @@ -425,32 +415,22 @@ NUTOOL_PIN.g_cfg_regDescriptions.IOPAMD = '0x400042A0';
NUTOOL_PIN.g_cfg_regDescriptions.IOPBMD = '0x400042B0';

NUTOOL_PIN.g_cfg_unusedGPIO = {
'KM1M0DF02N/K(LQFP100_D0x(14*14))': {
'KM1M0DF02N/K(LQFP100_D0x)': {
'ALL': []
},
'KM1M0DF03N/K(LQFP80_D0x(12*12))': {
'KM1M0DF03N/K(LQFP80_D0x)': {
'ALL': []
},
'KM1M0DF13N/K(LQFP80_D1x(12*12))': {
'KM1M0DF13N/K(LQFP80_D1x)': {
'ALL': []
},
'KM1M0DF04N/K(TQFP64_D0x(10*10))': {
'KM1M0DF04N/K(TQFP64_D0x)': {
'ALL': []
}
};

NUTOOL_PIN.g_cfg_OrCAD = {
"LQFP80_D1x(14*14)": [
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', ''
],
"LQFP80_D1x(12*12)": [
"LQFP80_D1x": [
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
'', '', '', '', '', '', '', '', '', '',
Expand All @@ -462,7 +442,7 @@ NUTOOL_PIN.g_cfg_OrCAD = {
]
};
NUTOOL_PIN.g_cfg_WPPin = ['P0.1', 'P0.2'];
// [Workaround] Sometime NUTOOL_PIN.g_cfg_WPPin will be reset.
// [Workaround] Sometimes NUTOOL_PIN.g_cfg_WPPin will be reset.
setTimeout(function() {
NUTOOL_PIN.g_cfg_WPPin = ['P0.1', 'P0.2'];
}, 100);
Expand Down
Loading

0 comments on commit 254568a

Please sign in to comment.