Skip to content

Commit

Permalink
Added .ramfunc attribute to linker script to enable keeping functions…
Browse files Browse the repository at this point in the history
… in RAM.
  • Loading branch information
yosinski committed Dec 20, 2022
1 parent 0fd44a5 commit a6b4ae7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ SECTIONS
KEEP(*(.fini_array))
PROVIDE_HIDDEN (__fini_array_end = .);

. = ALIGN(4);
/* Keep .ramfunc functions in RAM */
KEEP(*(.ramfunc))

KEEP(*(.jcr*))
. = ALIGN(16);
/* All data end */
Expand Down

0 comments on commit a6b4ae7

Please sign in to comment.