mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
22 lines
569 B
Plaintext
22 lines
569 B
Plaintext
|
# Override some defaults so BT stack is enabled
|
||
|
# in this example
|
||
|
|
||
|
#
|
||
|
# BT config
|
||
|
#
|
||
|
CONFIG_BT_ENABLED=y
|
||
|
CONFIG_BTDM_CTRL_MODE_BLE_ONLY=y
|
||
|
CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=n
|
||
|
CONFIG_BTDM_CTRL_MODE_BTDM=n
|
||
|
CONFIG_BT_BLUEDROID_ENABLED=n
|
||
|
CONFIG_BT_NIMBLE_ENABLED=y
|
||
|
|
||
|
# Enable support for power management
|
||
|
CONFIG_PM_ENABLE=y
|
||
|
# Enable tickless idle mode
|
||
|
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y
|
||
|
# Set the tick rate at which FreeRTOS does pre-emptive context switching.
|
||
|
CONFIG_FREERTOS_HZ=1000
|
||
|
# Minimum number of ticks to enter sleep mode for
|
||
|
CONFIG_FREERTOS_IDLE_TIME_BEFORE_SLEEP=3
|