diff --git a/components/esp32/Kconfig b/components/esp32/Kconfig index 4cdf01000..c5d410f76 100644 --- a/components/esp32/Kconfig +++ b/components/esp32/Kconfig @@ -560,6 +560,14 @@ config ESP32_XTAL_FREQ endmenu +config NO_BLOBS + bool "No Binary Blobs" + depends on !BT_ENABLED + default n + help + If enabled, this disables the linking of binary libraries in the application build. Note + that after enabling this Wi-Fi/Bluetooth will not work. + menu Wi-Fi config SW_COEXIST_ENABLE diff --git a/components/esp32/component.mk b/components/esp32/component.mk index ee8e5c579..32876da0e 100644 --- a/components/esp32/component.mk +++ b/components/esp32/component.mk @@ -7,7 +7,9 @@ CFLAGS += -DBOOTLOADER_BUILD #endif COMPONENT_SRCDIRS := . hwcrypto -LIBS := core rtc net80211 pp wpa smartconfig coexist wps wpa2 phy coexist +ifndef CONFIG_NO_BLOBS +LIBS := core rtc net80211 pp wpa smartconfig coexist wps wpa2 phy +endif LINKER_SCRIPTS += esp32.common.ld esp32.rom.ld esp32.peripherals.ld