Section Type Conflict IWRAM data + code
Posted: Sat Mar 07, 2015 8:28 pm
Hello,
How should I go to put data and code in IWRAM ? I've done the following:
And I get:
Am I doing it wrong ?
Thank you.
How should I go to put data and code in IWRAM ? I've done the following:
Code: Select all
IWRAM_DATA static u32 s_frameCount;
IWRAM_CODE static void VBlank(void)
{
++s_frameCount;
}
Code: Select all
main.c:87:24: error: VBlank causes a section type conflict with s_frameCount
IWRAM_CODE static void VBlank(void)
^
main.c:12:23: note: 's_frameCount' was declared here
IWRAM_DATA static u32 s_frameCount;
Thank you.