Pages: [1]   Go Down
Author Topic: How to manually compile and upload a sketch to the Due  (Read 459 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've used a Uno before, and had a pretty smooth toolchain setup based on Ino:  I would edit my sketch on VIM, and then simply run "ino build", "ino upload", and "ino serial".

I've now got a Due, which Ino does not support yet.  Therefore I must find an alternative, scriptable way of compiling, and uploading my sketches to the Arduino.  I can automate these tasks with a Makefile, but I'm at a loss about what commands I actually need to invoke to manually compile and upload a sketch to the Arduino Due (I'm running Ubuntu Trusty).

Thanks in advance for your help!
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't have a build toolset working yet, but uploading is simply a matter of either hitting the reset button and using the bossac command included in the IDE, or using the version that I've modded to include the 1200bps reset procedure (binary: http://nw2s.net/downloads/     code: https://github.com/nw2s/bossa-nw2s)

s
Logged

Pages: [1]   Go Up
Jump to: