Compiling new eLua

= For Ubuntu 12.04 LTS =

Toolchain installation
Select either one.

ARM EABI
Based on https://github.com/jsnyder/arm-eabi-toolchain

CodeSourcery
Download free GCC toolchain: Sourcery G++ Lite 2011.03-42 for ARM EABI from Mentor Graphics as suggested in Develop for Cortex-M4. Follow the link on that page.

Install it:

Select during installation:
 * full installation
 * modify PATH

To get new PATH settings logout and login or if using bash shell you can execute:

eLua source downloading
Combine sources from two parts.

Build new firmware
Run scons build process.

Compiler emits elua_lua_stm32f407vg.bin, which is ready for flashing to board.