Wednesday, May 25, 2011

Toolchain Configuration

This process is refer from http://foxg20.acmesystems.it/doku.php?id=tutorial:eclipse.

My working environment is Windows 7 64 bits.
  • Eclipse
Download Eclipse C++ Developement Tools.  Either for win32 of  win64.  The installation is just unzip to folder like c:\eclipse.

  • Plug-in for GNU ARM compiler
Run eclipse.exe and select the workspace folder.  Then choose "Help | Install New Software..".
In "work with:" edit box, enter this url http://gnuarmeclipse.sourceforge.net/updates and then press Enter key.



And then select the CDT GNU Cross Development Tools and press Next button.

  • Install Codesourcery g++ lite (CodeSourcery CodeBench lite edition).
Go to Codesourcery web site to download Codesourcery CodeBench Lite Edition for ARM.



    Choose EABI for target OS to download.


    Select IA32 Windows Installer to download the file arm-none-eabi.exe.

    Run the executable to install compiler.
    As noted from the tutorial,


    When appears the message box Chose Install Folder provide a simple path like c:\codesourcery. Avoid to use the default one (on my Windows 7 PC the default value is C:\Program Files (x86)\CodeSourcery\Sourcery G++ Lite) because probably Eclipse can't manage it.

    • Create project
    When create c project, select the toolchains for "ARM Windows GCC(Sourcery G++ Lite)".

    No comments:

    Post a Comment