1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/arduino-mkrzero/Makefile.include

19 lines
548 B
Makefile
Raw Normal View History

# define the cpu used by Arduino/Genuino MKRZERO board
export CPU = samd21
export CPU_MODEL = samd21g18a_mkr
export CFLAGS += -D__SAMD21G18A__
# set default port depending on operating system
PORT_LINUX ?= /dev/ttyACM0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# define board specific flasher options
export FLASHER = $(RIOTBOARD)/$(BOARD)/dist/flash.sh
export OFLAGS = -O binary
# setup the boards dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
# setup serial terminal
include $(RIOTMAKE)/tools/serial.inc.mk