Hello. At 10:04 2004-06-06, you wrote: >Hallo > >I got the newset version of the gnuarm toolchain installed under WINXP + >Cygwin. >I build the examples and downloaded it to the lpc2006 and it worked. > >But if i try to build the examples in another directory with my own >makefile the >resulting files are much smaller than the working hex files and they doesnt >work on the lpc. > >I do the following in my makefile: > > >Compiling: >arm-elf-gcc -mcpu=arm7tdmi -marm -c -o test2.o test2.c >Linking: >arm-elf-ld -Tlpc210x.ld -o test2.hex test2.o >Convert to Intel Hex: >arm-elf-objcopy -O ihex test2.hex >Download: >lpc21isp test2.hex com1 115200 14746 Is this *all* what your makefile does? How are you setting up your C environment? Regards. -- PabloBleyerKocik /"...I didn't want to be kissing Kevin Spacey. pbleyer / Come on! Lying there naked with rose petals?" @... /- Kirsten Dunst on turning down American Beauty
Message
Re: [lpc2000] Gnuarm Problems
2004-06-06 by Pablo Bleyer Kocik
Attachments
- No local attachments were found for this message.