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
  • Ok. Sorry for the confusion, but the question:
    "Is any option like __flash in IAR to store data in the program memory instead of ram??"
    Can very much be read as: Does IAR have a function like __flash, to store data in the program memory?

    And believe me, there have been a number of people who have visited this form to explicitly ask for help with IAR.

Reply
  • Ok. Sorry for the confusion, but the question:
    "Is any option like __flash in IAR to store data in the program memory instead of ram??"
    Can very much be read as: Does IAR have a function like __flash, to store data in the program memory?

    And believe me, there have been a number of people who have visited this form to explicitly ask for help with IAR.

Children