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

Fix M5Stack Core power off. #158

Merged
merged 4 commits into from
Jan 5, 2025
Merged

Conversation

gkoh
Copy link
Owner

@gkoh gkoh commented Jan 5, 2025

Disable dynamic frequency scaling and most of the power management.

The M5Stack Core does not actually power off, the underlying code actually results in a deep sleep.

For some reason the power options were causing the M5Stack Core to immediately wake up.

Only the M5Stack Core was affected, weird.

Disable dynamic frequency scaling and most of the power management.

The M5Stack Core does not actually power off, the underlying code
actually results in a deep sleep.

For some reason the power options were causing the M5Stack Core to
immediately wake up.

Only the M5Stack Core was affected, weird.
@gkoh gkoh linked an issue Jan 5, 2025 that may be closed by this pull request
gkoh added 3 commits January 5, 2025 18:11
Fix it a different way.
The wakeup cause was a timer, so disable timer wakeups only on for this
device.

All other power management settings can now be retained.
@gkoh gkoh merged commit d7f1ddc into master Jan 5, 2025
6 checks passed
@gkoh gkoh deleted the 149-on-m5stack-core-power-off-doesnt branch January 5, 2025 07:54
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.

On M5Stack Core, "Power Off" doesn't
1 participant