esp32/boards: Enable BLE on all boards.
BLE was enabled by default on all boards in the existing make build. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
26b17fd28a
commit
da2b5fa1c1
@ -1,2 +1,6 @@
|
|||||||
set(SDKCONFIG_DEFAULTS boards/sdkconfig.base)
|
set(SDKCONFIG_DEFAULTS
|
||||||
|
boards/sdkconfig.base
|
||||||
|
boards/sdkconfig.ble
|
||||||
|
)
|
||||||
|
|
||||||
set(MICROPY_FROZEN_MANIFEST ${MICROPY_PORT_DIR}/boards/manifest.py)
|
set(MICROPY_FROZEN_MANIFEST ${MICROPY_PORT_DIR}/boards/manifest.py)
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
set(SDKCONFIG_DEFAULTS
|
set(SDKCONFIG_DEFAULTS
|
||||||
boards/sdkconfig.base
|
boards/sdkconfig.base
|
||||||
|
boards/sdkconfig.ble
|
||||||
boards/GENERIC_D2WD/sdkconfig.board
|
boards/GENERIC_D2WD/sdkconfig.board
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
set(SDKCONFIG_DEFAULTS
|
set(SDKCONFIG_DEFAULTS
|
||||||
boards/sdkconfig.base
|
boards/sdkconfig.base
|
||||||
|
boards/sdkconfig.ble
|
||||||
boards/GENERIC_OTA/sdkconfig.board
|
boards/GENERIC_OTA/sdkconfig.board
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
set(SDKCONFIG_DEFAULTS
|
set(SDKCONFIG_DEFAULTS
|
||||||
boards/sdkconfig.base
|
boards/sdkconfig.base
|
||||||
|
boards/sdkconfig.ble
|
||||||
boards/sdkconfig.spiram
|
boards/sdkconfig.spiram
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
set(SDKCONFIG_DEFAULTS
|
set(SDKCONFIG_DEFAULTS
|
||||||
boards/sdkconfig.base
|
boards/sdkconfig.base
|
||||||
|
boards/sdkconfig.ble
|
||||||
boards/sdkconfig.240mhz
|
boards/sdkconfig.240mhz
|
||||||
boards/sdkconfig.spiram
|
boards/sdkconfig.spiram
|
||||||
boards/TINYPICO/sdkconfig.board
|
boards/TINYPICO/sdkconfig.board
|
||||||
|
@ -45,3 +45,7 @@ CONFIG_ESP32_ULP_COPROC_ENABLED=y
|
|||||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
|
||||||
|
|
||||||
|
# To reduce iRAM usage
|
||||||
|
CONFIG_ESP32_WIFI_IRAM_OPT=n
|
||||||
|
CONFIG_ESP32_WIFI_RX_IRAM_OPT=n
|
||||||
|
@ -78,6 +78,7 @@ set(MICROPY_SOURCE_QSTR
|
|||||||
set(IDF_COMPONENTS
|
set(IDF_COMPONENTS
|
||||||
app_update
|
app_update
|
||||||
bootloader_support
|
bootloader_support
|
||||||
|
bt
|
||||||
driver
|
driver
|
||||||
esp32
|
esp32
|
||||||
esp_common
|
esp_common
|
||||||
|
@ -126,6 +126,12 @@
|
|||||||
#define MICROPY_PY_THREAD_GIL_VM_DIVISOR (32)
|
#define MICROPY_PY_THREAD_GIL_VM_DIVISOR (32)
|
||||||
|
|
||||||
// extended modules
|
// extended modules
|
||||||
|
#ifndef MICROPY_PY_BLUETOOTH
|
||||||
|
#define MICROPY_PY_BLUETOOTH (1)
|
||||||
|
#define MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE (1)
|
||||||
|
#define MICROPY_BLUETOOTH_NIMBLE (1)
|
||||||
|
#define MICROPY_BLUETOOTH_NIMBLE_BINDINGS_ONLY (1)
|
||||||
|
#endif
|
||||||
#define MICROPY_PY_UASYNCIO (1)
|
#define MICROPY_PY_UASYNCIO (1)
|
||||||
#define MICROPY_PY_UCTYPES (1)
|
#define MICROPY_PY_UCTYPES (1)
|
||||||
#define MICROPY_PY_UZLIB (1)
|
#define MICROPY_PY_UZLIB (1)
|
||||||
|
Loading…
Reference in New Issue
Block a user