-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sys/syscalls: make gettimeofday() implementation optional #17733
Conversation
1a64bc1
to
0a5be52
Compare
4ea3423
to
9bd2011
Compare
e285c2a
to
f2bd476
Compare
f2bd476
to
0c5a316
Compare
417b260
to
9b7ed6f
Compare
@kaspar030 @kfessel all green here, would be good to get this in to reduce ztimer64 users! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the pseudo module could have a shorter name. libc_gettimeofday
618c761
to
c7fce7c
Compare
@kfessel changes addressed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conditionally implement gettimeofday() if module is included, this avoids including ztimer64 even when not needed
c7fce7c
to
0819660
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
green murdock and good change
This breaks esp32 😢 |
Contribution description
A follow-up to #17732 to not force 64bit on all syscalls users.
With this PR the users of ztimer64 should be limited to:
Revisited list of apps using
ztimer64
:for app in examples/* tests/*; do make -C ${app} info-modules | if grep -q ztimer64; then echo ${app};fi;done
Testing procedure
Green Murdock, although should probably wait for #17721 or cherry-pick f7f7a93 to test for missing dependencies.
Issues/PRs references
Follow up to #17732
Related to #17721 and #17365