CW+PE & keep_section question

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CW+PE & keep_section question

2,400件の閲覧回数
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 返信

686件の閲覧回数
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 件の賞賛
返信