Files
nuttx-apps/examples/ads7046/Kconfig
Niccolò Maggioni dfd1eb0672 examples/ads7046: Add new example for ADS7046 ADC
Add a new example that shows how to read a sample from
an ADS7046 ADC sensor registered on the SPI bus.

Signed-off-by: Niccolò Maggioni <nicco.maggioni+nuttx@gmail.com>
2025-08-20 02:28:15 +08:00

37 lines
785 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config EXAMPLES_ADS7046
tristate "ADS7046 ADC example"
default n
depends on ADC_ADS7046
---help---
Enable the ADS7046 example
if EXAMPLES_ADS7046
config EXAMPLES_ADS7046_PROGNAME
string "Program name"
default "ads7046"
---help---
This is the name of the program that will be used when the NSH ELF
program is installed.
config EXAMPLES_ADS7046_PRIORITY
int "ADS7046 task priority"
default 100
config EXAMPLES_ADS7046_STACKSIZE
int "ADS7046 stack size"
default DEFAULT_TASK_STACKSIZE
config EXAMPLES_ADS7046_DEVPATH
string "ADS7046 device path"
default "/dev/adc0"
---help---
The default path to the ADS7046 ADC device
endif