Skip to content
Snippets Groups Projects

Reboot to bootloader

Open Nikolay Amiantov requested to merge abbradar/firmware:reboot-to-bootloader into master
1 unresolved thread

This implements rebooting to bootloader via os.reset(True). To do that we modify the bootloader so that it checks for a special file named .mscmode and if it's there it removes it and runs msc(). On Python side we declare .mscmode as a restricted file and create it before rebooting if needed.

This also improves update-bootloader.bin building because I didn't get a debugger :D It now automatically uses the latest bootloader, so you can grab update-bootloader.bin.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading