i.MX6: LEDs were not working because board_autoled_initialize() was not being called

This commit is contained in:
Gregory Nutt 2016-05-17 08:10:49 -06:00
parent 4c08492c0f
commit 5d44fd6a00
2 changed files with 10 additions and 1 deletions

View File

@ -56,7 +56,11 @@ With this change, the NSH serial console works:
But there are still no timer interrupts. LEDs do not appear to be working.
2016-05-17: Timer interrupts now work. This turned out to be just a minor
bit setting error in the timer configuration.
bit setting error in the timer configuration. Timer appears to be too fast
be about a factor of three, however.
LEDs were not working simply because board_autoled_initialize() was not being
called in the board startup logic.
Platform Features
=================

View File

@ -80,6 +80,11 @@
void imx_board_initialize(void)
{
#ifdef CONFIG_ARCH_LEDS
/* Configure on-board LEDs if LED support has been selected. */
board_autoled_initialize();
#endif
}
/****************************************************************************