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

View file

@ -427,11 +427,11 @@ config ESP32_DEEP_SLEEP_WAKEUP_DELAY
endmenu endmenu
menu "WiFi" menuconfig WIFI_ENABLED
bool "WiFi"
config WIFI_ENABLED
bool "Enable WiFi stack"
default y default y
help
Select this option to enable WiFi stack and show the submenu with WiFi configuration choices.
config SW_COEXIST_ENABLE config SW_COEXIST_ENABLE
bool "Software controls WiFi/Bluetooth coexistence" 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. 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 Larger number for higher throughput but more memory. Smaller number for lower
throughput but less memory. throughput but less memory.
endmenu

View file

@ -1,8 +1,8 @@
menuconfig ETHERNET menuconfig ETHERNET
bool "Enable Ethernet" bool "Ethernet"
default n default n
help 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 config DMA_RX_BUF_NUM
int "DMA Rx Buf Num" int "DMA Rx Buf Num"