1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-15 10:32:44 +01:00
RIOT/boards/openmote-cc2538/Makefile.include
Aaron Sowry 7759611713 Rename 'openmote' board to 'openmote-cc2538'
This is to avoid ambiguity with future versions of the OpenMote platform.
2016-01-23 08:06:15 +13:00

26 lines
787 B
Makefile

# define the cpu used by the OpenMote-cc2538 board
export CPU = cc2538
export CPU_MODEL = cc2538sf53
# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(shell ls -1 /dev/tty.usbserial-* | head -n 1)
#
export FLASHER = $(RIOTBOARD)/$(BOARD)/dist/flash.sh
export DEBUGGER = $(RIOTBOARD)/$(BOARD)/dist/debug.sh
export DEBUGSERVER = JLinkGDBServer -device CC2538SF53
export RESET = $(RIOTBOARD)/$(BOARD)/dist/reset.sh
export OFLAGS = -O binary
export HEXFILE = $(ELFFILE:.elf=.bin)
export FFLAGS = $(BINDIR) $(HEXFILE)
export DEBUGGER_FLAGS = $(BINDIR) $(ELFFILE)
export RESET_FLAGS = $(BINDIR)
# setup serial terminal
include $(RIOTBOARD)/Makefile.include.serial
# include cortex defaults
include $(RIOTBOARD)/Makefile.include.cortexm_common