Custom linkage when using Processor Expert

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

Custom linkage when using Processor Expert

跳至解决方案
2,475 次查看
davidsherman
Senior Contributor I

I've been using a modified linker file on a project.  One thing that's a little painful is I have to keep "Freeze Code Generation" turned on to keep it from overwriting my linker file.  The other painful thing is if I have to make a change in Processor Expert, I have to enable code generation again, make a backup copy of my linker file, let it overwrite the linker file when it builds, let it fail to build because the linker doesn't know what to do with the sections I've defined, turn off the code generation, copy my linker file back over, then build again.  Is there some way to either tell Processor Expert to preserve the linker file, or add your own linker directives?

标签 (1)
0 项奖励
回复
1 解答
2,334 次查看
adriancano
NXP Employee
NXP Employee

Hi,

You need to set the Generate linker file to NO in the Build options tab of the CPU component.

linker file code generation.jpg


Hope this information can help you.

Best Regards,
Adrian Sanchez Cano
Technical Support Engineer
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,856 次查看
MESOLAndre
Contributor I

This option does not appear to exist anymore. 
How can I turn this off in S32 Design Studio for Power Architecture 2.1?

0 项奖励
回复
2,335 次查看
adriancano
NXP Employee
NXP Employee

Hi,

You need to set the Generate linker file to NO in the Build options tab of the CPU component.

linker file code generation.jpg


Hope this information can help you.

Best Regards,
Adrian Sanchez Cano
Technical Support Engineer
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,334 次查看
davidsherman
Senior Contributor I

Thank you!  Did not know about that setting.  That works perfectly!

0 项奖励
回复