Skip to content

Conversation

benpicco
Copy link
Contributor

Contribution description

If SDHC runs off the CPU clock and we wait for the transfer to complete, we can not enter IDLE mode as that will stop the CPU clock.
Add a new mode that acts as a no-op where we just spin the CPU.

Testing procedure

No change in behavior or power consumption as IDLE is unblocked by default.

Issues/PRs references

Make it possible to prevent the CPU clock from stopping.
@github-actions github-actions bot added Area: cpu Area: CPU/MCU ports Platform: ARM Platform: This PR/issue effects ARM-based platforms labels Mar 29, 2022
Copy link
Member

@dylad dylad left a comment

Choose a reason for hiding this comment

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

LGTM.

@dylad dylad added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Mar 31, 2022
@dylad dylad added this to the Release 2022.04 milestone Mar 31, 2022
@dylad dylad enabled auto-merge March 31, 2022 19:51
@dylad dylad merged commit 57fb4e7 into RIOT-OS:master Mar 31, 2022
@benpicco benpicco deleted the cpu/samd5x-pm_idle branch April 1, 2022 06:03
riot-ci pushed a commit to riot-ci/RIOT that referenced this pull request Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: cpu Area: CPU/MCU ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: ARM Platform: This PR/issue effects ARM-based platforms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants