You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
549 B
18 lines
549 B
# define the used CPU |
|
export CPU = lpc1768 |
|
|
|
# define the default port depending on the host OS |
|
PORT_LINUX ?= /dev/ttyUSB0 |
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*))) |
|
|
|
# setup serial terminal |
|
include $(RIOTMAKE)/tools/serial.inc.mk |
|
|
|
# this board uses openocd |
|
include $(RIOTMAKE)/tools/openocd.inc.mk |
|
|
|
# generate image checksum from hex file |
|
export PRE_FLASH_CHECK_SCRIPT = lpc_checksum --format hex |
|
|
|
# remap flash to address 0x0, otherwise it verifies the rom bootloader |
|
export OPENOCD_PRE_VERIFY_CMDS += '-c reset init'
|
|
|