We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, my application is utilizing almost all RAM.
Now i need to add a feature and for that i declare a 2D array:
static const char * states[][2] = { {"st10","st20"}, {"st11","st21"}, . . . }
I am using a chip with 32KB Ram. Without this new array memory consumption is as follows:
Program Size: Code=95100 RO-data=6428 RW-data=396 ZI-data=37728
once i add 17-th element in the array I get:
Error: L6220E: Execution region RW_IRAM1 size (32776 bytes) exceeds limit (32768 bytes)
Why do i get this error? Aren't static const arrays are stored only in flash memory?