2023-03-23 22:05:33 -04:00
|
|
|
# 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
|
2024-07-22 05:35:59 -04:00
|
|
|
CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=4000
|