Use this short header style in all Kconfig files: # <description> # <copyright> # <license> ... Also change all <description>s from # Kconfig[.extension] - Foo-related options to just # Foo-related options It's clear enough that it's about Kconfig. The <description> cleanup was done with this command, along with some manual cleanup (big letter at the start, etc.) git ls-files '*Kconfig*' | \ xargs sed -i -E '1 s/#\s*Kconfig[\w.-]*\s*-\s*/# /' Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
53 lines
1.1 KiB
Plaintext
53 lines
1.1 KiB
Plaintext
# AMG88XX infrared thermopile sensor configuration options
|
|
|
|
# Copyright (c) 2017 Phytec Messtechnik GmbH
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig AMG88XX
|
|
bool "AMG88XX Infrared Thermopile Sensor"
|
|
depends on I2C
|
|
help
|
|
Enable driver for AMG88XX infrared thermopile sensor.
|
|
|
|
if AMG88XX
|
|
|
|
choice
|
|
prompt "Trigger mode"
|
|
default AMG88XX_TRIGGER_NONE
|
|
help
|
|
Specify the type of triggering used by the driver.
|
|
|
|
config AMG88XX_TRIGGER_NONE
|
|
bool "No trigger"
|
|
|
|
config AMG88XX_TRIGGER_GLOBAL_THREAD
|
|
bool "Use global thread"
|
|
depends on GPIO
|
|
select AMG88XX_TRIGGER
|
|
|
|
config AMG88XX_TRIGGER_OWN_THREAD
|
|
bool "Use own thread"
|
|
depends on GPIO
|
|
select AMG88XX_TRIGGER
|
|
|
|
endchoice
|
|
|
|
config AMG88XX_TRIGGER
|
|
bool
|
|
|
|
config AMG88XX_THREAD_PRIORITY
|
|
int "Thread priority"
|
|
depends on AMG88XX_TRIGGER_OWN_THREAD
|
|
default 10
|
|
help
|
|
Priority of thread used by the driver to handle interrupts.
|
|
|
|
config AMG88XX_THREAD_STACK_SIZE
|
|
int "Thread stack size"
|
|
depends on AMG88XX_TRIGGER_OWN_THREAD
|
|
default 1024
|
|
help
|
|
Stack size of thread used by the driver to handle interrupts.
|
|
|
|
endif # AMG88XX
|