[PATCH 4/4] Make: unbrick target to flash w/ bootloader pins shortened
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@333 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
96af1bd530
commit
61caceb861
7
Makefile
7
Makefile
|
@ -202,6 +202,13 @@ flash_$(TARGET): $(TARGET_HEX)
|
|||
|
||||
flash: flash_$(TARGET)
|
||||
|
||||
|
||||
unbrick_$(TARGET): $(TARGET_HEX)
|
||||
stty -F $(SERIAL_DEVICE) raw speed 115200 -crtscts cs8 -parenb -cstopb -ixon
|
||||
stm32flash -w $(TARGET_HEX) -v -g 0x0 -b 115200 $(SERIAL_DEVICE)
|
||||
|
||||
unbrick: unbrick_$(TARGET)
|
||||
|
||||
help:
|
||||
@echo ""
|
||||
@echo "Makefile for the baseflight firmware"
|
||||
|
|
Loading…
Reference in New Issue