Skip to content

Commit

Permalink
Add documentation to contrib/escape-bootloader.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanthom committed Dec 13, 2022
1 parent e3f3093 commit f8aaf95
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contrib/escape-bootloader.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
# escape-bootloader.py sends the right command to ST's bootloader to run the
# main application

import usb

Expand All @@ -13,4 +15,4 @@
# configuration will be the active one
dev.set_configuration()

dev.write(2, [0xF3, 0x07])
dev.write(2, [0xF3, 0x07])

0 comments on commit f8aaf95

Please sign in to comment.