Skip to content

Instantly share code, notes, and snippets.

@marekventur
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marekventur/257b122c8517d813b828 to your computer and use it in GitHub Desktop.
Save marekventur/257b122c8517d813b828 to your computer and use it in GitHub Desktop.
TiLDA upload and test on the command line
I have a split teriminal. Both are in the EMF2014 folder.
On the left I compile and upload:
$ screen -S arduino -X quit ; arduino --upload --board emfcamp:sam:tilda_mke_rtos --port /dev/ttyACM0 EMF2014.ino
On the right I connect to the serial port:
$ screen -S arduino /dev/ttyACM0 11520; screen -S arduino -X quit
Compiling will automatically kill the screen session, so you don't have to kill the serial console manually before doing an upload.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment