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

In the bootloader, deinitialise all activated peripherals before jumping to main app #1264

Closed
amrbekhit opened this issue Jul 12, 2018 · 1 comment
Assignees

Comments

@amrbekhit
Copy link
Contributor

amrbekhit commented Jul 12, 2018

Following on from this mailing list thread, any peripherals turned on in the bootloader remain on after the main app has started executed, causing unexpectedly high power consumption. I think it would be a good idea for the bootloader to de-initialise any initialised peripherals before jumping the main app. This would allow the main app to start from a blank slate and removes the need to add any de-initialisation code to it (which would require knowing what the bootloader has initialised).

@sjanc
Copy link
Contributor

sjanc commented Aug 2, 2019

Since we deleted bootloader from core and moved to mcuboot I think this can be closed (and tracked in mcuboot instead if relevant)

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

No branches or pull requests

3 participants