Skip to content

Commit 78e2d9b

Browse files
committed
Add esp32c6-no-ble variant.
1 parent 40812ba commit 78e2d9b

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

variants/esp32c6-no-ble/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# ESP32C6-NO-BLE
2+
3+
A variant of the ESP32C6 envelope that disables Bluetooth support to
4+
save RAM and flash space.
5+
6+
Bluetooth reserves memory even when not used. Use this variant if you
7+
do not need Bluetooth support.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
--- toit/toolchains/esp32c6/sdkconfig.defaults
2+
+++ synthesized/esp32c6-no-ble/sdkconfig.defaults
3+
@@ -11,17 +11,6 @@
4+
CONFIG_PARTITION_TABLE_CUSTOM=y
5+
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
6+
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE=y
7+
-CONFIG_BT_ENABLED=y
8+
-CONFIG_BT_NIMBLE_ENABLED=y
9+
-CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_DEFAULT=y
10+
-CONFIG_BT_NIMBLE_LOG_LEVEL_NONE=y
11+
-CONFIG_BT_NIMBLE_MAX_CONNECTIONS=2
12+
-CONFIG_BT_NIMBLE_MAX_BONDS=4
13+
-CONFIG_BT_NIMBLE_MAX_CCCDS=3
14+
-CONFIG_BT_NIMBLE_NVS_PERSIST=y
15+
-CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME="toit"
16+
-CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE=0x0
17+
-CONFIG_BT_NIMBLE_TRANSPORT_ACL_FROM_LL_COUNT=10
18+
CONFIG_I2S_ISR_IRAM_SAFE=y
19+
CONFIG_SPI_SLAVE_ISR_IN_IRAM=n
20+
CONFIG_UART_ISR_IN_IRAM=y

0 commit comments

Comments
 (0)