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:
commit
ce20340620
1 changed files with 4 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue