Showing posts with label Yun. Show all posts
Showing posts with label Yun. Show all posts

Tuesday, October 20, 2015

Upload sketches to an Arduino Yun via command line

  1. compile sketch via IDE, find the hex file belonging to that compile in IDE log 
  2. copy that to your Yun (SCP, FTP, WinSCP, ....)
  3. ssh to your Yun and do:
 /usr/bin/merge-sketch-with-bootloader.lua  /tmp/mysketch.cpp.hex
/usr/bin/run-avrdude    /tmp/mysketch.cpp.hex

Now you have your sketch on your Yun.
You do not have to be in the same LAN, you can update via the Internet as long as you have access to you command line.

Tuesday, October 14, 2014

The Arduino Yun

The coolest device I have seen for a long time. The Arduino Yun.
Versatile as the Swiss Army knife, around 70 to 79 Euro to buy, works like an Arduino Leonardo combined with a Linux system on one PCB. Wifi and Ethernet on board. Works with nearly all Arduino shields. That is just amazing and I am happy to own one.