Change port definition for bootloader (BL_PORT) in Makefile.CMSIS

boxcar
Wojciech Krutnik 2017-05-31 15:04:00 +02:00
parent 9722c85585
commit e53aec348e
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ OBJDIR:=obj
BINDIR:=bin
# Port definition for programming via bootloader (using stm32flash)
BL_PORT:=/dev/ttyUSB0
BL_PORT:=ttyUSB0
@ -102,7 +102,7 @@ program: $(HEX) $(ELF)
.PHONY: program_bl
program_bl: $(HEX) $(ELF)
stm32flash -w $(HEX) -v $(BL_PORT)
stm32flash -w $(HEX) -v /dev/$(BL_PORT)
$(SIZE) $(ELF)
.PHONY: run