diff options
Diffstat (limited to 'src/fmc-test')
-rw-r--r-- | src/fmc-test/src/main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fmc-test/src/main.c b/src/fmc-test/src/main.c index 872c182..69c5bb0 100644 --- a/src/fmc-test/src/main.c +++ b/src/fmc-test/src/main.c @@ -58,6 +58,7 @@ int test_fpga_address_bus(void); int main(void) //------------------------------------------------------------------------------ { + int i; // initialize hal HAL_Init(); @@ -67,6 +68,13 @@ int main(void) // initialize gpio MX_GPIO_Init(); + // Blink blue LED for six seconds to not upset the Novena at boot. + led_on(GPIO_PIN_LED_BLUE); + for (i = 0; i < 12; i++) { + HAL_Delay(500); + led_toggle(GPIO_PIN_LED_BLUE); + } + // initialize rng MX_RNG_Init(); |