Skip to content

Commit

Permalink
config: Simplify WiFi & Bluetooth config options
Browse files Browse the repository at this point in the history
Removes redundant menu options, splits WiFi configuration out from
generic ESP32 configuration.
  • Loading branch information
projectgus committed Jan 10, 2017
1 parent a547918 commit 2e78b39
Show file tree
Hide file tree
Showing 8 changed files with 145 additions and 211 deletions.
29 changes: 7 additions & 22 deletions components/bt/Kconfig
Original file line number Diff line number Diff line change
@@ -1,41 +1,26 @@
menu "BT config"
visible if MEMMAP_BT

menu "Bluetooth"

config BT_ENABLED
bool
depends on ESP32_ENABLE_STACK_BT
help
This compiles in the low-level BT stack.
bool "Enable Bluetooth stack"

config BTC_TASK_STACK_SIZE
int "BT event (callback to application) task stack size"
int "Bluetooth event (callback to application) task stack size"
depends on BT_ENABLED
default 3072
help
This select btc task stack size

config BLUEDROID_MEM_DEBUG
bool "Bluedroid memory debug"
default no
depends on BT_ENABLED
default n
help
Bluedroid memory debug

#config BT_BTLE
# bool "Enable BTLE"
# depends on BT_ENABLED
# help
# This compiles BTLE support
#
#config BT_BT
# bool "Enable classic BT"
# depends on BT_ENABLED
# help
# This enables classic BT support

endmenu

# Memory reserved at start of DRAM for Bluetooth stack
config BT_RESERVE_DRAM
hex
default 0x10000 if MEMMAP_BT
default 0x10000 if BT_ENABLED
default 0
3 changes: 3 additions & 0 deletions components/bt/component.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#
# Component Makefile
#
ifdef CONFIG_BT_ENABLED

COMPONENT_ADD_INCLUDEDIRS := bluedroid/bta/include \
bluedroid/bta/sys/include \
Expand Down Expand Up @@ -71,3 +72,5 @@ COMPONENT_SRCDIRS := bluedroid/bta/dm \
.

COMPONENT_SUBMODULES += lib

endif
Loading

0 comments on commit 2e78b39

Please sign in to comment.