I am using PIC18F4550 with MPBALX IDE V2.26, Xc8 V1.32.
1. Putting string in ROM/flash: I have lots of strings in my code. I want to put those in flash.
When I use this "rom" keyword, error appears, but if I remove this keyword there is no error. But it places string in data ram, which I dont want. What is solution.
Error:
Few queries PIC18F4550, MPLABX
1. Putting string in ROM/flash: I have lots of strings in my code. I want to put those in flash.
When I use this "rom" keyword, error appears, but if I remove this keyword there is no error. But it places string in data ram, which I dont want. What is solution.
Error:
Code (Text):
- rom const char table[] = "fggx";
- source/global.c:14: warning: (374) missing basic type; int assumed
- source/global.c:14: error: (314) ";" expected...