ext: silabs: rename ramfunc section to match Zephyr's
Functions which have to be located in RAM are placed by SiLabs library code in section '.ram'. Corresponding section used by Zephyr is called '.ramfunc'. This patch renames SiLabs naming to match Zephyr's. This solution was chosen over adding '.ram' function to Zephyr linker scripts not to pollute them. However, this patch needs to be reapplied every time SiLabs library version is updated. Fixes #13192 Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
This commit is contained in:
parent
743677d743
commit
abc394bd4d
|
@ -143,7 +143,7 @@ extern "C" {
|
|||
|
||||
#elif defined(__GNUC__)
|
||||
/* Simplicity Studio, Atollic and Vanilla armgcc */
|
||||
#define SL_RAMFUNC_DECLARATOR __attribute__ ((section(".ram")))
|
||||
#define SL_RAMFUNC_DECLARATOR __attribute__ ((section(".ramfunc")))
|
||||
#define SL_RAMFUNC_DEFINITION_BEGIN SL_RAMFUNC_DECLARATOR
|
||||
#define SL_RAMFUNC_DEFINITION_END
|
||||
|
||||
|
|
Loading…
Reference in a new issue