Skip to content

Track: ztimer replace xtimer#16903

Closed
fjmolinas wants to merge 4 commits intoRIOT-OS:masterfrom
fjmolinas:track/ztimer_replace_xtimer
Closed

Track: ztimer replace xtimer#16903
fjmolinas wants to merge 4 commits intoRIOT-OS:masterfrom
fjmolinas:track/ztimer_replace_xtimer

Conversation

@fjmolinas
Copy link
Copy Markdown
Contributor

Contribution description

I simply ran:

$ spatch --sp-file sys/ztimer/xtimer2ztimer.cocci --macro-file-builtins dist/tools/coccinelle/include/riot-standard.h . -in_place       -include_headers

And the replaced all USEMODULE += xtimer by USEMODULE += ztimer_usec.

lets see how far away we still are...

Testing procedure

Lets see what murdock thinks...

Issues/PRs references

@github-actions github-actions bot added Area: boards Area: Board ports Area: build system Area: Build system Area: CoAP Area: Constrained Application Protocol implementations Area: core Area: RIOT kernel. Handle PRs marked with this with care! Area: cpu Area: CPU/MCU ports Area: doc Area: Documentation Area: drivers Area: Device drivers Area: examples Area: Example Applications labels Sep 28, 2021
@fjmolinas
Copy link
Copy Markdown
Contributor Author

Un-tagged everyone to avoid spamming..

@fjmolinas fjmolinas added CI: run tests If set, CI server will run tests on hardware for the labeled PR CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Sep 28, 2021
@github-actions github-actions bot removed Area: USB Area: Universal Serial Bus Area: CoAP Area: Constrained Application Protocol implementations Area: core Area: RIOT kernel. Handle PRs marked with this with care! Area: OTA Area: Over-the-air updates labels Sep 28, 2021
}

static inline void xtimer_set_wakeup(xtimer_t *timer, uint32_t offset, kernel_pid_t pid)
static inline void xtimer_set_wakeup(ztimer_t *timer, uint32_t offset,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤨 ? Is that correct?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope, the script shouldn't hava run here but I thought I had fixed this...

$ spatch --sp-file sys/ztimer/xtimer2ztimer.cocci --macro-file-builtins
dist/tools/coccinelle/include/riot-standard.h . -in_place
-include_headers
@fjmolinas fjmolinas force-pushed the track/ztimer_replace_xtimer branch from ec4bea1 to da1da31 Compare September 28, 2021 14:27
@fjmolinas
Copy link
Copy Markdown
Contributor Author

Ahh nice now it actually ran for a bit before hitting too many failures :D

@kaspar030
Copy link
Copy Markdown
Contributor

Ahh nice now it actually ran for a bit before hitting too many failures :D

hehe. for faster turn-around, may I suggest adding "BOARDS=native" to .murdock?

@fjmolinas
Copy link
Copy Markdown
Contributor Author

Superseded by #17365

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: boards Area: Board ports Area: build system Area: Build system Area: CI Area: Continuous Integration of RIOT components Area: CoAP Area: Constrained Application Protocol implementations Area: core Area: RIOT kernel. Handle PRs marked with this with care! Area: cpu Area: CPU/MCU ports Area: doc Area: Documentation Area: drivers Area: Device drivers Area: examples Area: Example Applications Area: network Area: Networking Area: OTA Area: Over-the-air updates Area: pkg Area: External package ports Area: sys Area: System Area: tests Area: tests and testing framework Area: timers Area: timer subsystems Area: USB Area: Universal Serial Bus CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: run tests If set, CI server will run tests on hardware for the labeled PR Platform: ARM Platform: This PR/issue effects ARM-based platforms Platform: ESP Platform: This PR/issue effects ESP-based platforms Platform: native Platform: This PR/issue effects the native platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants