1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/lobaro-lorabox/Makefile.include

20 lines
512 B
Makefile

# add the common header files to the include path
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
# configure the serial terminal
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
# Configure programmer
PROGRAMMER ?= stm32loader
# -u: use sector by sector erase
# -S: swap RTS and DTR
# -l 0x1ff: amount of sectors to erase
STM32LOADER_FLAGS ?= -u -S -l 0x1ff
PYTERMFLAGS += --set-rts 0
# stm32loader programmer is supported
PROGRAMMERS_SUPPORTED += stm32loader