I am trying to map a variable to given section that is defined in the linker file (attached : XPC560XB_flash.lcf).
In my code, I have two variables, one declared normally and the second should be written in a given section (called RamNoInit, where after SW reset and during startup, the values of this section should keep their variables)
the declaration of the variables is :
The declaration of the section in the linker file :
In the generated Map file, we have the variable "ubRamNoInit" is not mapped in the correct section:
and the "noinit" section is empty:
Do you have an idea why i have this problem ?
Do I declare correctly the variables ?
Do I need change something in the compilers options (attached : PA_XPC560XB_mwewrks_cfg.mak) ?
Original Attachment has been moved to: XPC560XB_flash.lcf.zip
Original Attachment has been moved to: PA_XPC560XB_mwerks_cfg.mak.zip