From 9d3cbd5933426f3c5f3cabdd319efd2ea8217c06 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Tue, 1 Dec 2020 13:39:28 +0100 Subject: [PATCH] make: add common lpc2k_pgm programmer makefile --- makefiles/tools/lpc2k_pgm.inc.mk | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 makefiles/tools/lpc2k_pgm.inc.mk diff --git a/makefiles/tools/lpc2k_pgm.inc.mk b/makefiles/tools/lpc2k_pgm.inc.mk new file mode 100644 index 0000000000..eb48223dfc --- /dev/null +++ b/makefiles/tools/lpc2k_pgm.inc.mk @@ -0,0 +1,8 @@ +# Compile `lpc2k_pgm` when required +LPC2K_PGM = $(RIOTTOOLS)/lpc2k_pgm/bin/lpc2k_pgm +FLASHDEPS += $(LPC2K_PGM) + +FLASHER ?= $(LPC2K_PGM) + +FLASHFILE ?= $(HEXFILE) +FFLAGS ?= $(PROG_DEV) $(FLASHFILE)