Skip to content

Commit

Permalink
[M2A23] Number of pins on QNF48 side should be 10 14 10 14.
Browse files Browse the repository at this point in the history
  • Loading branch information
CMWU authored and CMWU committed Sep 27, 2024
1 parent 58a7860 commit ee7d309
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
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.33.0003",
"version": "1.33.0004",
"description": "",
"main": "main.js",
"scripts": {
Expand Down
13 changes: 11 additions & 2 deletions src/NUC_M2A23_Content.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ NUTOOL_PIN.g_cfg_chips = [
];

NUTOOL_PIN.g_cfg_pkgs = {
"QFN48": [
"QFN48(PIN:D10R14U10L14)": [
'PB.5', 'PB.4', 'PB.3', 'PB.2', 'PB.1', 'PB.0', 'PA.11', 'PA.10', 'PA.9', 'PA.8',
'PF.5', 'PF.4', 'PF.3', 'PF.2', 'PA.7', 'PA.6', 'PA.5', 'PA.4', 'PA.3', 'PA.2',
'PA.1', 'PA.0', 'PF.15', 'nRESET', 'PF.0', 'PF.1', 'PC.5', 'PC.4', 'PC.3', 'PC.2',
Expand Down Expand Up @@ -337,6 +337,15 @@ NUTOOL_PIN.decidepackageNumber = function (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;

switch (NUTOOL_PIN.g_packageNumber) {
case 'QFN48':
NUTOOL_PIN.g_packageNumberIndex = "QFN48(PIN:D10R14U10L14)";
break;
default:
NUTOOL_PIN.g_packageNumberIndex = NUTOOL_PIN.g_packageNumber;
break;
}
partNumber = null;
partNumber_package = null;
};
2 changes: 1 addition & 1 deletion src/NUC_Pin_Configuration-terser.js

Large diffs are not rendered by default.

0 comments on commit ee7d309

Please sign in to comment.