Package Details: arduino-mk 1.6.0-1

Git Clone URL: (read-only, click to copy)
Package Base: arduino-mk
Description: A Makefile for Arduino Sketches
Upstream URL:
Licenses: LGPL2.1
Submitter: Koromix
Maintainer: yuhe
Last Packager: buckket
Votes: 21
Popularity: 0.000000
First Submitted: 2014-01-12 18:32 (UTC)
Last Updated: 2017-09-28 21:51 (UTC)

Latest Comments

lpkk commented on 2017-12-11 19:02 (UTC)

Why there is no /usr/bin/ard-reset-arduino file ?

escentrix commented on 2017-04-25 22:00 (UTC) (edited on 2017-04-25 22:33 (UTC) by escentrix)

EDIT: I have bypassed this error by removing the flto CFLAGS from Things seem to work fine without it. For the most part things are working for me, but if I try to compile code with Serial functions (Serial.begin/Serial.write) the program will compile down until it crashes with: /usr/bin/avr-gcc -mmcu=atmega328p -Wl,--gc-sections -Os -flto -fuse-linker-plugin -o build-nano-atmega328/serial_test.elf build-nano-atmega328/serial.ino.o build-nano-atmega328/libcore.a -lc -lm lto1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <> for instructions. lto-wrapper: fatal error: /usr/bin/avr-gcc returned 1 exit status compilation terminated. /usr/bin/avr-ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status

jaapcrezee commented on 2017-03-24 16:19 (UTC) (edited on 2017-03-24 16:20 (UTC) by jaapcrezee)

On Archlinux with the Archlinux package "arduino" installed I need this in my project Makefile to get it working. I am using an Arduino Uno (clone) or Arduino Mega 2560 (clone): # Arduino Make file. Refer to ARDUINO = /usr/share/arduino ARDUINO_DIR = $(ARDUINO) ARDMK_VENDOR = archlinux-arduino #if mega #VARIANT = mega #MCU = atmega2560 #F_CPU = 16000000 #BOARD_TAG = mega2560 #endif #if uno #BOARD_TAG = uno #endif include $(ARDUINO)/

Yamakaky commented on 2016-10-31 01:58 (UTC)

Add dependency to arduino-avr-core

imran27 commented on 2016-10-03 10:54 (UTC)

Can you please make a PKGBUILD for git package?

abouvier commented on 2016-09-29 11:24 (UTC) (edited on 2016-09-29 11:24 (UTC) by abouvier)

@TheSaint arduino-mk needs the file /usr/share/arduino/lib/version.txt (containing e.g. "1.6.10") provided by the arduino package.

TheSaint commented on 2016-09-29 07:13 (UTC)

Errors in the script as per this thread

abouvier commented on 2016-05-18 21:58 (UTC)

@drhooves, screen is an optional dependency, you can use picocom or minicom instead

thoth commented on 2016-04-30 13:11 (UTC)

I believe this is woefully out of date, checking out the newest from git immediately solves my issues:

drhooves commented on 2016-03-11 16:36 (UTC)

missing dependency: screen

commented on 2015-05-23 19:16 (UTC)

missing dependencies: 'avr-libc' 'avr-gcc'

budulay commented on 2014-07-09 02:11 (UTC)

community/python-pyserial is required to upload code to arduino.

tgirod commented on 2014-01-31 15:42 (UTC)

missing dependency: community/perl-device-serialport

Koromix commented on 2014-01-14 21:22 (UTC)

Done, thanks :)

hyrsky commented on 2014-01-14 19:45 (UTC)

arduino-mk 1.2.0 is out: PKGBUILD Patch: --- PKGBUILD.1 2014-01-12 20:32:20.000000000 +0200 +++ PKGBUILD 2014-01-14 21:30:32.929146600 +0200 @@ -1,7 +1,7 @@ # Maintainer: Niels Martignène <> pkgname=arduino-mk -pkgver=1.1.0 +pkgver=1.2.0 pkgrel=1 pkgdesc="A Makefile for Arduino Sketches" arch=(any) @@ -10,7 +10,7 @@ depends=('arduino' 'make' 'perl') # makedepends=('help2man') source=("${pkgver}.tar.gz") -sha256sums=('00177d49ccdfc5900bf87e4fb5bbe579c1ab09daa6d0743025dcefb54154a839') +sha256sums=('0d8ae55d393bfac9907e90418175efb1d9eda6f972a84335afe6cd2b15edfa8e') prepare() { cd "${srcdir}/Arduino-Makefile-${pkgver}" @@ -32,7 +32,7 @@ mkdir -p "${pkgdir}/usr/share/doc/${pkgname}" # mkdir -p "${pkgdir}/usr/share/man/man1" - install -m644 arduino-mk/*.mk "${pkgdir}/usr/share/arduino/" + install -m644 ./*.mk "${pkgdir}/usr/share/arduino/" cp -r examples "${pkgdir}/usr/share/doc/${pkgname}/" # install -m644 bin/ard-reset-arduino.1 "${pkgdir}/usr/share/man/man1/"