sys/ztimer/xtimer_compat: provide more fallback options#20494
sys/ztimer/xtimer_compat: provide more fallback options#20494benpicco merged 2 commits intoRIOT-OS:masterfrom
Conversation
|
Uncrustify is pretty unhappy with this one ;) |
0942fbb to
8712ef9
Compare
8712ef9 to
a5c385a
Compare
|
I think the convention was to use We could discuss this in upcoming VMA and quickly vote on this. |
a5c385a to
10888b3
Compare
|
I like this (xtimer_compat is a nice interface to ztimer). I just like to raise the question: "Could we somehow ensure that the user we somehow ensure the user knows about the mapping to ztimer_msec happening?"
|
78be9db to
be2c455
Compare
|
What is that warning supposed to look like and what is it supposed to achieve?
|
|
IIUC this is causing troubles with Rust builds – but riot-wrappers doesn't wrap (and doesn't plan to wrap) XTimer. Does switching riot-sys in .cargo/config.toml to the branch of RIOT-OS/rust-riot-sys#51 solve the build issues? |
I thought of a warning in case of ztimer_msec providing the service for xtimer_usleep when it might have some influence on functionality |
|
Like so? |
9b93f14 to
5fbd197
Compare
5fbd197 to
098efc9
Compare
Contribution description
The xtimer API can be used as a backend agnostic frontend to ztimer.
To better facilitate this (and also allow the use without a timer for simple sleep operations), add more fall-back implementations.
Testing procedure
Issues/PRs references
alternative to #19719