Skip to content

Commit 954df2f

Browse files
committed
Disable IRAM optimization for WiFi
1 parent cecef8e commit 954df2f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+8
-14
lines changed

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ compiler.S.flags=-c -g3 -x assembler-with-cpp -MMD -mlongcalls
3535

3636
compiler.c.elf.cmd=xtensa-esp32-elf-gcc
3737
compiler.c.elf.flags=-nostdlib "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" -T esp32_out.ld -T esp32.project.ld -T esp32.rom.ld -T esp32.peripherals.ld -T esp32.rom.libgcc.ld -T esp32.rom.spiram_incompatible_fns.ld -u ld_include_panic_highint_hdl -u call_user_start_cpu0 -Wl,--gc-sections -Wl,-static -Wl,--undefined=uxTopUsedPriority -u __cxa_guard_dummy -u __cxx_fatal_exception
38-
compiler.c.elf.libs=-lgcc -lfatfs -lcore -lfr -lc_nano -lwpa_supplicant -lulp -ldl -lface_detection -lesp32 -llog -llwip -lmbedtls -lespnow -lprotobuf-c -ljsmn -lspi_flash -lnet80211 -lod -lesp_ringbuf -lnvs_flash -ltcpip_adapter -lesp_event -lbootloader_support -lcxx -lmesh -lexpat -lprotocomm -lsmartconfig_ack -lesp_https_server -lm -lsmartconfig -lvfs -lwps -lwpa -lxtensa-debug-module -lmdns -lbtdm_app -lrtc -lsoc -lbt -lwpa2 -lesp_adc_cal -lapp_trace -lspiffs -lnewlib -lesp32-camera -lesp_http_server -lesp-tls -lfreertos -lcoap -ljson -lasio -lmicro-ecc -lpp -lesp_websocket_client -lconsole -lhal -lopenssl -lheap -lespcoredump -ldetection -lnghttp -lapp_update -ldriver -lefuse -lesp_https_ota -lphy -lc -ldetection_cat_face -lfd -limage_util -lwifi_provisioning -lface_recognition -lethernet -lcoexist -lmqtt -llibsodium -lwear_levelling -lesp_http_client -lpthread -lfreemodbus -ltcp_transport -lfb_gfx -lpe -lsdmmc -lunity -lstdc++
38+
compiler.c.elf.libs=-lgcc -lopenssl -lbtdm_app -lfatfs -lwps -lcoexist -lwear_levelling -lesp_http_client -lprotobuf-c -lhal -lnewlib -ldriver -lbootloader_support -lpp -lfreemodbus -lmesh -lsmartconfig -ljsmn -lwpa -lethernet -lphy -lapp_trace -lconsole -lulp -lwpa_supplicant -lfreertos -lbt -lmicro-ecc -lesp32-camera -lcxx -lxtensa-debug-module -ltcp_transport -lod -lmdns -ldetection -lvfs -lpe -lesp_websocket_client -lespcoredump -lesp_ringbuf -lsoc -lcore -lfb_gfx -lsdmmc -llibsodium -lcoap -ltcpip_adapter -lprotocomm -lesp_event -limage_util -lc_nano -lesp-tls -lasio -lrtc -lspi_flash -lwpa2 -lwifi_provisioning -lesp32 -lface_recognition -lapp_update -lnghttp -ldl -lspiffs -lface_detection -lefuse -lunity -lesp_https_server -lespnow -lnvs_flash -lesp_adc_cal -llog -ldetection_cat_face -lsmartconfig_ack -lexpat -lm -lfr -lmqtt -lc -lheap -lmbedtls -llwip -lnet80211 -lesp_http_server -lpthread -ljson -lesp_https_ota -lfd -lstdc++
3939

4040
compiler.as.cmd=xtensa-esp32-elf-as
4141

tools/platformio-build.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
],
172172

