hybridgroup / gort

Command Line Interface (CLI) for RobotOps

Home Page:http://gort.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compatibility with Arduino Due

golangdaddy opened this issue · comments

Please take a look at this as it is a confirmed issue.

Had to resort to Arduino IDE to load firmata.

thanks

The Due is based on an Atmel ARM chip, unlike all the previous Arduinos which use Atmel AVR architecture. avrdude is the command line utility for working with AVR chips. This is what gort uses currently.

Starting with the Due, the Arduino IDE uses a command line tool called bossac developed specifically for working with ARM-based boards like the Due. To add Due compatibility to gort would require using this.

Source is here: https://github.com/shumatech/BOSSA
Binaries are here: http://sourceforge.net/projects/b-o-s-s-a/files/1.2.1/
Documentation here: http://www.shumatech.com/web/products/bossa

I'm not sure exactly what command line options you need to flash a Due, but I'm playing around with this myself. If I work it out, I'll post here so that it can hopefully be integrated into gort.

If you have the Arduino IDE installed, you already have the binary somewhere on your system, since it's needed to upload through the IDE. For example on Mac it's: /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/bossac.

Bossa is available through apt-get, but not through brew, so maybe it would be best to redistribute the binaries as part of the gort pacakge, similar to how the Arduino IDE does it.

commented

5 years later... any news on that?