Skip to content

Software Compilation

Nemo157 edited this page Jul 28, 2011 · 11 revisions

Software Compilation

See software design for more details on the actual software

Compilers

This is just some background methods on getting arm-elf-gcc, newlib etc. installed.

Mac OSX

See Wim's gist for compiling arm-eabi-gcc

Ubuntu x86_64

Wim's gist might also work here. Else we can always fall back to gcc4.0.2 binaries found on GNU ARM

Note: The version in apt called arm-linux-eabi-gcc is not what we want. What this compiler is for is when you want arm binaries to run on a arm based platform with a Linux OS. What we have is no OS so want binaries that run on bare metal.

Ubuntu x86

Also use Wim's gist

Building

In the Software directory run make. This produces 5 elf files in the build directory, one for each board.

Programming

Using OpenOCD?