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

14 lines
339 B
Makefile
Raw Normal View History

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