mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
19 lines
552 B
Makefile
19 lines
552 B
Makefile
# define the cpu used by Arduino/Genuino MKR1000 board
|
|
export CPU = samd21
|
|
export CPU_MODEL = samd21g18a_mkr1000
|
|
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
|