-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
sample/zbus: qemu_nios2 needs faster tick for zbus test with picolibc #53684
sample/zbus: qemu_nios2 needs faster tick for zbus test with picolibc #53684
Conversation
ea03d56
to
d348292
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.
I was considering finding a less verbose way to do that. However, in this case, you had to copy twice the same setup for adding only one line in each copied chunk. I could not find any way cleaner to do that. Any advice @nashif @galak @PerMac? I am citing you guys because of the twister's maintainers list.
Yeah, having some ability to have per-target extra config flags would be useful here. I did try changing the config globally but couldn't find a combination that worked on every target. |
would something like this work?
any other suggestions? This can also be `platform::CONFIG_... or we can go fancy and have
|
I'd say it's entirely up to you; obviously any of the suggestions you made would be fine. Take that as a feature request for some future release? I'd suggest not waiting for that though; no reason to block fixing things while the tooling catches up with this kind of improvement. |
PR on the way :) |
🥳 I'll give this a try and post some review there when I get a chance. |
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.
It would be better to use the new approach for conditional extra_config
.
I was hoping to see fixes for west proposed so this patch wouldn't break existing usage, but sure, I'll push the updated version. |
d348292
to
638983d
Compare
@keith-packard Could you rebase? |
Looks like this change was merged along with #53338 although it wasn't included in that PR. I discovered this when attempting to rebase and got 'noop' ... |
638983d
to
bf384bf
Compare
Picolibc is enough faster than the minimal C library that the zbus benchmark will likely complete in well under 10ms on qemu_nios2. As this target cannot provide a clock at higher resolution than the system tick, we need to increase that rate to get a non-zero runtime for this benchmark.
This is a replacement for #53589 and a response to #53563, which didn't quite resolve the issue on this target.
Signed-off-by: Keith Packard [email protected]