Hi,
Is any option like __flash in IAR to store data in the program memory instead of ram??... Want to store 300 bytes of data "uint16_t data[150]={0x3349, 0x4430...." and read it later. I'm trying think like that:
__flash uint6_t data[150].. code uint6_t data[150]..
But compiler don'r recognizes any...
Thanks
ZI = Zero-Initialized, i.e. the segment used for global variables that haven't been given an initial value. The C language standard requires all global variabls to have a known value before you get to main(), so the startup code have to zero-initialize variables without explicit assign.
To answer your question about the size of the ZI region - your map file should tell what the memory is used for. Do a quick check, and you will find out.