2016-01-21 22:47:57 +01:00
|
|
|
# define the cpu used by the OpenMote-cc2538 board
|
2014-10-22 15:49:49 +02:00
|
|
|
export CPU = cc2538
|
|
|
|
export CPU_MODEL = cc2538sf53
|
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# define the default port depending on the host OS
|
|
|
|
PORT_LINUX ?= /dev/ttyUSB0
|
|
|
|
PORT_DARWIN ?= $(shell ls -1 /dev/tty.usbserial-* | head -n 1)
|
2014-10-22 15:49:49 +02:00
|
|
|
|
2016-03-01 19:23:38 +01:00
|
|
|
# setup JLink for flashing
|
|
|
|
export JLINK_DEVICE := cc2538sf53
|
|
|
|
export JLINK_FLASH_ADDR := 200000
|
|
|
|
export JLINK_IF := JTAG
|
|
|
|
include $(RIOTBOARD)/Makefile.include.jlink
|
2014-10-22 15:49:49 +02:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# setup serial terminal
|
|
|
|
include $(RIOTBOARD)/Makefile.include.serial
|