RIOT
RIOT copied to clipboard
sys/ztimer: add ZTIMER_NSEC from PTP backend
Contribution description
This PR adds a ZTIMER_NSEC
clock, based on periph_ptp
.
Testing procedure
Try tests/ztimer_xsec
Issues/PRs references
#16309
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)
Now that ztimer64
is there, should I add MODULE_ZTIMER64_NSEC
in this PR or should it be another PR?
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.