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.

Linker script for 2541 based code



I have a custom app. We need to store some values at predefined address in the binary image. Linker script was changed to make this possible and we chose the last few byte of the fixed code bank to do this. However, this location seems to be overwritten by filler regions when I inspect the resulting map file.I added a #pragma location for the structure that needs to be stored at location 0x7FFA. But I don't see that section in the map file. Instead of that section, I see a Fill3 from 0x7ff8-0x7fff.