mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-17 11:13:27 +00:00
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 <ron@hybridgroup.com>
This commit is contained in:
@@ -132,6 +132,9 @@ SECTIONS
|
|||||||
*(.wifi0iram*)
|
*(.wifi0iram*)
|
||||||
*(.wifislpiram*)
|
*(.wifislpiram*)
|
||||||
*(.wifirxiram*)
|
*(.wifirxiram*)
|
||||||
|
*(.wifiorslpiram*)
|
||||||
|
*(.iram1*)
|
||||||
|
*(.coexiram*)
|
||||||
__init_start = .;
|
__init_start = .;
|
||||||
*(.init)
|
*(.init)
|
||||||
__init_end = .;
|
__init_end = .;
|
||||||
|
|||||||
Reference in New Issue
Block a user