BT example: Enable BT stack in config by default

This commit is contained in:
Angus Gratton
2016-09-26 16:00:00 +10:00
parent 7058b01983
commit db183e653c
2 changed files with 20 additions and 0 deletions

View File

@@ -7,3 +7,9 @@ PROJECT_NAME := ble_adv
include $(IDF_PATH)/make/project.mk
# Copy some defaults into the sdkconfig by default
# so BT stack is enabled
sdkconfig: sdkconfig.defaults
$(Q) cp $< $@
menuconfig: sdkconfig

View File

@@ -0,0 +1,14 @@
# Override some defaults so BT stack is enabled
# in this example
#
# BT config
#
CONFIG_BT_ENABLED=y
#
# ESP32-specific config
#
CONFIG_ESP32_ENABLE_STACK_BT=y
# CONFIG_ESP32_ENABLE_STACK_NONE is not set
CONFIG_MEMMAP_BT=y