1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-17 18:43:50 +01:00

boards/arduino-mega2560: add support to flash it on mac osx

This commit is contained in:
kYc0o 2016-03-09 15:15:18 +01:00
parent 1c260c2228
commit c0d28f3f87

View File

@ -18,12 +18,12 @@ OS = $(shell uname)
ifeq ($(OS),Linux) ifeq ($(OS),Linux)
PORT ?= /dev/ttyACM0 PORT ?= /dev/ttyACM0
FLASHER = avrdude FLASHER = avrdude
#else ifeq ($(OS),Darwin) else ifeq ($(OS),Darwin)
# PORT ?= PORT ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# FLASHER = FLASHER = avrdude
else else
$(info CAUTION: No flash tool for your host system found!) $(info CAUTION: No flash tool for your host system found!)
# TODO: fix for building under windows/MacOS # TODO: fix for building under windows
endif endif
export FLASHER export FLASHER
export PORT export PORT