Skip to content

SAMD: make the brownout detection level configurable per board #3130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 13, 2020

Conversation

deshipu
Copy link

@deshipu deshipu commented Jul 8, 2020

Not all boards have external flash or other components that make them
require 2.7V -- sometimes we can get considerably longer battery life
by decreasing this requirement.

In particular, pewpew10 and pewpew_m4 are powered directly from
battery, with no LDO, and should work fine down to 1.6V.

Not all boards have external flash or other components that make them
require 2.7V -- sometimes we can get considerably longer battery life
by decreasing this requirement.

In particular, pewpew10 and pewpew_m4 are powered directly from
battery, with no LDO, and should work fine down to 1.6V.
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

I think this is a useful build option for your purposes.

If the bootloader requires a certain level (which the SAMD51 UF2bootloader does), that will stymie your changes here. The same is true of the fuse settings. You may not be able to re-boot the board when the battery is low.

@deshipu deshipu requested a review from dhalbert July 8, 2020 19:02
@deshipu
Copy link
Author

deshipu commented Jul 13, 2020

@dhalbert I'm not sure how to tell github that I made the changes that were requested, in any case, I did.

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

This looks good! Thanks for the changes.

@dhalbert dhalbert merged commit 3fcd999 into adafruit:main Jul 13, 2020
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