lpc11xx.ld +startup_ARMCM0

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

lpc11xx.ld +startup_ARMCM0

1,087 次查看
hajianik
Senior Contributor I

I'm looking for the following two files to be used with GCC TOOL CHAIN:

lpc11xx.ld +startup_ARMCM0.s

I'd like to use linker "provide" command to copy initialized variable from ROM to .data section in RAM in reset_handler function defined in the startup file.

If anyone has access to these files please let me know.

Regards,

Koorosh Hajiani

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

790 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Koorosh Hajiani,

Which MCU are you using? I would recommend you to use the LPCOpen examples as reference:

LPCOpen Software for LPC11XX|NXP 

For example the package for the LPCXpresso LPC1125 board comes with various examples to help you get stated, there you can find the corresponding *.ld and startup files:

pastedImage_2.png

Please notice that the linker script is autogenerated into the Debug/Release subdirectory of your project, in case you want to tweak this template for project specific requirements you have to place a local copy into your application project, take a look at this post that explains how to do it:

Linker script templates 


Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 项奖励
回复