mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +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*)
|
||||
*(.wifislpiram*)
|
||||
*(.wifirxiram*)
|
||||
*(.wifiorslpiram*)
|
||||
*(.iram1*)
|
||||
*(.coexiram*)
|
||||
__init_start = .;
|
||||
*(.init)
|
||||
__init_end = .;
|
||||
|
||||
Reference in New Issue
Block a user