Skip to content
Snippets Groups Projects
Commit 9bc1884e authored by David Sidrane's avatar David Sidrane Committed by Daniel Agar
Browse files

nxphlite-v3:Init and control Sensor reset pins in board init

parent 929c5d9b
No related branches found
No related tags found
No related merge requests found
......@@ -213,6 +213,10 @@ kinetis_boardinitialize(void)
/* configure LEDs */
board_autoled_initialize();
/* Reset Sensors */
kinetis_pinconfig(GPIO_GM_nRST);
kinetis_pinconfig(GPIO_A_RST);
/* configure ADC pins */
kinetis_pinconfig(GPIO_BAT_VSENS);
......@@ -271,7 +275,6 @@ kinetis_boardinitialize(void)
kinetis_pinconfig(GPIO_LED_D9);
kinetis_pinconfig(GPIO_LED_D10);
nxphlite_timer_initialize();
/* configure SPI interfaces */
......@@ -343,6 +346,11 @@ __EXPORT int board_app_initialize(uintptr_t arg)
# error platform is dependent on c++ both CONFIG_HAVE_CXX and CONFIG_HAVE_CXXINITIALIZE must be defined.
#endif
/* Release Reset pins on Sensors */
kinetis_gpiowrite(GPIO_GM_nRST, 1);
kinetis_gpiowrite(GPIO_A_RST, 0);
param_init();
/* configure the high-resolution time/callout interface */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment