2018-11-05 23:45:00 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
config EXAMPLES_INA226
|
2019-10-06 14:14:39 +02:00
|
|
|
tristate "INA226 example"
|
2018-11-05 23:45:00 +01:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable the INA226 example
|
|
|
|
|
|
|
|
if EXAMPLES_INA226
|
|
|
|
|
|
|
|
config EXAMPLES_INA226_PROGNAME
|
|
|
|
string "Program name"
|
|
|
|
default "ina226"
|
|
|
|
---help---
|
2019-08-23 19:59:28 +02:00
|
|
|
This is the name of the program that will be used when the NSH ELF
|
2018-11-05 23:45:00 +01:00
|
|
|
program is installed.
|
|
|
|
|
|
|
|
config INA226_SHUNTVAL
|
|
|
|
int "Shunt resistor value in micro-ohms"
|
|
|
|
default 5000
|
|
|
|
---help---
|
|
|
|
The shunt resistor value in micro-ohms.
|
|
|
|
|
|
|
|
config INA226_DEVICE_PATH
|
|
|
|
string "INA226 device name"
|
|
|
|
default "/dev/ina226"
|
|
|
|
---help---
|
|
|
|
This is the name of the timer device that will be tested.
|
|
|
|
|
|
|
|
config EXAMPLES_INA226_PRIORITY
|
|
|
|
int "INA226 task priority"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
config EXAMPLES_INA226_STACKSIZE
|
|
|
|
int "INA226 stack size"
|
2020-03-27 06:10:33 +01:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2018-11-05 23:45:00 +01:00
|
|
|
|
|
|
|
endif
|