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

gcoap: move dependencies to actual module #7071

Merged
merged 3 commits into from May 22, 2017

Conversation

kYc0o
Copy link
Contributor

@kYc0o kYc0o commented May 17, 2017

By using gcoap a bit I noticed that the actual dependencies for gcoap were declared for the example rather than for the actual module.

As far as I can see, the example doesn't even include nanocoap.h, which is the main dependency.

Thus, this PR proposes to declare such dependencies in Makefile.dep

@kYc0o kYc0o added Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation GNRC labels May 17, 2017
@kYc0o kYc0o added this to the Release 2017.07 milestone May 17, 2017
@kYc0o kYc0o added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label May 17, 2017
@kb2ma
Copy link
Member

kb2ma commented May 19, 2017

Thanks for the improvement, @kYc0o. I agree that any use of gcoap will need the nanocoap pkg and the gnrc_sock_udp module for the foreseeable future.

To make this work complete, please make the same changes for a couple of other make files:

  1. examples/gcoap/Makefile.slip
  2. tests/unittests/tests-gcoap/Makefile.include

Also, the posix module no longer is required, thanks to #6897, which addressed #5959. If you are comfortable with eliding the posix module in the migration, it works for me. I tested with native and samr21-xpro.

@haukepetersen
Copy link
Contributor

+1 for this PR.

@kYc0o any progress?

@kYc0o
Copy link
Contributor Author

kYc0o commented May 22, 2017

Sorry, I did't have internet this week-end, I'll work on it ASAP.

@kb2ma thanks for your suggestions! I'll include them in this PR.

@kYc0o
Copy link
Contributor Author

kYc0o commented May 22, 2017

Amended and force-pushed.

Copy link
Contributor

@haukepetersen haukepetersen left a comment

Choose a reason for hiding this comment

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

ACK

@kYc0o kYc0o merged commit ea27e96 into RIOT-OS:master May 22, 2017
@miri64 miri64 added Platform: MSP Platform: This PR/issue effects MSP-based platforms Area: network Area: Networking labels Sep 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: network Area: Networking CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: MSP Platform: This PR/issue effects MSP-based platforms Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants