Linker file changes not sticking

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

Linker file changes not sticking

736 次查看
barbercolman
Contributor III

Using CW10.1 and MQX I have changed the intflash.lcf file and recompiled. After exiting CW and reentering the changes to the linker file have not stuck. This has happened twice. I think this a CW not a MQX issue. Any idea what is happening.

标签 (1)
0 项奖励
回复
1 回复

519 次查看
CarlFST60L
Senior Contributor II

I have made my own copy of the linker in the project directory and changed the project to use that Linker and never had a problem, maybe try that.

 

Copy the intial file, move it to you project directory, then, I put all mine in a folder called LCF, go to project properties and change the following

 

C/C++ Build > Settings > Tool Settings > (Cold Fiire Linker) > Linker Command File (.lcf)

change this to

 

${ProjDirPath}\LCF\MyLinkFile.lcf

 Obviously make this match your setup

 

0 项奖励
回复