mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 09:00:23 +08:00
d014c82826
Instead, configure the default once at compile-time. This means the GAP name will no longer be set to default after re-initializing Bluetooth. Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>
17 lines
536 B
Plaintext
17 lines
536 B
Plaintext
CONFIG_BT_NIMBLE_LOG_LEVEL_ERROR=y
|
|
CONFIG_BT_ENABLED=y
|
|
CONFIG_BT_NIMBLE_ENABLED=y
|
|
CONFIG_BT_CONTROLLER_ENABLED=y
|
|
|
|
CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME="MPY ESP32"
|
|
|
|
CONFIG_BT_NIMBLE_MAX_CONNECTIONS=4
|
|
|
|
# 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
|