Add IRAM attribute for IRAM loaded symbols, add to common FreeRTOS functions

Closes #7.

It'd be nice to change the linker script so .text is always linked to
IROM instead of needing to objcopy each compiled file. The sticking
point for this is libgcc & libhal, which have symbols in .text that need
to be loaded to IRAM.
This commit is contained in:
Angus Gratton 2015-06-08 17:54:46 +10:00
parent a476fb007e
commit 0dbb6d31a5
4 changed files with 12 additions and 10 deletions

View file

@ -30,4 +30,6 @@
#define INLINED inline static __attribute__((always_inline)) __attribute__((unused))
#define IRAM __attribute__((section(".iram1.text")))
#endif