mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
4be2829537
If $(PROG_BAUD) is not set, default to the boards $(BAUD).
14 lines
339 B
Makefile
14 lines
339 B
Makefile
RIOTBOOT_SERIAL := $(RIOTTOOLS)/riotboot_serial/riotboot_serial
|
|
|
|
FLASHER ?= $(RIOTBOOT_SERIAL)
|
|
FLASHFILE ?= $(HEXFILE)
|
|
PROG_BAUD ?= $(BAUD)
|
|
FFLAGS ?= $(FLASHFILE) $(PORT) $(PROG_BAUD)
|
|
|
|
ROM_OFFSET ?= $(RIOTBOOT_LEN)
|
|
|
|
FLASHDEPS += $(RIOTBOOT_SERIAL)
|
|
|
|
$(RIOTBOOT_SERIAL):
|
|
$(Q)env -u CC -u CFLAGS $(MAKE) -C $(RIOTTOOLS)/riotboot_serial
|