From e9f9d64b03f2f383f0c27b05e67c57d06a8bed33 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 10 Jun 2015 14:51:42 -0600 Subject: [PATCH] RAM functions should have noinline attribute --- arch/arm/src/common/up_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/common/up_internal.h b/arch/arm/src/common/up_internal.h index 3ebd150946..9fbfe5bd8f 100644 --- a/arch/arm/src/common/up_internal.h +++ b/arch/arm/src/common/up_internal.h @@ -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