Porting RTOS on LPC2148 - Step 3

Porting RTOS on LPC2148 - Step 3

As LPC2148 is a ARM based micro controller, you require GNU ARM tool chain for compiling the code. Eclipse is one platform which has compatibility for GCC tool chains. Why GCC is preferred by many is because it is open-source. emIDE is another IDE which comes with integrated GNU tool chain

Before going to know, we have to know what a compiler does? A compiler basically translates high level language to machine language. So, when you write a code in eclipse or any other IDE it is basically the compiler in the background that that converts it to downloadable format, .hex in our case.

One more thing to understand here is about the cross compiler. To understand this, let us assume that we are porting a code to embedded system running on Linux and let us assume the code is written in eclipse installed on windows system. To generate a executable code such that it runs on linux system, you must have a cross compiler.

Some of the tool chains/compilers that you can use are:

  • Yagarto
  • MinGW
For integrating YAGARTO to ECLIPSE, download YAGARTO from the following link:

Post a Comment

0 Comments