Compiling the Firmware on Linux

  1. Go to Atmel's website and download the following packages:
    • Atmel AVR 8-bit and 32-bit Toolchain (3.4.2) - Header Files
    • Atmel AVR 8-bit Toolchain 3.4.3 - Linux
    • Atmel AVR 32-bit Toolchain 3.4.2 - Linux
  2. Extract the toolchains under /usr/local, then extract the headers to /usr/local/avr32/include. Make sure /usr/local/bin is in your PATH.
  3. Replace uc64d4.h with this patched version.
  4. Unpack and build mobilECG firmware sources.