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 JLink for flashing
|
|
|
|
export JLINK_DEVICE := ezr32wg330f256
|
2016-01-27 10:47:12 +01:00
|
|
|
include $(RIOTMAKE)/tools/jlink.inc.mk
|
2015-07-27 16:42:10 +02:00
|
|
|
|
|
|
|
# setup serial terminal
|
2016-01-27 10:47:12 +01:00
|
|
|
include $(RIOTMAKE)/tools/serial.inc.mk
|