Hi all,
im new to this platform and am trying to port a program i was using with arduino to maple.
The program is something related to lcd display.
I have avoided use of pgmspace.h by using the declarations as suggested in http://leaflabs.com/docs/arm-gcc.html#switching-from-avr-gcc
The problem is the file depends on another file that holds an array :
unsigned char Song9[12*95] __FLASH__={
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
...,...,...
}
When i compile this i get this error:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '__FLASH__'
Please help me with this. And the array holds some char values.
Please explain how you store it in the Flash or along with the program itself (either way is ok).