Skip to content
Snippets Groups Projects
Commit 3f938123 authored by Sebastian Meiling's avatar Sebastian Meiling
Browse files

lorabox: add port to flasher parameters

This adds the port parameter to the stm32loader flash script. This was
necessary to allow flashing on macOS X where the default port is not
autodetected correctly and needs to be specified, e.g. by running:

    BOARD=lobaro-lorabox PORT=/dev/tty.SLAB_USBtoUART \
    make -C examples/lorawan flash term`
parent 266f7ee3
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,6 @@ HEXFILE = $(BINFILE) ...@@ -21,6 +21,6 @@ HEXFILE = $(BINFILE)
# -u: use sector by sector erase # -u: use sector by sector erase
# -S: swap RTS and DTR # -S: swap RTS and DTR
# -l 0x1ff: amount of sectors to erase # -l 0x1ff: amount of sectors to erase
FFLAGS += -e -u -S -l 0x1ff -w $(BINFILE) FFLAGS += -p $(PORT) -e -u -S -l 0x1ff -w $(BINFILE)
TERMFLAGS += --set-rts 0 TERMFLAGS += --set-rts 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment