From 4be28295374dbc2b2ce89327cd92613b8fc81e14 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Sat, 20 Nov 2021 23:03:10 +0100 Subject: [PATCH] makefiles: riotboot_serial: default to STDIO BAUD for PROG_BAUD If $(PROG_BAUD) is not set, default to the boards $(BAUD). --- makefiles/tools/riotboot_serial.inc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefiles/tools/riotboot_serial.inc.mk b/makefiles/tools/riotboot_serial.inc.mk index 46d9bd7c9d..d42e9ac1ed 100644 --- a/makefiles/tools/riotboot_serial.inc.mk +++ b/makefiles/tools/riotboot_serial.inc.mk @@ -2,7 +2,7 @@ RIOTBOOT_SERIAL := $(RIOTTOOLS)/riotboot_serial/riotboot_serial FLASHER ?= $(RIOTBOOT_SERIAL) FLASHFILE ?= $(HEXFILE) -PROG_BAUD ?= 115200 +PROG_BAUD ?= $(BAUD) FFLAGS ?= $(FLASHFILE) $(PORT) $(PROG_BAUD) ROM_OFFSET ?= $(RIOTBOOT_LEN)