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

makefiles: riotboot_serial: default to STDIO BAUD for PROG_BAUD

If $(PROG_BAUD) is not set, default to the boards $(BAUD).
This commit is contained in:
Benjamin Valentin 2021-11-20 23:03:10 +01:00
parent e17cce41b4
commit 4be2829537

View File

@ -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)