Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@derMihai

Description

@derMihai

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Platform: nativePlatform: This PR/issue effects the native platformType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions