/* banked memory access, general macros */ #define SECT_ATTR(NAME) __attribute__((section(NAME))) #define FAR_ATTR(NAME) __attribute__((far)) SECT_ATTR(NAME) #define SYS_ATTR(NAME) __attribute__((near)) SECT_ATTR(NAME) #define near __attribute__((near)) /* banked memory access: bank0 */ #define bank0 __attribute__((section(".expand")))