1
0
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:
Alexandre Abadie 2020-12-01 17:27:14 +01:00
parent 14d19ee790
commit b87b901795
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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