RIOT icon indicating copy to clipboard operation
RIOT copied to clipboard

sys/ztimer: add ZTIMER_NSEC from PTP backend

Open fabian18 opened this issue 3 years ago • 3 comments

Contribution description

This PR adds a ZTIMER_NSEC clock, based on periph_ptp.

Testing procedure

Try tests/ztimer_xsec

Issues/PRs references

#16309

fabian18 avatar Apr 13 '21 10:04 fabian18

looks good in huge parts, :+1:

But most boards do not provide periph_ptp -> the test ztimer_xsec will fail for most boards (inkl. native).

The test needs to adapt either the board or to the used modules. (or not test NSEC by default)

kfessel avatar Apr 16 '21 12:04 kfessel

Now that ztimer64 is there, should I add MODULE_ZTIMER64_NSEC in this PR or should it be another PR?

fabian18 avatar Dec 29 '21 13:12 fabian18

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions.

stale[bot] avatar Jul 10 '22 11:07 stale[bot]