diff options
Diffstat (limited to 'nuttx/configs/sam4s-xplained/src/sam_boot.c')
-rw-r--r-- | nuttx/configs/sam4s-xplained/src/sam_boot.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/configs/sam4s-xplained/src/sam_boot.c b/nuttx/configs/sam4s-xplained/src/sam_boot.c index 54d29053e..a302d3efb 100644 --- a/nuttx/configs/sam4s-xplained/src/sam_boot.c +++ b/nuttx/configs/sam4s-xplained/src/sam_boot.c @@ -67,9 +67,15 @@ void sam_boardinitialize(void) { - /* Configure on-board LEDs if LED support has been selected. */ +#ifdef CONFIG_ARCH_EXTSRAM0 + /* Configure and enable SRAM on board the SAM4S Xplained */ + + sam_sram_initialize(); +#endif #ifdef CONFIG_ARCH_LEDS + /* Configure on-board LEDs if LED support has been selected. */ + up_ledinit(); #endif } |