entering and leaving dfu

This commit is contained in:
Conor Patrick
2018-10-28 20:39:56 -04:00
parent 5993aa792a
commit 32f0d2675e
2 changed files with 7 additions and 5 deletions

View File

@@ -73,9 +73,9 @@ clean:
flash: $(TARGET).hex
STM32_Programmer_CLI -c port=SWD -halt -e all --readunprotect
STM32_Programmer_CLI -c port=SWD -halt -d $(TARGET).hex -rst
STM32_Programmer_CLI -c port=SWD -rst
sleep 0.5
python dfuse-tool/dfuse-tool.py --leave
detach:
STM32_Programmer_CLI -c port=usb1 -ob nBOOT0=1
cbor:
cd ../../tinycbor/ && make clean