|
|
|
@ -29,6 +29,9 @@ void board_init(void)
|
|
|
|
|
/* initialize the boards LED */ |
|
|
|
|
gpio_init(LED0_PIN, GPIO_OUT); |
|
|
|
|
|
|
|
|
|
/* initialize the CPU */ |
|
|
|
|
cpu_init(); |
|
|
|
|
#ifdef AUTO_INIT_LED0 |
|
|
|
|
/* The LED pin is also used for SPI, so we enable it
|
|
|
|
|
only if explicitly wanted by the user */ |
|
|
|
|
gpio_init(LED0_PIN, GPIO_OUT); |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|