-
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
gnrc/pktbuf : Expose Configurations to Kconfig #14056
Conversation
This needs rebasing |
Done |
It seems you are missing one macro rename Line 37 in daae5a1
|
Done. Added guards as well. |
Looks good. Please squash |
f9b0362
to
f4af1f2
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.
Changes look good to me. Let's move ahead with it.
This needs rebasing |
Add compile configuration 'GNRC_PKTBUF_SIZE' to 'net_gnrc_conf' group
Expose CONF_GNRC_PKTBUF_SIZE to Kconfig
Set Kconfig defaults for CPU and conditions to avoid conflict with CFLAGS Co-authored-by: Leandro Lanzieri <[email protected]>
Done. |
Contribution description
This PR exposes compile configurations in PKTBUF GNRC to Kconfig.
Testing procedure
The build works fine.
Test Files
Default State:
Firmware Output
Default
RIOT native interrupts/signals initialized.
LED_RED_OFF
LED_GREEN_ON
RIOT native board initialized.
RIOT native hardware initialization complete.
main(): This is RIOT! (Version: 2020.07-devel-507-g579f7-Kconfig_tests)
CONF_GNRC_PKTBUF_SIZE=(6144)
Usage with CFLAGS
/tests/gnrc_pktbuf/Makefile
Firmware Output
RIOT native interrupts/signals initialized.
LED_RED_OFF
LED_GREEN_ON
RIOT native board initialized.
RIOT native hardware initialization complete.
main(): This is RIOT! (Version: 2020.07-devel-507-g579f7-Kconfig_tests)
CONF_GNRC_PKTBUF_SIZE=5000
Usage with Kconfig
/tests/gnrc_pktbuf
Firmware Output
RIOT native interrupts/signals initialized.
LED_RED_OFF
LED_GREEN_ON
RIOT native board initialized.
RIOT native hardware initialization complete.
main(): This is RIOT! (Version: 2020.07-devel-507-g579f7-Kconfig_tests)
CONF_GNRC_PKTBUF_SIZE=8000
Issues/PRs references
#12888
@leandrolanzieri