Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change milkV duo pin mapping to physical mapping. #6

Open
erhnam opened this issue Oct 1, 2024 · 0 comments
Open

Change milkV duo pin mapping to physical mapping. #6

erhnam opened this issue Oct 1, 2024 · 0 comments

Comments

@erhnam
Copy link

erhnam commented Oct 1, 2024

Hi, I have been working with the milkv duo board and it has been difficult to understand the pin mapping.

I propose to change the physical nomenclature that appears in the datasheet. It is more understandable from the user's point of view.

I tried to create a branch and upload the changes but I don't have authorization, I add the new mapping.

static int map[] = {
/*| Pin  |   BCM  | GPIO LABEL	|	*/
/* --------------------------------- */
    88,   //  0 - XGPIOC[24] LED
    28,   //  1 - XGPIOA[28]
    29,   //  2 - XGPIOA[29]
    -1,   //  3 - N/A
    122,  //  4 - XGPIOA[26]
    121,  //  5 - XGPIOA[25]
    115,  //  6 - XGPIOA[19]
    116,  //  7 - XGPIOA[20]
    -1,   //  8 - N/A
    119,  //  9 - XGPIOA[23]
    118,  // 10 - XGPIOA[22]
    117,  // 11 - XGPIOA[21]
    114,  // 12 - XGPIOA[18]
    -1,   // 13 - N/A
    73,   // 14 - XGPIOC[9]
    74,   // 15 - XGPIOC[10]
    16,   // 16 - XGPIOA[16]
    17,   // 17 - XGPIOA[17]
    -1,   // 18 - N/A
    14,   // 19 - XGPIOA[14]
    15,   // 20 - XGPIOA[15]
    23,   // 21 - XGPIOA[23]
    24,   // 22 - XGPIOA[24]
    -1,   // 23 - N/A
    22,   // 24 - XGPIOA[22]
    25,   // 25 - XGPIOA[25]
    27,   // 26 - XGPIOA[27]
    26,   // 27 - XGPIOA[26] 
    -1,   // 28 - N/A
    100,  // 29 - PWR_GPIO[4]
    -1,   // 30 - N/A
    35,   // 31 - XGPIOB[3] ADC1
    38,   // 32 - XGPIOB[6] ADC2
};

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant