mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-16 20:52:57 +08:00
move init_data from .text to .rodata.dram section (#1643)
This commit is contained in:
parent
11ded3fc9a
commit
ea7ad21318
@ -37,7 +37,7 @@ extern const uint32_t init_data[];
|
||||
extern const uint32_t init_data_end[];
|
||||
__asm__(
|
||||
/* Place in .text for same reason as user_start_trampoline */
|
||||
".section \".text\"\n"
|
||||
".section \".rodata.dram\"\n"
|
||||
".align 4\n"
|
||||
"init_data:\n"
|
||||
".incbin \"" ESP_INIT_DATA_DEFAULT "\"\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user