Skip to content

Commit

Permalink
Merge pull request #339 from yosinski/master
Browse files Browse the repository at this point in the history
Add .ramfunc attribute to flash_with_bootloader.ld to enable keeping functions in RAM
  • Loading branch information
hathach committed Jul 18, 2024
2 parents 6ed425f + a6b4ae7 commit ce20340
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 ce20340

Please sign in to comment.