Package Details: arduino-mk 1.6.0-1

Git Clone URL: https://aur.archlinux.org/arduino-mk.git (read-only)
Package Base: arduino-mk
Description: A Makefile for Arduino Sketches
Upstream URL: https://github.com/sudar/Arduino-Makefile
Licenses: LGPL2.1
Submitter: Koromix
Maintainer: buckket
Last Packager: buckket
Votes: 19
Popularity: 0.050406
First Submitted: 2014-01-12 18:32
Last Updated: 2017-09-28 21:51

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

lpkk commented on 2017-12-11 19:02

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

escentrix commented on 2017-04-25 22:00

EDIT: I have bypassed this error by removing the flto CFLAGS from Arduino.mk 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 <http://gcc.gnu.org/bugs.html> 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

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 https://github.com/sudar/Arduino-Makefile

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)/Arduino.mk




Yamakaky commented on 2016-10-31 01:58

Add dependency to arduino-avr-core

imran27 commented on 2016-10-03 10:54

Can you please make a PKGBUILD for git package?

doskoi commented on 2016-09-29 11:24

@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

Errors in the script as per this thread https://bbs.archlinux.org/viewtopic.php?id=217598

doskoi commented on 2016-05-18 21:58

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

thoth commented on 2016-04-30 13:11

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

https://github.com/sudar/Arduino-Makefile/issues/426#issuecomment-215945489

drhooves commented on 2016-03-11 16:36

missing dependency: screen

All comments