Skip to content

net/nanocoap: Expose configurations to Kconfig#13243

Merged
bergzand merged 6 commits intoRIOT-OS:masterfrom
leandrolanzieri:pr/kconfig_migrate/net/nanocoap
Apr 8, 2020
Merged

net/nanocoap: Expose configurations to Kconfig#13243
bergzand merged 6 commits intoRIOT-OS:masterfrom
leandrolanzieri:pr/kconfig_migrate/net/nanocoap

Conversation

@leandrolanzieri
Copy link
Copy Markdown
Contributor

Contribution description

This moves configuration macros from nanocoap to the CONFIG_ namespace, and exposes them to Kconfig.

MODULE_NANOCOAP now is selecting a hidden symbol introduced in #13227 to indicate that CoAP support is present, and that the generic configurations should be shown. There is no issue on selecting an undefined symbol, so we can merge this directly. In case #13227 is merged first I'll remove the default value that was added there.

Testing procedure

  • examples/gcoap and examples/nanocoap_server should be working as usual.
  • Changing configurations should reflect on the application.

Issues/PRs references

Part of #12888
Related to #13227

@leandrolanzieri leandrolanzieri added Type: new feature The issue requests / The PR implemements a new feature for RIOT Area: CoAP Area: Constrained Application Protocol implementations TF: Config Marks issues and PRs related to the work of the Configuration Task Force labels Jan 31, 2020
@leandrolanzieri leandrolanzieri added this to the Release 2020.04 milestone Jan 31, 2020
@leandrolanzieri leandrolanzieri force-pushed the pr/kconfig_migrate/net/nanocoap branch from 7062691 to 830cf87 Compare March 13, 2020 11:32
@leandrolanzieri
Copy link
Copy Markdown
Contributor Author

Rebased to resolve conflicts.

@leandrolanzieri leandrolanzieri force-pushed the pr/kconfig_migrate/net/nanocoap branch from 830cf87 to ab93da3 Compare April 7, 2020 06:34
@bergzand bergzand self-assigned this Apr 7, 2020
@bergzand
Copy link
Copy Markdown
Member

bergzand commented Apr 7, 2020

Please squash!

@leandrolanzieri leandrolanzieri force-pushed the pr/kconfig_migrate/net/nanocoap branch from cb51d08 to 0137a06 Compare April 7, 2020 15:01
@leandrolanzieri
Copy link
Copy Markdown
Contributor Author

@bergzand squashed!

@bergzand bergzand added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Apr 7, 2020
@leandrolanzieri
Copy link
Copy Markdown
Contributor Author

@bergzand CI looks good

Copy link
Copy Markdown
Member

@bergzand bergzand left a comment

Choose a reason for hiding this comment

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

Straightforward integration of settings into Kconfig, nothing to see here →go

@bergzand bergzand merged commit 14706d7 into RIOT-OS:master Apr 8, 2020
@leandrolanzieri leandrolanzieri deleted the pr/kconfig_migrate/net/nanocoap branch April 8, 2020 08:57
@leandrolanzieri
Copy link
Copy Markdown
Contributor Author

@bergzand thanks for reviewing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: CoAP Area: Constrained Application Protocol implementations CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR TF: Config Marks issues and PRs related to the work of the Configuration Task Force Type: new feature The issue requests / The PR implemements a new feature for RIOT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants