From a7c149f8dc7a488e3a136757900e57b69014ba88 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Sun, 29 Mar 2026 12:50:59 +0200 Subject: [PATCH] fix(esp32c3): map missing IRAM sections in linker script Adds `.coexiram*`, `.wifiorslpiram*`, and `.iram1*` to the main `.iram` segment in `esp32c3.ld`. This resolves the "Invalid image block, can't boot" error on the ESP32-C3 by ensuring these precompiled ESP-IDF blob sections are correctly aligned in memory. Signed-off-by: deadprogram --- targets/esp32c3.ld | 3 +++ 1 file changed, 3 insertions(+) diff --git a/targets/esp32c3.ld b/targets/esp32c3.ld index a5c09182a..5fe8cc89d 100644 --- a/targets/esp32c3.ld +++ b/targets/esp32c3.ld @@ -132,6 +132,9 @@ SECTIONS *(.wifi0iram*) *(.wifislpiram*) *(.wifirxiram*) + *(.wifiorslpiram*) + *(.iram1*) + *(.coexiram*) __init_start = .; *(.init) __init_end = .;