173173
LIBS=[
174-
"-lgcc", "-lfatfs", "-lcore", "-lfr", "-lc_nano", "-lwpa_supplicant", "-lulp", "-ldl", "-lface_detection", "-lesp32", "-llog", "-llwip", "-lmbedtls", "-lespnow", "-lprotobuf-c", "-ljsmn", "-lspi_flash", "-lnet80211", "-lod", "-lesp_ringbuf", "-lnvs_flash", "-ltcpip_adapter", "-lesp_event", "-lbootloader_support", "-lcxx", "-lmesh", "-lexpat", "-lprotocomm", "-lsmartconfig_ack", "-lesp_https_server", "-lm", "-lsmartconfig", "-lvfs", "-lwps", "-lwpa", "-lxtensa-debug-module", "-lmdns", "-lbtdm_app", "-lrtc", "-lsoc", "-lbt", "-lwpa2", "-lesp_adc_cal", "-lapp_trace", "-lspiffs", "-lnewlib", "-lesp32-camera", "-lesp_http_server", "-lesp-tls", "-lfreertos", "-lcoap", "-ljson", "-lasio", "-lmicro-ecc", "-lpp", "-lesp_websocket_client", "-lconsole", "-lhal", "-lopenssl", "-lheap", "-lespcoredump", "-ldetection", "-lnghttp", "-lapp_update", "-ldriver", "-lefuse", "-lesp_https_ota", "-lphy", "-lc", "-ldetection_cat_face", "-lfd", "-limage_util", "-lwifi_provisioning", "-lface_recognition", "-lethernet", "-lcoexist", "-lmqtt", "-llibsodium", "-lwear_levelling", "-lesp_http_client", "-lpthread", "-lfreemodbus", "-ltcp_transport", "-lfb_gfx", "-lpe", "-lsdmmc", "-lunity", "-lstdc++"
174+
"-lgcc", "-lopenssl", "-lbtdm_app", "-lfatfs", "-lwps", "-lcoexist", "-lwear_levelling", "-lesp_http_client", "-lprotobuf-c", "-lhal", "-lnewlib", "-ldriver", "-lbootloader_support", "-lpp", "-lfreemodbus", "-lmesh", "-lsmartconfig", "-ljsmn", "-lwpa", "-lethernet", "-lphy", "-lapp_trace", "-lconsole", "-lulp", "-lwpa_supplicant", "-lfreertos", "-lbt", "-lmicro-ecc", "-lesp32-camera", "-lcxx", "-lxtensa-debug-module", "-ltcp_transport", "-lod", "-lmdns", "-ldetection", "-lvfs", "-lpe", "-lesp_websocket_client", "-lespcoredump", "-lesp_ringbuf", "-lsoc", "-lcore", "-lfb_gfx", "-lsdmmc", "-llibsodium", "-lcoap", "-ltcpip_adapter", "-lprotocomm", "-lesp_event", "-limage_util", "-lc_nano", "-lesp-tls", "-lasio", "-lrtc", "-lspi_flash", "-lwpa2", "-lwifi_provisioning", "-lesp32", "-lface_recognition", "-lapp_update", "-lnghttp", "-ldl", "-lspiffs", "-lface_detection", "-lefuse", "-lunity", "-lesp_https_server", "-lespnow", "-lnvs_flash", "-lesp_adc_cal", "-llog", "-ldetection_cat_face", "-lsmartconfig_ack", "-lexpat", "-lm", "-lfr", "-lmqtt", "-lc", "-lheap", "-lmbedtls", "-llwip", "-lnet80211", "-lesp_http_server", "-lpthread", "-ljson", "-lesp_https_ota", "-lfd", "-lstdc++"
175175
],
176176

177177
LIBSOURCE_DIRS=[

tools/sdk/bin/bootloader_dio_40m.bin

-128 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_dio_80m.bin

-144 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_dout_40m.bin

-128 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_dout_80m.bin

-144 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_qio_40m.bin

-128 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_qio_80m.bin

-128 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_qout_40m.bin

-128 Bytes
Binary file not shown.

tools/sdk/bin/bootloader_qout_80m.bin

-128 Bytes
Binary file not shown.

tools/sdk/include/config/sdkconfig.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@
245245
#define CONFIG_SPIFFS_GC_MAX_RUNS 10
246246
#define CONFIG_ARDUINO_RUN_CORE1 1
247247
#define CONFIG_ESP32_APPTRACE_DEST_NONE 1
248-
#define CONFIG_ESP32_WIFI_RX_IRAM_OPT 1
249248
#define CONFIG_HP_NANO1 1
250249
#define CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC 1
251250
#define CONFIG_MBEDTLS_SSL_PROTO_TLS1_2 1
@@ -393,7 +392,6 @@
393392
#define CONFIG_HD_NANO1 1
394393
#define CONFIG_BTDM_MODEM_SLEEP_MODE_ORIG 1
395394
#define CONFIG_ARDUHAL_LOG_DEFAULT_LEVEL_ERROR 1
396-
#define CONFIG_ESP32_WIFI_IRAM_OPT 1
397395
#define CONFIG_FATFS_API_ENCODING_ANSI_OEM 1
398-
#define CONFIG_ARDUINO_IDF_COMMIT "68b237fe5"
396+
#define CONFIG_ARDUINO_IDF_COMMIT "66d3783c8"
399397
#define CONFIG_ARDUINO_IDF_BRANCH "release/v3.3"

tools/sdk/ld/esp32.project.ld

+3-7
Large diffs are not rendered by default.

tools/sdk/lib/libapp_trace.a

-360 Bytes
Binary file not shown.

tools/sdk/lib/libapp_update.a

-528 Bytes
Binary file not shown.

tools/sdk/lib/libasio.a

-1.04 KB
Binary file not shown.

tools/sdk/lib/libbootloader_support.a

-3.25 KB
Binary file not shown.

tools/sdk/lib/libbt.a

-61.2 KB
Binary file not shown.

tools/sdk/lib/libcoap.a

-3.25 KB
Binary file not shown.

tools/sdk/lib/libconsole.a

-736 Bytes
Binary file not shown.

tools/sdk/lib/libcxx.a

-1.03 KB
Binary file not shown.

tools/sdk/lib/libdriver.a

-7.63 KB
Binary file not shown.

tools/sdk/lib/libefuse.a

-1.05 KB
Binary file not shown.

tools/sdk/lib/libesp-tls.a

-452 Bytes
Binary file not shown.

tools/sdk/lib/libesp32-camera.a

-2.74 KB
Binary file not shown.

tools/sdk/lib/libesp32.a

-11.3 KB
Binary file not shown.

tools/sdk/lib/libesp_adc_cal.a

-240 Bytes
Binary file not shown.

tools/sdk/lib/libesp_event.a

-824 Bytes
Binary file not shown.

tools/sdk/lib/libesp_http_client.a

-1.08 KB
Binary file not shown.

tools/sdk/lib/libesp_http_server.a

-2.08 KB
Binary file not shown.

tools/sdk/lib/libesp_https_ota.a

-396 Bytes
Binary file not shown.

tools/sdk/lib/libesp_https_server.a

-368 Bytes
Binary file not shown.

tools/sdk/lib/libesp_ringbuf.a

-276 Bytes
Binary file not shown.
-392 Bytes
Binary file not shown.

tools/sdk/lib/libespcoredump.a

-512 Bytes
Binary file not shown.

tools/sdk/lib/libethernet.a

-1.64 KB
Binary file not shown.

tools/sdk/lib/libexpat.a

-456 Bytes
Binary file not shown.

tools/sdk/lib/libface_detection.a

-196 Bytes
Binary file not shown.

tools/sdk/lib/libface_recognition.a

-460 Bytes
Binary file not shown.

tools/sdk/lib/libfatfs.a

-2.31 KB
Binary file not shown.

tools/sdk/lib/libfb_gfx.a

-136 Bytes
Binary file not shown.

tools/sdk/lib/libfreemodbus.a

-2.6 KB
Binary file not shown.

tools/sdk/lib/libfreertos.a

-2.74 KB
Binary file not shown.

tools/sdk/lib/libheap.a

-1.41 KB
Binary file not shown.

tools/sdk/lib/libimage_util.a

-208 Bytes
Binary file not shown.

tools/sdk/lib/libjsmn.a

-124 Bytes
Binary file not shown.

tools/sdk/lib/libjson.a

-268 Bytes
Binary file not shown.

tools/sdk/lib/liblibsodium.a

-11.9 KB
Binary file not shown.

tools/sdk/lib/liblog.a

-276 Bytes
Binary file not shown.

tools/sdk/lib/liblwip.a

-18.3 KB
Binary file not shown.

tools/sdk/lib/libmbedtls.a

-11.3 KB
Binary file not shown.

tools/sdk/lib/libmdns.a

-1.16 KB
Binary file not shown.

tools/sdk/lib/libmicro-ecc.a

-116 Bytes
Binary file not shown.

tools/sdk/lib/libmqtt.a

-1.13 KB
Binary file not shown.

tools/sdk/lib/libnewlib.a

-1.9 KB
Binary file not shown.

tools/sdk/lib/libnghttp.a

-4.45 KB
Binary file not shown.

tools/sdk/lib/libnvs_flash.a

-4.33 KB
Binary file not shown.

tools/sdk/lib/libopenssl.a

-1.34 KB
Binary file not shown.

tools/sdk/lib/libprotobuf-c.a

-180 Bytes
Binary file not shown.

tools/sdk/lib/libprotocomm.a

-3.32 KB
Binary file not shown.

tools/sdk/lib/libpthread.a

-820 Bytes
Binary file not shown.

tools/sdk/lib/libsdmmc.a

-1.91 KB
Binary file not shown.

tools/sdk/lib/libsmartconfig_ack.a

-364 Bytes
Binary file not shown.

tools/sdk/lib/libsoc.a

-2.67 KB
Binary file not shown.

tools/sdk/lib/libspi_flash.a

-1.42 KB
Binary file not shown.

tools/sdk/lib/libspiffs.a

-1.41 KB
Binary file not shown.

tools/sdk/lib/libtcp_transport.a

-1.57 KB
Binary file not shown.

tools/sdk/lib/libtcpip_adapter.a

-444 Bytes
Binary file not shown.

tools/sdk/lib/libulp.a

-560 Bytes
Binary file not shown.

tools/sdk/lib/libunity.a

-624 Bytes
Binary file not shown.

tools/sdk/lib/libvfs.a

-868 Bytes
Binary file not shown.

tools/sdk/lib/libwear_levelling.a

-1.84 KB
Binary file not shown.

tools/sdk/lib/libwifi_provisioning.a

-3.13 KB
Binary file not shown.

tools/sdk/lib/libwpa_supplicant.a

-18 KB
Binary file not shown.
-300 Bytes
Binary file not shown.

tools/sdk/sdkconfig

+2-2
Original file line numberDiff line numberDiff line change
@@ -457,8 +457,8 @@ CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_1=
457457
CONFIG_ESP32_WIFI_SOFTAP_BEACON_MAX_LEN=752
458458
CONFIG_ESP32_WIFI_MGMT_SBUF_NUM=32
459459
CONFIG_ESP32_WIFI_DEBUG_LOG_ENABLE=
460-
CONFIG_ESP32_WIFI_IRAM_OPT=y
461-
CONFIG_ESP32_WIFI_RX_IRAM_OPT=y
460+
CONFIG_ESP32_WIFI_IRAM_OPT=
461+
CONFIG_ESP32_WIFI_RX_IRAM_OPT=
462462

463463
#
464464
# PHY

0 commit comments

Comments
 (0)