[riot-notifications] [RIOT-OS/RIOT] gnrc/pktbuf : Expose Configurations to Kconfig (#14056)

Akshai M (Augustus Diode) notifications at github.com
Mon May 11 19:50:48 CEST 2020


### Contribution description

This PR exposes compile configurations in PKTBUF GNRC to Kconfig.

### Testing procedure

1. New documentation was built using doxygen 

The build works fine.

2. Test folder and files were introduced to show the macro on Native environment.

[Test Files
](https://github.com/akshaim/RIOT/commit/31eea9ec7376945045a8ebe52a85d0bf71c69b31)

#### 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](https://github.com/akshaim/RIOT/commit/31eea9ec7376945045a8ebe52a85d0bf71c69b31)

> CFLAGS += -DCONFIG_GNRC_PKTBUF_SIZE=5000

##### 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

> make menuconfig

##### 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 

You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/14056

-- Commit Summary --

  * gnrc/pktbuf : Update documentation
  * gnrc/pktbuf : Add CONFIG_
  * gnrc/pktbuf : Expose to Kconfig

-- File Changes --

    M cpu/msp430_common/include/cpu_conf.h (4)
    M cpu/native/include/cpu_conf.h (6)
    M cpu/nrf51/include/cpu_conf.h (4)
    M examples/default/Makefile (2)
    M examples/gnrc_lorawan/Makefile (2)
    M examples/gnrc_minimal/Makefile (2)
    M examples/nanocoap_server/Makefile (2)
    M examples/suit_update/Makefile (2)
    M sys/include/net/gnrc/pktbuf.h (20)
    M sys/net/gnrc/Kconfig (1)
    A sys/net/gnrc/pktbuf/Kconfig (24)
    M sys/net/gnrc/pktbuf_malloc/gnrc_pktbuf_malloc.c (6)
    M sys/net/gnrc/pktbuf_static/gnrc_pktbuf_static.c (32)
    M tests/conn_can/Makefile (2)
    M tests/driver_encx24j600/Makefile (2)
    M tests/driver_netdev_common/Makefile (4)
    M tests/driver_xbee/Makefile (2)
    M tests/gnrc_gomach/Makefile (2)
    M tests/gnrc_ipv6_fwd_w_sub/Makefile (2)
    M tests/gnrc_ipv6_nib/Makefile (2)
    M tests/gnrc_ipv6_nib_6ln/Makefile (2)
    M tests/gnrc_ipv6_nib_dns/Makefile (2)
    M tests/gnrc_lwmac/Makefile (2)
    M tests/gnrc_ndp/Makefile (2)
    M tests/gnrc_ndp/main.c (34)
    M tests/gnrc_sixlowpan_frag/Makefile (2)
    M tests/gnrc_sixlowpan_iphc_w_vrb/Makefile (2)
    M tests/gnrc_sock_async_event/Makefile (2)
    M tests/gnrc_sock_dns/Makefile (2)
    M tests/gnrc_sock_ip/Makefile (2)
    M tests/gnrc_sock_neterr/Makefile (2)
    M tests/gnrc_sock_udp/Makefile (2)
    M tests/gnrc_udp/Makefile (2)
    M tests/netdev_test/Makefile (2)
    M tests/pkg_microcoap/Makefile (2)
    M tests/riotboot_flashwrite/Makefile (2)
    M tests/unittests/tests-pktbuf/tests-pktbuf.c (14)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/14056.patch
https://github.com/RIOT-OS/RIOT/pull/14056.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/14056
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200511/179dabb2/attachment-0001.htm>


More information about the notifications mailing list