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

kconfig: re-organize Kconfig symbols for menuconfig #494

Merged
merged 2 commits into from
May 22, 2024

Conversation

szczys
Copy link
Contributor

@szczys szczys commented May 17, 2024

Break Kconfig symbols out into files that group them by type. Update the Zephyr Kconfig to include the various new Kconfig groups into menus for better presentation in menuconfig.

resolves https://github.com/golioth/firmware-issue-tracker/issues/571

Copy link

github-actions bot commented May 17, 2024

Visit the preview URL for this PR (updated for commit cee18ef):

https://golioth-firmware-sdk-doxygen-dev--pr494-szczys-reorg-k-glx7m0vh.web.app

(expires Tue, 28 May 2024 22:49:59 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: a9993e61697a3983f3479e468bcb0b616f9a0578

Copy link

github-actions bot commented May 17, 2024

Code Coverage

Type Coverage
lines 58.7% (1259 of 2145 lines)
functions 65.8% (125 of 190 functions)

Copy link
Contributor

@sam-golioth sam-golioth left a comment

Choose a reason for hiding this comment

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

This is awesome, thanks @szczys!


menu "CoAP"

config LIBCOAP_TLS_HOSTNAME_LEN_MAX
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this used by the Zephyr port?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call, I added a commit before this one to remove the unused symbol.

src/Kconfig.coap Outdated
Maximum length of a CoAP path (everything after
"coaps://coap.golioth.io/").

config GOLIOTH_LIBCOAP_EXTRA_FDS_MAX
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we move this to somewhere in the port/ folder? So it only shows up for ports that are using libcoap.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I grepped the SDK and I don't see this symbol referenced anywhere else. I think it's a leftover from when we used libcoap with Zephyr so I removed it along with the symbol mentioned in the comment above. (This removal was done in a separate commit from the reorg work).

@szczys szczys marked this pull request as ready for review May 21, 2024 17:02
Remove symbols that were added for the libcoap-version of Zephyr support
but are no longer needed now that we use Zephyr-native coap

- LIBCOAP_TLS_HOSTNAME_LEN_MAX
- GOLIOTH_LIBCOAP_EXTRA_FDS_MAX

Signed-off-by: Mike Szczys <[email protected]>
Break Kconfig symbols out into files that group them by type. Update the
Zephyr and ESP-IDF Kconfig files to include the various new Kconfig groups
into menus for better presentation in menuconfig.

Signed-off-by: Mike Szczys <[email protected]>
@szczys szczys merged commit e4a30b7 into main May 22, 2024
41 of 42 checks passed
@szczys szczys deleted the szczys/reorg-kconfig branch May 22, 2024 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants