CW+PE & keep_section question

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CW+PE & keep_section question

2,397 次查看
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.
标签 (1)
标记 (1)
0 项奖励
回复
1 回复

683 次查看
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 项奖励
回复