@@ -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 \
@@ -262,7 +263,7 @@ LDFLAGS += \
262263 -Tesp32c3.rom.newlib-time.ld \
263264 -Tesp32c3.rom.version.ld \
264265 -Tesp32c3.rom.eco3.ld \
265- -Tesp32s3 .rom.bt_funcs.ld
266+ -Tesp32c3 .rom.bt_funcs.ld
266267
267268CHIP_COMPONENTS = \
268269 esp_driver_tsens
@@ -628,8 +629,12 @@ ifneq ($(CIRCUITPY_BLEIO),0)
628629 endif
629630
630631 ifeq ($(BLE_IMPL),libble)
631- BINARY_BLOBS += esp-idf/components/esp_phy/lib/$(IDF_TARGET)/libbtbb.a \
632- esp-idf/components/bt/controller/lib_$(IDF_TARGET)/$(IDF_TARGET)-bt-lib/libble_app.a
632+ BINARY_BLOBS += esp-idf/components/esp_phy/lib/$(IDF_TARGET)/libbtbb.a
633+ ifeq ($(IDF_TARGET),esp32c6)
634+ BINARY_BLOBS += esp-idf/components/bt/controller/lib_$(IDF_TARGET)/$(IDF_TARGET)-bt-lib/$(IDF_TARGET)/libble_app.a
635+ else
636+ BINARY_BLOBS += esp-idf/components/bt/controller/lib_$(IDF_TARGET)/$(IDF_TARGET)-bt-lib/libble_app.a
637+ endif
633638 endif
634639endif
635640ifneq ($(CIRCUITPY_ESPULP ) ,0)
0 commit comments