mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/lobaro-lorabox: use common stm32loader
This commit is contained in:
parent
14d19ee790
commit
b87b901795
@ -8,13 +8,12 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
# setup serial terminal
|
||||
include $(RIOTMAKE)/tools/serial.inc.mk
|
||||
|
||||
FLASHER = $(RIOTTOOLS)/stm32loader/stm32loader.py
|
||||
FLASHFILE ?= $(BINFILE)
|
||||
# Configure programmer
|
||||
PROGRAMMER ?= stm32loader
|
||||
|
||||
# -e: erase
|
||||
# -u: use sector by sector erase
|
||||
# -S: swap RTS and DTR
|
||||
# -l 0x1ff: amount of sectors to erase
|
||||
FFLAGS += -p $(PROG_DEV) -e -u -S -l 0x1ff -w $(FLASHFILE)
|
||||
STM32LOADER_FLAGS ?= -u -S -l 0x1ff
|
||||
|
||||
PYTERMFLAGS += --set-rts 0
|
||||
|
Loading…
Reference in New Issue
Block a user