Arduino Yún on slackware

Useful packages to play with Arduino Yún board on Slackware from slackbuilds.org:

  • avr-libc
  • avr-binutils
  • avr-gcc
  • avrdude

The Arduino Yún is composed by two main parts:

  • an AVR Arduino microcontroller, ATmega32u4
  • a Linux microprocessor, Atheros AR9331, with OpenWRT

Connecting the Yún to computer create a serial communication device in /dev/ttyACM0. I had add my linux user to dialout user group.

To write code for Arduino you need also the Arduino Software (IDE) - arduino.cc ⬀.
Update 2015-09-06: in the past the Yún need 1.5.x version of this software. In these days the last version is ok with all the Arduino boards.

On Slackware 14.1 the precompiled avrdude executable from IDE fails while loading shared libraries: libtinfo.so.5 doesn't exists.
Indeed libtinfo.so.5 is part of ncurses library and I fixed creating a symbolic link in /lib64/:

root@rame:/lib64# ln -s libncurses.so.5 libtinfo.so.5

(Note: I'm not suggesting a similar solution on other's system. Simply I do that.)

Now I can push my sketch on Arduino Yún. ;-)

References:

2014-10-19