I'm reading OReilly embedded programming book. After reaching 2.7. Initialize the Hardware i have problem understanding things. i didn't understand some part about 2.7. and locating and linking. i was thinking maybe if i do it myself on my lpc1768 dev board i will understand it.
But i can't find anything after googling(i had no idea what to google! but still i googeled LPC GNU compile, etc), can anyone tell me where i can start compiling my blinky for my lpc1768 with bootloader/Learn about compiling and linking? i've already made tons of programs with keil, but it was with keil and it did half the stuff! i didn't even have to write header for it.
I mean expect locating there's nothing i don't know what is, but if you tell me to compile your blinky for your LPC1768 i just have no idea what to do! where to get startup code and etc.
Im planning on using the GNU Tools!
I also have to say that im a beginner, my only experience is with AVR which is completely different, there's no startup code, linker scripts or anything, you just write codes compile and upload with avrdude! i've also used keil which is almost the same!
Hello Karmagh,
LPCXpresso is an Eclipse-based IDE from NXP with gcc underneath that supports the LPC devices. Maybe you should start from there. Otherwise, there is the GCC-ARM-Embedded project that makes gcc available for ARM Cortex-M and Cortex-R targets.
Kind regards,
Christopher
The problem is i have no idea how to use GCC-ARM-Embedded. and the section on the book doesn't help me much.
Hello Kamhagh,
I have not experience with it either except using the compiler underneath Keil MDK. But you can ask questions about the tool here: https://answers.launchpad.net/gcc-arm-embedded
Thanks! I also need to know about linkers and etc, but i think i will just learn it on the way!