Skip to content

Commit c493f1b

Browse files
committed
Always link coex with wifi. Shrink 2M C3
1 parent fec2046 commit c493f1b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

ports/espressif/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,7 @@ ifneq ($(IDF_TARGET),esp32p4)
699699
endif
700700
ifneq ($(CIRCUITPY_WIFI),0)
701701
BINARY_BLOBS += $(addprefix esp-idf/components/esp_wifi/lib/$(IDF_TARGET)/, $(BINARY_WIFI_BLOBS))
702+
BINARY_BLOBS += esp-idf/components/esp_coex/lib/$(IDF_TARGET)/libcoexist.a
702703
ifneq ($(IDF_TARGET),esp32c2)
703704
BINARY_BLOBS += $(addprefix esp-idf/components/esp_wifi/lib/$(IDF_TARGET)/, libmesh.a libwapi.a)
704705
endif
@@ -711,9 +712,6 @@ endif
711712
ESP_IDF_COMPONENTS_LINK = $(IDF_TARGET_ARCH) $(CHIP_COMPONENTS) app_update bootloader_support driver esp_driver_gpio esp_driver_gptimer esp_driver_i2c esp_driver_ledc esp_driver_spi esp_driver_uart efuse esp_adc esp_app_format esp_common esp_event esp_hw_support esp_mm esp_partition esp_pm esp_ringbuf esp_rom esp_system esp_timer freertos hal heap log newlib nvs_flash pthread soc spi_flash vfs esp_vfs_console
712713
ifneq ($(CIRCUITPY_WIFI),0)
713714
ESP_IDF_COMPONENTS_LINK += esp_coex esp_netif esp_security esp-tls esp_wifi lwip mbedtls mdns wpa_supplicant esp_phy
714-
ifneq ($(CIRCUITPY_BLEIO_NATIVE),0)
715-
BINARY_BLOBS += esp-idf/components/esp_coex/lib/$(IDF_TARGET)/libcoexist.a
716-
endif
717715
endif
718716
ifneq ($(CIRCUITPY_BLEIO_NATIVE),0)
719717
BLE_IMPL_esp32 := esp32

ports/espressif/boards/ai_thinker_esp32-c3s-2m/sdkconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
#
1010
# end of LWIP
1111

12+
#
13+
# Wireless Coexistence
14+
#
15+
# CONFIG_ESP_COEX_SW_COEXIST_ENABLE is not set
16+
# end of Wireless Coexistence
1217
# end of Component config
1318

1419
# end of Espressif IoT Development Framework Configuration

0 commit comments

Comments
 (0)