config: Move WiFi & BT toggles to Components menu, same as Ethernet

This commit is contained in:
Angus Gratton 2017-01-10 16:39:43 +11:00
parent 2e78b397bc
commit 26d1a23308
3 changed files with 10 additions and 14 deletions

View file

@ -1,7 +1,7 @@
menu "Bluetooth"
config BT_ENABLED
bool "Enable Bluetooth stack"
menuconfig BT_ENABLED
bool "Bluetooth"
help
Select this option to enable Bluetooth stack and show the submenu with Bluetooth configuration choices.
config BTC_TASK_STACK_SIZE
int "Bluetooth event (callback to application) task stack size"
@ -17,8 +17,6 @@ config BLUEDROID_MEM_DEBUG
help
Bluedroid memory debug
endmenu
# Memory reserved at start of DRAM for Bluetooth stack
config BT_RESERVE_DRAM
hex

View file

@ -427,11 +427,11 @@ config ESP32_DEEP_SLEEP_WAKEUP_DELAY
endmenu
menu "WiFi"
config WIFI_ENABLED
bool "Enable WiFi stack"
menuconfig WIFI_ENABLED
bool "WiFi"
default y
help
Select this option to enable WiFi stack and show the submenu with WiFi configuration choices.
config SW_COEXIST_ENABLE
bool "Software controls WiFi/Bluetooth coexistence"
@ -492,5 +492,3 @@ config ESP32_WIFI_RX_BUFFER_NUM
Set the number of WiFi rx buffers. Each buffer takes approximately 1.6KB of RAM.
Larger number for higher throughput but more memory. Smaller number for lower
throughput but less memory.
endmenu

View file

@ -1,8 +1,8 @@
menuconfig ETHERNET
bool "Enable Ethernet"
bool "Ethernet"
default n
help
Enable this option to enable ethernet driver and show the menu with ethernet features.
Select this option to enable ethernet driver and show the submenu with ethernet features.
config DMA_RX_BUF_NUM
int "DMA Rx Buf Num"