Skip to content

Commit 800802e

Browse files
authored
Merge pull request #9928 from tannewt/idf5.3.2
Update to IDF 5.3.2
2 parents 77b9880 + 60ada1d commit 800802e

File tree

6 files changed

+24
-9
lines changed

6 files changed

+24
-9
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
[submodule "ports/espressif/esp-idf"]
144144
path = ports/espressif/esp-idf
145145
url = https://github.com/adafruit/esp-idf.git
146-
branch = circuitpython-v5.3.1
146+
branch = circuitpython-v5.3.2
147147
[submodule "ports/espressif/esp-protocols"]
148148
path = ports/espressif/esp-protocols
149149
url = https://github.com/adafruit/esp-protocols.git

ports/espressif/Makefile

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ INC += \
7575
-isystem esp-idf/components/esp_hw_support/dma/include \
7676
-isystem esp-idf/components/esp_hw_support/include \
7777
-isystem esp-idf/components/esp_hw_support/include/soc \
78+
-isystem esp-idf/components/esp_hw_support/port/$(IDF_TARGET)/private_include \
7879
-isystem esp-idf/components/esp_mm/include \
7980
-isystem esp-idf/components/esp_netif/include \
8081
-isystem esp-idf/components/esp_partition/include \
@@ -245,6 +246,7 @@ CHIP_COMPONENTS = \
245246

246247
else ifeq ($(IDF_TARGET),esp32c2)
247248
LDFLAGS += \
249+
-Tesp32c2.rom.ble.ld \
248250
-Tesp32c2.rom.heap.ld \
249251
-Tesp32c2.rom.newlib.ld \
250252
-Tesp32c2.rom.version.ld \
@@ -261,7 +263,8 @@ LDFLAGS += \
261263
-Tesp32c3.rom.newlib.ld \
262264
-Tesp32c3.rom.newlib-time.ld \
263265
-Tesp32c3.rom.version.ld \
264-
-Tesp32c3.rom.eco3.ld
266+
-Tesp32c3.rom.eco3.ld \
267+
-Tesp32c3.rom.bt_funcs.ld
265268

266269
CHIP_COMPONENTS = \
267270
esp_driver_tsens
@@ -317,7 +320,8 @@ LDFLAGS += \
317320
-Tesp32s3.rom.newlib.ld \
318321
-Tesp32s3.rom.version.ld \
319322
-Tesp32s3.rom.systimer.ld \
320-
-Tesp32s3.rom.wdt.ld
323+
-Tesp32s3.rom.wdt.ld \
324+
-Tesp32s3.rom.bt_funcs.ld
321325

322326
CHIP_COMPONENTS = \
323327
esp_driver_tsens
@@ -626,8 +630,12 @@ ifneq ($(CIRCUITPY_BLEIO),0)
626630
endif
627631

628632
ifeq ($(BLE_IMPL),libble)
629-
BINARY_BLOBS += esp-idf/components/esp_phy/lib/$(IDF_TARGET)/libbtbb.a \
630-
esp-idf/components/bt/controller/lib_$(IDF_TARGET)/$(IDF_TARGET)-bt-lib/libble_app.a
633+
BINARY_BLOBS += esp-idf/components/esp_phy/lib/$(IDF_TARGET)/libbtbb.a
634+
ifeq ($(IDF_TARGET),esp32c6)
635+
BINARY_BLOBS += esp-idf/components/bt/controller/lib_$(IDF_TARGET)/$(IDF_TARGET)-bt-lib/$(IDF_TARGET)/libble_app.a
636+
else
637+
BINARY_BLOBS += esp-idf/components/bt/controller/lib_$(IDF_TARGET)/$(IDF_TARGET)-bt-lib/libble_app.a
638+
endif
631639
endif
632640
endif
633641
ifneq ($(CIRCUITPY_ESPULP),0)

ports/espressif/esp-idf

Submodule esp-idf updated 1621 files

ports/espressif/esp-idf-config/sdkconfig-esp32c2.defaults

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#
22
# Espressif IoT Development Framework Configuration
33
#
4+
# Compiler options
5+
#
6+
CONFIG_COMPILER_SAVE_RESTORE_LIBCALLS=y
7+
# end of Compiler options
48
#
59
# Component config
610
#

ports/espressif/esp-idf-config/sdkconfig-esp32c3.defaults

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#
22
# Espressif IoT Development Framework Configuration
33
#
4+
# Compiler options
5+
#
6+
CONFIG_COMPILER_SAVE_RESTORE_LIBCALLS=y
7+
# end of Compiler options
48
#
59
# Component config
610
#

ports/espressif/tools/update_sdkconfig.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,9 @@ def sym_default(sym):
139139
# to n or the symbol to m in those cases).
140140
if (
141141
sym.choice
142-
and not sym.choice.is_optional
143142
and sym.choice._selection_from_defaults() is sym
144-
and sym.orig_type is kconfiglib.core.BOOL
145-
and sym.tri_value == 2
143+
and sym.orig_type == kconfiglib.core.BOOL
144+
and sym.bool_value == 2
146145
):
147146
return True
148147

0 commit comments

Comments
 (0)