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:
parent
a476fb007e
commit
0dbb6d31a5
4 changed files with 12 additions and 10 deletions
|
@ -30,4 +30,6 @@
|
|||
|
||||
#define INLINED inline static __attribute__((always_inline)) __attribute__((unused))
|
||||
|
||||
#define IRAM __attribute__((section(".iram1.text")))
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue