mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles: add riotboot_serial as flash tool
This commit is contained in:
parent
ea2e103bde
commit
a82d4e6683
13
makefiles/tools/riotboot_serial.inc.mk
Normal file
13
makefiles/tools/riotboot_serial.inc.mk
Normal file
@ -0,0 +1,13 @@
|
||||
RIOTBOOT_SERIAL := $(RIOTTOOLS)/riotboot_serial/riotboot_serial
|
||||
|
||||
FLASHER ?= $(RIOTBOOT_SERIAL)
|
||||
FLASHFILE ?= $(HEXFILE)
|
||||
PROG_BAUD ?= 115200
|
||||
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
|
Loading…
Reference in New Issue
Block a user