Compiling the Firmware - HexAirbot/HexNanoMWC_HEX GitHub Wiki
This is copied from http://flexbot.wikia.com/wiki/Compiling_The_Firmware
- Download the Arduino IDE (you should use the latest beta version)
- Download the Flexbot Source from Github (e.g. HexNanoMWC_HEX or HexNanoMWC_QUAD)
- Please note that the folder containing all files must have the same name as the main .ino file.
- Open the main file (e.g. HexNanoMWC_HEX.ino) with the Arduino IDE
- The files: def.h, config.h, Serial.ino, Output.ino, EEPROM.ino, Alarms.ino, RX.ino, Sensors.ino and IMU.ino MUST be in the same folder as HexNanoMWC_HEX.ino.
- Connect your Flexbot via USB
- Set the Board in your IDE to Arduino Leonardo
- Set the Programmer to USBtinyISP
- Select the correct COM Port (should start with tty on Linux and OSX)
- Click the verify and then the upload button