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

ztimer doesn't wake up on native if the pm_layered module is used #21083

Open
derMihai opened this issue Dec 13, 2024 · 0 comments
Open

ztimer doesn't wake up on native if the pm_layered module is used #21083

derMihai opened this issue Dec 13, 2024 · 0 comments
Labels
Platform: native Platform: This PR/issue effects the native platform Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Comments

@derMihai
Copy link
Contributor

Description

If pm_layered is used, ztimer won't wake up the thread on native.

Steps to reproduce the issue

For examples/timer_periodic_wakeup, add following line to the Makefile:

USEMODULE += pm_layered

Expected results

Ztimer wakeups should work.

Actual results

Running make term will block forever:

2024-12-13 16:09:26,130 # RIOT native interrupts/signals initialized.
2024-12-13 16:09:26,131 # RIOT native board initialized.
2024-12-13 16:09:26,131 # RIOT native hardware initialization complete.
2024-12-13 16:09:26,131 # 
2024-12-13 16:09:26,131 # main(): This is RIOT! (Version: 2025.01-devel-63-gc9dff-HEAD)
@benpicco benpicco added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Platform: native Platform: This PR/issue effects the native platform labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: native Platform: This PR/issue effects the native platform Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

No branches or pull requests

2 participants