2014-11-19 11:17:56 +01:00
|
|
|
# define the cpu used by the mbed_lpx1768 board
|
2013-11-09 00:43:35 +01:00
|
|
|
export CPU = lpc1768
|
|
|
|
|
2014-12-09 14:48:12 +01:00
|
|
|
export FLASHER = $(RIOTBOARD)/$(BOARD)/dist/flash.sh
|
2014-11-19 11:17:56 +01:00
|
|
|
export DEBUGGER =
|
|
|
|
export DEBUGSERVER =
|
2014-11-18 18:35:01 +01:00
|
|
|
|
2014-11-19 11:17:56 +01:00
|
|
|
export OFLAGS = -O binary
|
2014-12-09 13:31:17 +01:00
|
|
|
export HEXFILE = $(ELFFILE:.elf=.bin)
|
2014-11-19 11:17:56 +01:00
|
|
|
export FFLAGS =
|
|
|
|
export DEBUGGER_FLAGS =
|
2014-11-18 18:35:01 +01:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# define the default port depending on the host OS
|
|
|
|
PORT_LINUX ?= /dev/ttyACM0
|
|
|
|
PORT_DARWIN ?= $(shell ls -1 /dev/tty.SLAB_USBtoUART* | head -n 1)
|
2013-11-09 00:43:35 +01:00
|
|
|
|
2015-04-22 15:45:34 +02:00
|
|
|
# setup serial terminal
|
|
|
|
include $(RIOTBOARD)/Makefile.include.serial
|