mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-27 15:31:17 +01:00
Merge pull request #11629 from cladmi/pr/boards/lobaro-lorabox-flashfile
boards/lobaro-lorabox: use FLASHFILE for boards using stm32loader.py
This commit is contained in:
commit
8068a83edf
@ -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…
x
Reference in New Issue
Block a user