Monday, August 1, 2011

Installing GNU ARM Toolchain (Windows)

To install the GNU ARM toolchain in Windows, you will need Cygwin, a tool that lets you use a lot of Unix stuff.

Installing Cygwin
To install, download and run setup.exe. You won't need to select any packages yet, unless you are a UNSW ELEC2142 student. In this case, install the following packages:
make (under 'Devel')
expect (under 'Interpreters')
(If you have already installed Cygwin without these packages, just run setup.exe again.)
Installing the GNU ARM Toolchain

Download the latest Windows toolchain from http://gnuarm.com/. At time of writing, that means grabbing this file.

Run this file, and accept all defaults.

If you launch Cygwin, and type arm-elf- and then hit 'Tab' twice, you should see a list of 24 executable files.

That's all, folks!

2 comments:

  1. hi there, what i have tried installing the cygwin, but then i realize i forgot to istall those two packages, i tried to reinstall back but when it says select install packages i cant choose those two because its written n/a (not available might be),

    thank you

    ReplyDelete
  2. The two packages are not necessary to use the ARM tools. They are just helpful to assemble your program in less steps, and to create tests.
    However, I have yet to get the ELEC2142 Expect tests working under Cygwin.

    ReplyDelete