diff --git a/boards/common/msba2/Makefile.include b/boards/common/msba2/Makefile.include index 9557566675..341d2dd5a2 100644 --- a/boards/common/msba2/Makefile.include +++ b/boards/common/msba2/Makefile.include @@ -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)