Menu

GoTo-Tutorial-Software

Jean-Etienne LAMIAUD

Controller software

To build the controller software, you will need to :

  • Install the AVR Ada environment (https://sourceforge.net/p/avr-ada/wiki/Home/) to build the executable files,
    • Apply patches for the GCC bugs 59772 (bad floating point constants in Ada) and 60991 (error in frame pointer update) before compiling.
    • Disregard the --disable-multilib option given by the AVR GCC build description on the AVR Ada wiki. A libgcc suited for the AT90USB1287 is necessary for this software.
    • AVR Ada does not build the AT90USB1287 Ada environment by itself. To activate it, add "at90usb1287" to the list of built MCUs in avr/avr_lib/Makefile
      MCU_LIST = $(PRIMARY_MCU_LIST) at90usb1287
  • Install SimulAVR (http://www.nongnu.org/simulavr/) to run the unit tests,
  • And install DFU-Programmer (http://dfu-programmer.sourceforge.net/) to flash the executable file.

Once everything is ready,

  • Get EQ Track sources from the Files.
  • From a shell, in the build folder, type the command make -f ../prod/Makefile.
  • If the AT90 USB Key device is connected, program it with the command make -f ../prod/Makefile program.

Back


Related

Wiki: GoTo-Tutorial

MongoDB Logo MongoDB