This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Code Segment for Data

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

Parents
  • SHADOW_RAM_CONFIG_DATA_S
    is a structure name

    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?

    Far more likely that someone who was competent with the tools was capable of locating sections at specific addresses via a scatter file.

Reply
  • SHADOW_RAM_CONFIG_DATA_S
    is a structure name

    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?

    Far more likely that someone who was competent with the tools was capable of locating sections at specific addresses via a scatter file.

Children