Merge pull request #339 from yosinski/master

Add .ramfunc attribute to flash_with_bootloader.ld to enable keeping functions in RAM
This commit is contained in:
Ha Thach 2024-07-18 17:57:17 +07:00 committed by GitHub
commit ce20340620
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 */