-
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/shell/commands/ping: fix dependency & convert to ztimer #18349
sys/shell/commands/ping: fix dependency & convert to ztimer #18349
Conversation
I also added a commit to convert to @chrysn: IMO the fix commit would be backport material. The conversion to ztimer can IMO wait for the next release. |
Indeed (it's not part of the test suite but easily verified). |
Add missing dependency to xtimer so that the shell command `ping` is again provided when requested.
e905ee4
to
cab761b
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.
seems like we are missing a gnrc_ping_cmd
(pseudo)module -in other words why should a icmp-echo-service also add the client part.
I just saw there is an answer agreed on in the a resolved comment, at the same time looking at the line it is danging on some lines later there is an explicit filter for gnrc_udp_cmd
so why is ping included if "shell commands" and "icmp-echo-service" but the "udp_cmd" needs an extra module?
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.
Considering that this is meant to be backported and should as thus be as minimal as possible: ACK. Adding a new (pseudo-)module to specifically select the ping
command can be done as a follow-up.
I'd much rather see making all shell commands submodules :) |
Thx :) |
Please provide a backport. |
Backport provided in #18354 |
Contribution description
Add missing dependency to xtimer so that the shell command
ping
isagain provided when requested.
Testing procedure
Run
make BOARD=nucleo-f767zi -C examples/gnrc_networking flash term
and thenhelp
. If theping
command is listed again, the bug is fixed. (Did so, worked for me.)Issues/PRs references
None