EmbDev.net

Forum: ARM programming with GCC/GNU tools Setup embedded work under Linux PC


Author: Raed Abusanad (raedbenz)
Posted on:

Rate this post
0 useful
not useful
Hi,,,

I have an embedded board with ARM7 LPC uC and my new PC is with Linux OS
- Ubuntu80.04.
I need to start embedded work. What are my options for compilers,
debugger, IDE, etc.. to install them on Linux PC? bcoz till now I used
to work with KEIL under Windows.

NOTE: I am not doing Embedded Linux

Thanks
Raed

Author: Clifford Slocombe (clifford)
Posted on:

Rate this post
0 useful
not useful
Raed Abu-sanad wrote:
> I need to start embedded work. What are my options for compilers,
> debugger, IDE, etc.. to install them on Linux PC? bcoz till now I used
> to work with KEIL under Windows.
>
> NOTE: I am not doing Embedded Linux

The obvious choice (and given the nature of this forum, the obvious
answer) is to use a GNU toolchain. Building a cross-toolchain from the
GNU source is not for the faint-hearted or impatient. A simpler (and
probably a safer) approach is to use a pre-build toolchain such as that
at http://www.codesourcery.com/gnu_toolchains/arm/por...

The 'Lite' in the title refers to the fact that these are command line
tools only - no IDE. Also you will find that they are target agnostic,
you won't get target specific header files or I/O simulators and the
like as you might with Keil. The headers you can build yourself, or use
examples from Martin Thomas's WinARM tools.

If you want an IDE, then you could use Eclipse amongst others. If using
Eclipse I suggest that you use EasyEclipse for C/C++
http://www.easyeclipse.org/site/distributions/cplusplus.html . However
to make it a truly integrated environment for embedded systems rather
than just a text editor and SVN front-end, you need to tweak it to get
the debugger and Flash programming to work with your hardware. One way
to do that is described here:
http://www.eetasia.com/ARTICLES/2007JUN/PDF/EEOL_2...


You may also find this useful
http://www.state-machine.com/arm/Building_bare-met...
The examples use an Atmel part, but much of it is relevant to the
LPC2xxx parts also (being an ARM7 core device). As always familiarity
with the user manual is essential. Free LPC2xxx specific information is
available at http://www.hitex.co.uk/download.html (select the "Insider's
Guides" link in the side-bar).

Of course you might find that the Keil tools run under WINE or you could
install Windows on a Virtual Machine.

Clifford

Author: Raed Abusanad (raedbenz)
Posted on:

Rate this post
0 useful
not useful
Hi Clifford

thanks for ur reply.
i just got eclipse on my Ubuntu PC.
could u please post an LED_blinking code (with the required headers,
makefiles, etc..)to be compiled on eclipse Linux, for ARM 23xx uC.

thanks

Author: Clifford Slocombe (clifford)
Posted on:

Rate this post
0 useful
not useful
Raed Abu-sanad wrote:
> Hi Clifford
>
> thanks for ur reply.
> i just got eclipse on my Ubuntu PC.
> could u please post an LED_blinking code (with the required headers,
> makefiles, etc..)to be compiled on eclipse Linux, for ARM 23xx uC.
>
> thanks

The target is the target. The host makes no difference to the target
code, so you can use the examples provided with the WinARM tools for
example. Or any of the projects at
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.