Skip to content
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

Allow for power supply configuration #177

Merged
merged 1 commit into from
Dec 8, 2020
Merged

Conversation

mmoskal
Copy link
Collaborator

@mmoskal mmoskal commented Dec 2, 2020

In case the MCU is supplied through its own LDO or DCDC, it's useful to configure that from bootloader. Many boards don't have an inductor for the DCDC0, but at least some modules have one for DCDC1, so I made them independent. The power consumption is about 2x lower with DCDC compared to LDO.

@hathach
Copy link
Member

hathach commented Dec 2, 2020

Seem like action ci need to change from setup node v1.1.0 to simply v1.1 to pass. I am on 2 days leave. Will merge now and fix the ci later on

Update: oops, there is new power macros, will check it out later on

@mmoskal
Copy link
Collaborator Author

mmoskal commented Dec 2, 2020

No rush!

Copy link
Member

@hathach hathach left a comment

Choose a reason for hiding this comment

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

thank you very much for the PR. To be honest, I haven't tested out the effect of using DCDC on actual hardware. However, since it does not change the behavior with default value and the modification look good enough.

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.

None yet

2 participants