2015-07-27 16:42:10 +02:00
|
|
|
# define the cpu used by WSTK6220
|
|
|
|
export CPU = ezr32wg
|
|
|
|
export CPU_MODEL = ezr32wg330f256r60
|
|
|
|
|
|
|
|
# set default port depending on operating system
|
|
|
|
PORT_LINUX ?= /dev/ttyACM0
|
2016-02-13 21:51:08 +01:00
|
|
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
2015-07-27 16:42:10 +02:00
|
|
|
|
|
|
|
# setup the boards dependencies
|
|
|
|
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
|
|
|
|
|
|
|
|
# setup JLink for flashing
|
|
|
|
export JLINK_DEVICE := ezr32wg330f256
|
|
|
|
include $(RIOTBOARD)/Makefile.include.jlink
|
|
|
|
|
|
|
|
# setup serial terminal
|
|
|
|
include $(RIOTBOARD)/Makefile.include.serial
|