zephyr/samples/modules/nanopb/Kconfig
Pieter De Gendt 44e8123da3 samples: modules: nanopb: Demonstrate skipping fields with Kconfig
Extend the nanopb sample with a Kconfig option to optionally include
a field in a protobuf message.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-03-01 10:21:34 +00:00

20 lines
415 B
Plaintext

# Private config options for nanopb app
# Copyright (c) 2024 Basalte bv
# SPDX-License-Identifier: Apache-2.0
mainmenu "Nanopb protobuf sample application"
config SAMPLE_BUFFER_SIZE
int "Simple message buffer size"
default 8
help
Configure the simple message buffer field's size.
config SAMPLE_UNLUCKY_NUMBER
bool "Unlucky number field"
help
Enable the unlucky number field.
source "Kconfig.zephyr"