Question
CODE vs RO vs RW vs ZI-data
Hi there, dumb, dumb, dumb, dumb question: which of the above, as reported by my Keil MDK compiler, count against my program space and which count against my RAM? Does CODE+RO go into my program space, or just CODE?
Asking because I'm playing with techniques to get image data into my program, and found an example project that does this:
static const uint8_t pixelmap_ButtonVideo[] =
{
/*Pixel format: Alpha 8 bit, Red: 8 bit, Green: 8 bit, Blue: 8 bit*/
0x00, 0x00, 0x00, 0x00
...
}and the static const ends up going into my RO tally, and I'm embarrassed to say I'm not 100% sure where that goes.
Thanks very much!
