mirror of
https://github.com/apache/nuttx.git
synced 2026-08-10 06:55:13 +00:00
RAM functions should have noinline attribute
This commit is contained in:
parent
cb1a6e7954
commit
ad2a529624
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ EXTERN uint32_t _ebss; /* End+1 of .bss */
|
|||
|
||||
#ifdef CONFIG_ARCH_RAMFUNCS
|
||||
|
||||
# define __ramfunc__ __attribute__ ((section(".ramfunc"),long_call))
|
||||
# define __ramfunc__ __attribute__ ((section(".ramfunc"),long_call,noinline))
|
||||
|
||||
/* Functions declared in the .ramfunc section will be packaged together
|
||||
* by the linker script and stored in FLASH. During boot-up, the start
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue