ESP32-P4 Revision 1.3 - Still no way to flash using ESP-IDF
Posted: Tue Mar 17, 2026 2:02 am
I have a few ESP32-P$ boards running a number of projects I built. Some of them need to be updated. But with the default hardware configuration my projects will compile OK but I can't flash the boards because the chip revision is not in the range v3.1 - v3.99.
If I change the Chip revision setting to revisions < 3.0 the projects won't build. I get the following errors"
Does anyone know a way around this problem or if there is likely to be a fix any time soon?
If I change the Chip revision setting to revisions < 3.0 the projects won't build. I get the following errors"
Code: Select all
-esp-elf/14.2.0/../../../../riscv32-esp-elf/bin/ld.exe: error: --enable-non-contiguous-regions discards section `.sdata.s_time_update_lock' from `esp-idf/esp_timer/libesp_timer.a(esp_timer_impl_common.c.obj)'
etc... etc... (Another 82kB of similar errors)
C:/Espressif/tools/riscv32-esp-elf/esp-14.2.0_20251107/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/14.2.0/../../../../riscv32-esp-elf/bin/ld.exe: error: --enable-non-contiguous-regions discards section `.sdata.__global_locale_ptr' from `C:/Espressif/tools/riscv32-esp-elf/esp-14.2.0_20251107/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/14.2.0/../../../../riscv32-esp-elf/lib/rv32imafc_zicsr_zifencei/ilp32f/no-rtti\libc.a(libc_a-locale.o)'
C:/Espressif/tools/riscv32-esp-elf/esp-14.2.0_20251107/riscv32-esp-elf/bin/../lib/gcc/riscv32-esp-elf/14.2.0/../../../../riscv32-esp-elf/bin/ld.exe: error: Total discarded sections size is 20486 bytes
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.