Skip to content
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

gnrc_pktbuf_cmd: add od dependency with gnrc_pktbuf_static #17228

Merged
merged 2 commits into from
Jan 17, 2022

Conversation

miri64
Copy link
Member

@miri64 miri64 commented Nov 17, 2021

Contribution description

The pktbuf shell command only prints something with gnrc_pktbuf_static, when the od module is also compiled in. Currently, it is up to the user to include that module, however, I don't think there is much sense behind that. This PR pulls in od when gnrc_pktbuf_cmd and gnrc_pktbuf_static are compiled in.

Testing procedure

Revert the commit that adds the new dependency (d4f7f91 when this PR was opened). Flash tests/gnrc_udp to a board of your choice, run make term and type pktbuf. No output will be shown. If you then reintroduce the addition of the dependency and repeat the flashing, pktbuf will show a similar output (if not the same) as in master.

Issues/PRs references

None

The test does not use the module, it is merely used as a dependency for
`gnrc_pktbuf_cmd`.
@miri64 miri64 added the Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation label Nov 17, 2021
@github-actions github-actions bot added Area: network Area: Networking Area: sys Area: System Area: tests Area: tests and testing framework labels Nov 17, 2021
@miri64 miri64 changed the title Gnrc pktbuf cmd/enh/add od dep gnrc_pktbuf_cmd: add od dependency with gnrc_pktbuf_static Nov 17, 2021
@@ -8,7 +8,6 @@ USEMODULE += gnrc_pktbuf_cmd
USEMODULE += gnrc_udp
USEMODULE += gnrc_rpl
USEMODULE += auto_init_gnrc_rpl
USEMODULE += od
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you mind removing it from all the other tests selecting gnrc_pktbuf_cmd that do not need to select od since they do not use it directly?

Copy link
Member Author

Choose a reason for hiding this comment

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

Some of them include it for other reasons and this needs to be carefully checked. Can we do it as a follow-up?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sure

@fjmolinas fjmolinas added this to the Release 2022.01 milestone Nov 18, 2021
@benpicco benpicco added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Jan 3, 2022
@fjmolinas fjmolinas merged commit 000e6fa into RIOT-OS:master Jan 17, 2022
@miri64 miri64 deleted the gnrc_pktbuf_cmd/enh/add-od-dep branch January 17, 2022 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: network Area: Networking Area: sys Area: System Area: tests Area: tests and testing framework CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants