diff options
Diffstat (limited to 'nuttx/configs/efm32-g8xx-stk')
-rw-r--r-- | nuttx/configs/efm32-g8xx-stk/README.txt | 4 | ||||
-rw-r--r-- | nuttx/configs/efm32-g8xx-stk/src/efm32-g8xx-stk.h | 8 | ||||
-rw-r--r-- | nuttx/configs/efm32-g8xx-stk/src/efm32_boot.c | 5 |
3 files changed, 15 insertions, 2 deletions
diff --git a/nuttx/configs/efm32-g8xx-stk/README.txt b/nuttx/configs/efm32-g8xx-stk/README.txt index bd0c549a4..523f4e20e 100644 --- a/nuttx/configs/efm32-g8xx-stk/README.txt +++ b/nuttx/configs/efm32-g8xx-stk/README.txt @@ -139,14 +139,14 @@ Configurations If this is a Windows native build, then configure.bat should be used instead of configure.sh: - configure.bat STM32F4Discovery\<subdir> + configure.bat efm32-g8xx-stk\<subdir> Where <subdir> is one of the following: nsh: --- Configures the NuttShell (nsh) located at apps/examples/nsh. The - Configuration enables the serial interfaces on USARTx. Support for + Configuration enables the serial interfaces on UART0. Support for builtin applications is enabled, but in the base configuration no builtin applications are selected (see NOTES below). diff --git a/nuttx/configs/efm32-g8xx-stk/src/efm32-g8xx-stk.h b/nuttx/configs/efm32-g8xx-stk/src/efm32-g8xx-stk.h index dd0aff5c0..0526cdac0 100644 --- a/nuttx/configs/efm32-g8xx-stk/src/efm32-g8xx-stk.h +++ b/nuttx/configs/efm32-g8xx-stk/src/efm32-g8xx-stk.h @@ -75,4 +75,12 @@ * Public Function Prototypes ****************************************************************************/ +/**************************************************************************** + * Name: board_led_initialize + ****************************************************************************/ + +#ifdef CONFIG_ARCH_LEDS +void board_led_initialize(void); +#endif + #endif /* __CONFIGS_EFM32_DK3650_INCLUDE_BOARD_H */ diff --git a/nuttx/configs/efm32-g8xx-stk/src/efm32_boot.c b/nuttx/configs/efm32-g8xx-stk/src/efm32_boot.c index b288be27b..bfb4022f8 100644 --- a/nuttx/configs/efm32-g8xx-stk/src/efm32_boot.c +++ b/nuttx/configs/efm32-g8xx-stk/src/efm32_boot.c @@ -59,6 +59,11 @@ void efm32_boardinitialize(void) { +#ifdef CONFIG_ARCH_LEDS + /* Configure on-board LEDs if LED support has been selected. */ + + board_led_initialize(); +#endif } /**************************************************************************** |