Defines:
#define IWRAM_FUNCTION __attribute__((section (".iwram"), long_call)) #define IWRAM_VARIABLE __attribute__((section (".iwram")))Usage:
const int somearray[] IWRAM_VARIABLE = { ... } void IWRAM_FUNCTION SomeFunction( ... ) { ... }I figured out that there's some more info on this over at tonc after I posted.
No comments:
Post a Comment