1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/common/msba2: use common lpc2k_pgm programmer

This commit is contained in:
Alexandre Abadie 2020-12-01 13:39:34 +01:00
parent 9d3cbd5933
commit 41d0272140
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -1,19 +1,13 @@
# Compile `lpc2k_pgm` when required
LPC2K_PGM = $(RIOTTOOLS)/lpc2k_pgm/bin/lpc2k_pgm
FLASHDEPS += $(LPC2K_PGM)
FLASHER ?= $(LPC2K_PGM)
# configure serial interface
PORT_LINUX ?= /dev/ttyUSB0
# This does not make a lot of sense, but it has the same value as the previous code
PORT_DARWIN ?= /dev/tty.usbserial-ARM
# Use lpc2k_pgm programmer
PROGRAMMER ?= lpc2k_pgm
# when using miniterm set RTS and DTR lines to 0, otherwise the board is reset
MINITERMFLAGS += --rts 0 --dtr 0
PYTERMFLAGS += -tg
include $(RIOTMAKE)/tools/serial.inc.mk
FLASHFILE ?= $(HEXFILE)
FFLAGS = $(PROG_DEV) $(FLASHFILE)