2023-05-09 09:52:54 +10:00
|
|
|
CONFIG_BT_NIMBLE_LOG_LEVEL_ERROR=y
|
2019-10-01 23:47:37 +10:00
|
|
|
CONFIG_BT_ENABLED=y
|
|
|
|
|
CONFIG_BT_NIMBLE_ENABLED=y
|
2023-05-09 09:52:54 +10:00
|
|
|
CONFIG_BT_CONTROLLER_ENABLED=y
|
2019-10-14 23:40:04 +11:00
|
|
|
|
2023-09-12 14:38:30 +02:00
|
|
|
CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME="MPY ESP32"
|
|
|
|
|
|
2019-10-14 15:39:40 +11:00
|
|
|
CONFIG_BT_NIMBLE_MAX_CONNECTIONS=4
|
2023-05-09 09:52:54 +10:00
|
|
|
|
|
|
|
|
# Put NimBLE on core 1, and for synchronisation
|
|
|
|
|
# with the ringbuffer and scheduler MP needs to be on the same core.
|
|
|
|
|
# MP on core 1 prevents interference with WiFi for time sensitive operations.
|
|
|
|
|
# Only on: ESP32, ESP32S2, ESP32S3
|
|
|
|
|
CONFIG_BT_NIMBLE_PINNED_TO_CORE_0=n
|
|
|
|
|
CONFIG_BT_NIMBLE_PINNED_TO_CORE_1=y
|
|
|
|
|
CONFIG_BT_NIMBLE_PINNED_TO_CORE=1
|
2024-02-15 23:03:29 +11:00
|
|
|
|
|
|
|
|
# Increase NimBLE task stack size from the default, because Python code
|
|
|
|
|
# (BLE IRQ handlers) will most likely run on this task.
|
|
|
|
|
CONFIG_BT_NIMBLE_TASK_STACK_SIZE=6144
|