CRP linker script generation

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

CRP linker script generation

1,019件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jdupre on Fri Feb 14 14:14:14 MST 2014
How is the CRP code generated for the linker script when CRP is checked?  Is it user editable?   I'd like to modify it to throw a warning when CRP is enabled and CRP_WORD != 0xFFFFFFFF
0 件の賞賛
返信
3 返答(返信)

990件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri Feb 21 12:39:00 MST 2014
Probably the simplest way to obtain a warning is to modify the crp.c file generated by the project wizards to use a #warning

Alternatively, you could use a linker script template and replace the "/* INSERT CRP */" with whatever you require.

Regards,
LPCXpresso Support
0 件の賞賛
返信

990件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jdupre on Fri Feb 21 12:18:41 MST 2014
I know how to use the existing CRP support.  I was asking about customizing it.  Is there any access to the scripts(?) (or is it all "hard-coded?) that generate the different sections that are fed to the linker template?  Or is modifying the linker template the only customization that an end-user can do?

Thanks,

- Joe
0 件の賞賛
返信

990件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri Feb 14 15:41:03 MST 2014
For details on LPCXpresso's CRP support, see:

http://www.lpcware.com/content/faq/lpcxpresso/code-read-protect-crp

Regards,
LPCXpresso Support
0 件の賞賛
返信