Przeglądaj źródła

fix error 'undefined reference to entry' after menuconfig

luhuadong 5 lat temu
rodzic
commit
779feb5cd4
1 zmienionych plików z 2 dodań i 0 usunięć
  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
         bool
         select SOC_SERIES_STM32L4
+        select RT_USING_COMPONENTS_INIT
+        select RT_USING_USER_MAIN
         default y
 
     menu "Onboard Peripheral Drivers"