CW+PE & keep_section question

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CW+PE & keep_section question

1,964 Views
admin
Specialist II
Hi all.
What can i do to keep constant section using Processor expert in codewarrior (for 56800)? If i don't use PE i can include following line in linker file

KEEP_SECTION {.const.data}

But with PE it's cleaned after project compilation.
Labels (1)
Tags (1)
0 Kudos
1 Reply

250 Views
ProcessorExpert
Senior Contributor III
Hello,
If you need to make any manual changes in the linker command file, you can disable its generation by settings the "Generate linker file" to "no" in the 'Build options' tab of the CPU bean inspector.
Then the linker command file won't be updated by PE anymore. However, this might be a problem if you will change some settings influencing the linker file afterwards. In that case you would need to backup the .cmd file with your changes, re-enable the linker file generation, regenerate the code and make the changes again.
best regards
Petr Hradsky
Processor Expert Support Team
UNIS
0 Kudos