lpcware

LPCOpen can't work with arm-none-eabi-gcc toolchain

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Max Chen on Fri Jul 04 20:27:02 MST 2014
Hi All,

I try to compile an example, periph_ritimer, from lpcopen by arm-none-eabi-gcc toolchain,  no any error and and axf file is generated.But when I download it in my LCP-LINK2(as an evaluation board), nothing happen. I have modify the code let the led blink and it work when I compile the code
with lpcxpresso, but same code no work when I use arm-none-eabi-gcc.

I also try to debug it with jlink, the code can run to while(1) in main, this may mean no interrupt happen when compile by arm-none-eabi-gcc.

The attachment is the makefile and ld script, please some one help me.
Thank you.

Original Attachment has been moved to: periph_ritimer_makefile.zip

Outcomes