Commit ea7ad213 authored by Arnim Läuger's avatar Arnim Läuger Committed by Marcel Stör
Browse files

move init_data from .text to .rodata.dram section (#1643)

parent 11ded3fc
...@@ -37,7 +37,7 @@ extern const uint32_t init_data[]; ...@@ -37,7 +37,7 @@ extern const uint32_t init_data[];
extern const uint32_t init_data_end[]; extern const uint32_t init_data_end[];
__asm__( __asm__(
/* Place in .text for same reason as user_start_trampoline */ /* Place in .text for same reason as user_start_trampoline */
".section \".text\"\n" ".section \".rodata.dram\"\n"
".align 4\n" ".align 4\n"
"init_data:\n" "init_data:\n"
".incbin \"" ESP_INIT_DATA_DEFAULT "\"\n" ".incbin \"" ESP_INIT_DATA_DEFAULT "\"\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment