소스 검색

Merge pull request #1507 from enkiller/dev

[components][drivers]Kconfig更新
aozima 7 년 전
부모
커밋
6be8da9464
1개의 변경된 파일18개의 추가작업 그리고 0개의 파일을 삭제
  1. 18 0
      components/drivers/Kconfig

+ 18 - 0
components/drivers/Kconfig

@@ -162,6 +162,24 @@ config RT_USING_WIFI
     bool "Using Wi-Fi network"
     default n
 
+    if RT_USING_WIFI
+        config RT_USING_WLAN_STA
+            bool "Using station mode"
+            default y
+
+        config RT_USING_WLAN_AP
+            bool "Using ap mode"
+            default n
+
+        config WIFI_DEVICE_STA_NAME
+            string "the wifi device name for station"
+            default "w0"
+
+        config WIFI_DEVICE_AP_NAME
+            string "the wifi device name for ap"
+            default "ap"
+    endif
+
 config RT_USING_AUDIO
     bool "Using Audio device drivers"
     default n