Hello
Which processor are you targeting (HC08, HC12, Coldfire, MPC82xx, ...)?
Which version of CodeWarrior are you using? To retrieve that info:
- Start IDE
- Select Help -> "About Freescale CodeWarrior"
- Click on "Installed products"
The version number I am interested in are displayed on the top of the dialog.
CrasyCat
You can modify your linker script (.lcf file) and use __declspec in your code to place variables there.
See e.g. https://community.freescale.com/message/97982#97982
The linker script language is also described in the CW build tools user guide, reachable from online help.
I'd not want to create a section for every variable I want to place at specific address: I've read about the syntax:
int var @ 0x60000000 = 5;
(where 0x60000000 is the address where I want to place the var variable)
but it don't seem to be valid for the Kinetis architecture. Is there any similar syntax valid for the Kinetis architecture?
Many thanks
Teckna