56F8xx Linker Command File

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

56F8xx Linker Command File

1,501件の閲覧回数
FredF
Contributor III

I need to modify the .cmd file in CW 8.2 for the 56F8367 to add a custom section for storing data in the program flash.  The code is working, but the modifications are lost when the project is rebuilt and the .cmd file is regenerated.  Is there a way to have PE add the required lines so that they do not have to be entered after each build?  The .p_Version location is included in the .cmd file by PE since it is defined as a memory area in the CPU bean.  

 

         .VersionCode :                     # Fixed Location of version number
        {
              * (.version)
        } > .p_Version

 

Thanks

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

559件の閲覧回数
trytohelp
NXP Employee
NXP Employee

Hi,

 

With PE you can add new memeory segment but in your case I think the better way will be to handle it manually.

In Processor Expert you can define if you want to build or not the cmd file.

We recommend you to disable this option.

By this way the cmd file will not be updated during the PE rebuild.

 

Option is in bean Inspector under Build Options.

In Generate Linker file, select no. 

 

Regards

Pascal

0 件の賞賛
返信