Do you have a question? Post it now! No Registration Necessary

Re: makefile for ColdFire
neither of your two previous questions have really made much sense.
snipped-for-privacy@gmail.com wrote:
>
> I'm looking for some Example Codes for MCF5282( ColdFire ). Will be
> great if someone can help me start off by sharing their codes here.
nearly any source code can be compiled for the Coldfire processor.
e.g. Hello World in C
#include <stdio.h>
main() {
printf ("Hello World!\n");
}

same applies for Makefiles, most correctly written makefiles will
compile and link code for a Coldfire too.
You just need to ensure you're running m68k-elf-gcc as your gcc.
You can either change the makefile manually to call this, or set it up in your
shell environment variables.
If you run a cross compiling build system, it does this for you already.
There are lots of these that work for coldfire processors already, including our
own snapgear linux, which i've already recommended to you.
regards,
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Damion de Soto --------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Damion de Soto --------------------------------------------------
We've slightly trimmed the long signature. Click to see the full one.
Site Timeline
- » Booting linux stops at 0xC0000xxx
- — Next thread in » Embedded Linux
-
- » MCF5282 Codes
- — Previous thread in » Embedded Linux
-
- » Addressing on I2C
- — Newest thread in » Embedded Linux
-
- » PCA9957 defektes SPI
- — The site's Newest Thread. Posted in » Electronics (German)
-