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
And was that supposed to be useful to the OP? What are you suggesting with it? that all structures go into the code segment 0x08? what I DID show (in the original post where you could not detect that SHADOW_RAM_CONFIG_DATA_S was a structure name) was that 'const' put the data in the code area, that, at least, should be obvious (to most)
Erik original post:
this one goes in the code segment
const SHADOW_RAM_CONFIG_DATA_S default_config =
that, at least, should be obvious (to most)
Yes, but the rest???
I'd guess you've never been a mentor.
Yes, but the rest??? to show that a sruct goes to code memory does not need to show the struct itself, WHAT REST?
I'd guess you've never been a mentor. sure have, very succesfully
Erik
to show that a sruct goes to code memory does not need to show the struct itself, WHAT REST?
To a beginner, including a struct without saying it's a struct may be misleading. Hence the comment of rest!
sure have, very succesfully
Mr Hubris strikes again!