summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be36554)
raw | patch | inline | side by side (parent: be36554)
author | M V Pratap Reddy <x0257344@ti.com> | |
Fri, 11 Dec 2020 16:54:57 +0000 (22:24 +0530) | ||
committer | Vishal Mahaveer <vishalm@ti.com> | |
Fri, 11 Dec 2020 19:35:20 +0000 (13:35 -0600) |
packages/ti/board/diag/button/src/button_test.c | patch | blob | history |
diff --git a/packages/ti/board/diag/button/src/button_test.c b/packages/ti/board/diag/button/src/button_test.c
index 66d9e235e73607e3d64430aba25253b83e33a7b7..bf14fed8c92178994faa30ab1ce3ee1203ef3d37 100755 (executable)
GPIO_init();
#elif defined(SOC_AM64X)
GPIO_init();
GPIO_init();
#elif defined(SOC_AM64X)
GPIO_init();
-
- GPIO_v0_HwAttrs gpioCfg;
- GPIO_socGetInitCfg(1, &gpioCfg);
- gpioCfg.baseAddr = CSL_MCU_GPIO0_BASE;
- GPIO_socSetInitCfg(1, &gpioCfg);
- GPIO_init();
#else
#if defined(SOC_TPR12)
GPIO_v2_updateConfig(&GPIO_v2_config);
#else
#if defined(SOC_TPR12)
GPIO_v2_updateConfig(&GPIO_v2_config);
#endif
/* Check if the board is EVM AM64X by comparing the string read from
EEPROM. */
#endif
/* Check if the board is EVM AM64X by comparing the string read from
EEPROM. */
- else if (strncmp("AM64-COMP", pBoardName, BOARD_NAME_LENGTH) == 0U)
+ else if (strncmp("AM64-GPEVM", pBoardName, BOARD_NAME_LENGTH) == 0U)
{
pBoardKeyPad->buttonSet = 1;
{
pBoardKeyPad->buttonSet = 1;
- pBoardKeyPad->scnKeyNum = 2;
+ pBoardKeyPad->scnKeyNum = 1;
pBoardKeyPad->pwrKeyNum = 1;
pBoardKeyPad->pwrKeyIdx = 0;
buttonStart[0]=5;
pBoardKeyPad->pwrKeyNum = 1;
pBoardKeyPad->pwrKeyIdx = 0;
buttonStart[0]=5;
/* Update the GPIO data for keypad inputs. */
KeyScn[0].instance=1;
KeyScn[0].pin=43;
/* Update the GPIO data for keypad inputs. */
KeyScn[0].instance=1;
KeyScn[0].pin=43;
-
- KeyScn[1].instance=0;
- KeyScn[1].pin=6;
}
else
{
}
else
{