Browse Source

fix error 'undefined reference to entry' after menuconfig

luhuadong 5 years ago
parent
commit
779feb5cd4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      bsp/stm32/stm32l4r5-st-nucleo/board/Kconfig

+ 2 - 0
bsp/stm32/stm32l4r5-st-nucleo/board/Kconfig

@@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
     config SOC_STM32L4R5ZI
     config SOC_STM32L4R5ZI
         bool
         bool
         select SOC_SERIES_STM32L4
         select SOC_SERIES_STM32L4
+        select RT_USING_COMPONENTS_INIT
+        select RT_USING_USER_MAIN
         default y
         default y
 
 
     menu "Onboard Peripheral Drivers"
     menu "Onboard Peripheral Drivers"