mirror of
https://github.com/rene-dev/stmbl.git
synced 2026-02-06 02:02:34 +08:00
flash targets
This commit is contained in:
@@ -155,12 +155,8 @@ showsize: build
|
||||
# Flash the device
|
||||
#
|
||||
|
||||
btburn: build showsize
|
||||
#change this to your device
|
||||
printf "bootloader\r" > `ls /dev/cu.usbmodem*` || true
|
||||
printf "bootloader\r" > `ls /dev/ttyACM*` || true
|
||||
sleep 1
|
||||
dfu-util -a 0 -d 0483:df11 -s 0x08010000:leave -D $(TARGET).bin
|
||||
flash: build
|
||||
st-flash --reset write $(TARGET).bin 0x8000000
|
||||
|
||||
# Target: clean project
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user