2019-10-01 14:47:37 +01:00
|
|
|
# Note this requires building with IDF 4.x
|
|
|
|
CONFIG_BT_ENABLED=y
|
|
|
|
CONFIG_BTDM_CTRL_MODE_BLE_ONLY=y
|
|
|
|
CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=
|
|
|
|
CONFIG_BTDM_CTRL_MODE_BTDM=
|
2019-10-14 13:40:04 +01:00
|
|
|
|
2019-10-01 14:47:37 +01:00
|
|
|
CONFIG_BT_NIMBLE_ENABLED=y
|
2019-10-14 13:40:04 +01:00
|
|
|
|
2019-10-14 05:39:40 +01:00
|
|
|
CONFIG_BT_NIMBLE_MAX_CONNECTIONS=4
|
2019-10-14 13:40:04 +01:00
|
|
|
|
|
|
|
# Pin to the same core as MP.
|
2020-08-19 01:46:09 +01:00
|
|
|
# Until we move to IDF 4.2+, we need NimBLE on core 0, and for synchronisation
|
|
|
|
# with the ringbuffer and scheduler MP needs to be on the same core.
|
|
|
|
# See https://github.com/micropython/micropython/issues/5489
|
|
|
|
CONFIG_BT_NIMBLE_PINNED_TO_CORE_0=y
|
|
|
|
CONFIG_BT_NIMBLE_PINNED_TO_CORE_1=n
|
|
|
|
CONFIG_BT_NIMBLE_PINNED_TO_CORE=0
|
2019-12-16 01:36:38 +00:00
|
|
|
|
|
|
|
# v3.3-only (renamed in 4.0)
|
|
|
|
CONFIG_BTDM_CONTROLLER_MODE_BLE_ONLY=y
|
|
|
|
CONFIG_BTDM_CONTROLLER_MODE_BR_EDR_ONLY=
|
|
|
|
CONFIG_BTDM_CONTROLLER_MODE_BTDM=
|
|
|
|
CONFIG_BLUEDROID_ENABLED=n
|
|
|
|
CONFIG_NIMBLE_ENABLED=y
|
|
|
|
CONFIG_NIMBLE_MAX_CONNECTIONS=4
|
|
|
|
CONFIG_NIMBLE_PINNED_TO_CORE_0=n
|
|
|
|
CONFIG_NIMBLE_PINNED_TO_CORE_1=y
|