Просмотр исходного кода

[update] DEV_BUS default y if RT_USING_LWP

guozhanxin 3 лет назад
Родитель
Сommit
fa2381fbad
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      components/drivers/Kconfig

+ 2 - 1
components/drivers/Kconfig

@@ -517,7 +517,8 @@ endif
 
 config RT_USING_DEV_BUS
     bool "Using Device Bus device drivers"
-    default n
+    default y if RT_USING_LWP
+    default n if !RT_USING_LWP
 
 menuconfig RT_USING_WIFI
     bool "Using Wi-Fi framework"