rp2040: Run all code from ram
Place all normal code into ram. This reduces the chance that rp2040 instruction cache misses could cause subtle timing issues. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
23c5b20f5b
commit
44e79e0c37
|
@ -31,8 +31,7 @@ SECTIONS
|
|||
_text_vectortable_start = .;
|
||||
KEEP(*(.vector_table))
|
||||
_text_vectortable_end = .;
|
||||
*(.text .text.*)
|
||||
*(.rodata .rodata*)
|
||||
*(.text.armcm_boot*)
|
||||
} > rom
|
||||
|
||||
. = ALIGN(4);
|
||||
|
@ -42,7 +41,9 @@ SECTIONS
|
|||
{
|
||||
. = ALIGN(4);
|
||||
_data_start = .;
|
||||
*(.text .text.*)
|
||||
*(.ramfunc .ramfunc.*);
|
||||
*(.rodata .rodata*)
|
||||
*(.data .data.*);
|
||||
. = ALIGN(4);
|
||||
_data_end = .;
|
||||
|
|
Loading…
Reference in New Issue