Guest
#1170964
First, thank-you Martin Thomas for putting together this great collection of tools for the ARM. Thanks to your examples I quickly had an LED blinking on my hardware. I've done quite a bit of embedded programming but I'm not very familiar with the GCC compilation process. I've been using WinAVR for a while now and so most of my questions are about the differences between WinAVR and WinARM. From my understanding, when you start a new WinARM project you need to provide a startup file (crt0.S) and a linker script (such as LPC2106-ROM.ld), in addition to the makefile, source, and header files. How do the startup file and linker script differ from processor to processor or from project to project? In particular, I want to create a project using the LPC2103. Can I just copy the LPC2106-ROM.ld script and change the memory sizes to match the LPC2103 or is there more involved? Do I need to make any changes to the crt0.S file to make it work for this new processor? Do I need to make changes to this file to use various interrupts? Thanks for the help, Phil