summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluhuadong <[email protected]>2020-01-17 18:59:12 +0800
committerluhuadong <[email protected]>2020-01-17 18:59:12 +0800
commit779feb5cd48ff7f2abf637d5aa51052fc40efb66 (patch)
treefceec4037546c2051868e19f830d5ad999df670c
parent54814c42e7d3073d3b386245a1f04a8a347d7636 (diff)
fix error 'undefined reference to entry' after menuconfig
-rw-r--r--bsp/stm32/stm32l4r5-st-nucleo/board/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsp/stm32/stm32l4r5-st-nucleo/board/Kconfig b/bsp/stm32/stm32l4r5-st-nucleo/board/Kconfig
index a227704de8..bc51589157 100644
--- a/bsp/stm32/stm32l4r5-st-nucleo/board/Kconfig
+++ b/bsp/stm32/stm32l4r5-st-nucleo/board/Kconfig
@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32L4R5ZI
bool
select SOC_SERIES_STM32L4
+ select RT_USING_COMPONENTS_INIT
+ select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"