forked from espressif/esp-idf
BT example: Enable BT stack in config by default
This commit is contained in:
@@ -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
|
||||
|
14
examples/04_ble_adv/sdkconfig.defaults
Normal file
14
examples/04_ble_adv/sdkconfig.defaults
Normal 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
|
Reference in New Issue
Block a user