mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/lobaro-lorabox: use FLASHFILE for boards using stm32loader.py
Update to use FLASHFILE as file to be flashed on the board.
This commit is contained in:
parent
eb3398d294
commit
84d7e37b11
@ -13,14 +13,12 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
FLASHER = $(RIOTTOOLS)/stm32loader/stm32loader.py
|
||||
|
||||
# needed for now so the build system generates the .bin file
|
||||
HEXFILE = $(BINFILE)
|
||||
FLASHFILE ?= $(BINFILE)
|
||||
|
||||
# -e: erase
|
||||
# -u: use sector by sector erase
|
||||
# -S: swap RTS and DTR
|
||||
# -l 0x1ff: amount of sectors to erase
|
||||
FFLAGS += -p $(PORT) -e -u -S -l 0x1ff -w $(BINFILE)
|
||||
FFLAGS += -p $(PORT) -e -u -S -l 0x1ff -w $(FLASHFILE)
|
||||
|
||||
TERMFLAGS += --set-rts 0
|
||||
|
Loading…
Reference in New Issue
Block a user