Tool/software: Code Composer Studio
Hello
How can I store in flash memory
I have a large array that doesn't fit in ram's memory and I want to stare it in flash.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Hello
How can I store in flash memory
I have a large array that doesn't fit in ram's memory and I want to stare it in flash.
If values in the array change during program execution, then it cannot be in flash memory. If on the other hand, values in the array never change, then define it with the const keyword ...
const uint16_t AdcaResult0[] = { 100, 200, 300 /* and so on */ };
Then it will be allocated to flash memory.
Thanks and regards,
-George