From 1a04e3c3231359e50e9254ab335e02e8e175aa46 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Thu, 18 Feb 2021 11:18:34 +0100 Subject: [PATCH] makefiles/boot: use same PROGRAMMER to flash riotboot --- makefiles/boot/riotboot.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makefiles/boot/riotboot.mk b/makefiles/boot/riotboot.mk index 49af9ab296..286b5373cd 100644 --- a/makefiles/boot/riotboot.mk +++ b/makefiles/boot/riotboot.mk @@ -80,7 +80,8 @@ riotboot/bootloader/%: $(BUILDDEPS) $(Q)/usr/bin/env -i \ QUIET=$(QUIET) PATH="$(PATH)"\ EXTERNAL_BOARD_DIRS="$(EXTERNAL_BOARD_DIRS)" BOARD=$(BOARD)\ - DEBUG_ADAPTER_ID=$(DEBUG_ADAPTER_ID)\ + DEBUG_ADAPTER_ID=$(DEBUG_ADAPTER_ID) \ + PROGRAMMER=$(PROGRAMMER) \ $(MAKE) --no-print-directory -C $(RIOTBOOT_DIR) $* # Generate a binary file from the bootloader which fills all the