Skip to content

3.0: Handle bad power on reset.#804

Merged
tannewt merged 2 commits intoadafruit:masterfrom
dhalbert:boot_out_fixes
May 4, 2018
Merged

3.0: Handle bad power on reset.#804
tannewt merged 2 commits intoadafruit:masterfrom
dhalbert:boot_out_fixes

Conversation

@dhalbert
Copy link
Copy Markdown
Collaborator

@dhalbert dhalbert commented May 4, 2018

This is the 3.0 version of #802. Fixes #280 for 3.0. Fixes #651.

  1. Do not write boot_out.txt if there's no boot.py or equivalent, and the version info in boot_out.txt will not change.
  2. If there is a boot.py, wait 1.5 seconds before running it and writing its output to boot_out.txt.
  3. Change BOD33 brownout threshold to ~2.7V for SAMD21 and SAMD51.

This makes bouncy switched and plugged power connections much less likely to erase the filesystem.

@dhalbert dhalbert requested a review from tannewt May 4, 2018 03:47
Copy link
Copy Markdown
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay! Thank you!

@tannewt tannewt merged commit d32349c into adafruit:master May 4, 2018
@dhalbert dhalbert deleted the boot_out_fixes branch May 4, 2018 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants