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

Martine Lenders notifications at github.com
Tue May 12 13:12:14 CEST 2020


@miri64 commented on this pull request.



> +# Copyright (c) 2020 Freie Universitaet Berlin
+#
+# This file is subject to the terms and conditions of the GNU Lesser
+# General Public License v2.1. See the file LICENSE in the top level
+# directory for more details.
+#
+menuconfig KCONFIG_MODULE_GNRC_PKTBUF
+    bool "Configure GNRC_PKTBUF"
+    depends on MODULE_GNRC_PKTBUF
+    help
+        Configure the GNRC_PKTBUF using Kconfig.
+
+if KCONFIG_MODULE_GNRC_PKTBUF
+
+config GNRC_PKTBUF_SIZE
+    int "Maximum size of the static packet buffer"

Other modules utilizing `GNRC_PKTBUF_SIZE`—if there ever will be some—could be or'd into the if above. For `gnrc_pktbuf_malloc`, `GNRC_PKTBUF_SIZE` is not used and doesn't make sense either, so this is why I think this should be clarified in the menu config.

-- 
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#discussion_r423651824
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200512/bce6ca90/attachment.htm>


More information about the notifications mailing list