Kconfig: Use a short, consistent style for prompts
Consistently use config FOO bool/int/hex/string "Prompt text" instead of config FOO bool/int/hex/string prompt "Prompt text" (...and a bunch of other variations that e.g. swapped the order of the type and the 'prompt', or put other properties between them). The shorthand is fully equivalent to using 'prompt'. It saves lines and avoids tricking people into thinking there is some semantic difference. Most of the grunt work was done by a modified version of https://unix.stackexchange.com/questions/26284/ how-can-i-use-sed-to-replace-a-multi-line-string/26290#26290, but some of the rarer variations had to be converted manually. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
bb0b66e15a
commit
8cf8db3a73
18
arch/Kconfig
18
arch/Kconfig
|
@ -127,8 +127,7 @@ config DYNAMIC_OBJECTS
|
|||
zero.
|
||||
|
||||
config SIMPLE_FATAL_ERROR_HANDLER
|
||||
prompt "Simple system fatal error handler"
|
||||
bool
|
||||
bool "Simple system fatal error handler"
|
||||
default y if !MULTITHREADING
|
||||
help
|
||||
Provides an implementation of _SysFatalErrorHandler() that hard hangs
|
||||
|
@ -141,16 +140,14 @@ menu "Interrupt Configuration"
|
|||
# Interrupt related configs
|
||||
#
|
||||
config GEN_ISR_TABLES
|
||||
bool
|
||||
prompt "Use generated IRQ tables"
|
||||
bool "Use generated IRQ tables"
|
||||
help
|
||||
This option controls whether a platform uses the gen_isr_tables
|
||||
script to generate its interrupt tables. This mechanism will create
|
||||
an appropriate hardware vector table and/or software IRQ table.
|
||||
|
||||
config GEN_IRQ_VECTOR_TABLE
|
||||
bool
|
||||
prompt "Generate an interrupt vector table"
|
||||
bool "Generate an interrupt vector table"
|
||||
default y
|
||||
depends on GEN_ISR_TABLES
|
||||
help
|
||||
|
@ -162,8 +159,7 @@ config GEN_IRQ_VECTOR_TABLE
|
|||
supplied by the application or architecture code.
|
||||
|
||||
config GEN_SW_ISR_TABLE
|
||||
bool
|
||||
prompt "Generate a software ISR table"
|
||||
bool "Generate a software ISR table"
|
||||
default y
|
||||
depends on GEN_ISR_TABLES
|
||||
help
|
||||
|
@ -267,8 +263,7 @@ menu "Floating Point Options"
|
|||
depends on CPU_HAS_FPU
|
||||
|
||||
config FLOAT
|
||||
bool
|
||||
prompt "Floating point registers"
|
||||
bool "Floating point registers"
|
||||
help
|
||||
This option allows threads to use the floating point registers.
|
||||
By default, only a single thread may use the registers.
|
||||
|
@ -277,8 +272,7 @@ config FLOAT
|
|||
floating point register will get a fatal exception.
|
||||
|
||||
config FP_SHARING
|
||||
bool
|
||||
prompt "Floating point register sharing"
|
||||
bool "Floating point register sharing"
|
||||
depends on FLOAT
|
||||
help
|
||||
This option allows multiple threads to use the floating point
|
||||
|
|
|
@ -59,8 +59,7 @@ config DATA_ENDIANNESS_LITTLE
|
|||
implemented as big endian.
|
||||
|
||||
config NUM_IRQ_PRIO_LEVELS
|
||||
int
|
||||
prompt "Number of supported interrupt priority levels"
|
||||
int "Number of supported interrupt priority levels"
|
||||
range 1 16
|
||||
help
|
||||
Interrupt priorities available will be 0 to NUM_IRQ_PRIO_LEVELS-1.
|
||||
|
@ -69,8 +68,7 @@ config NUM_IRQ_PRIO_LEVELS
|
|||
The BSP must provide a valid default for proper operation.
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
prompt "Upper limit of interrupt numbers/IDs used"
|
||||
int "Upper limit of interrupt numbers/IDs used"
|
||||
range 17 256
|
||||
help
|
||||
Interrupts available will be 0 to NUM_IRQS-1.
|
||||
|
@ -81,8 +79,7 @@ config NUM_IRQS
|
|||
vector table.
|
||||
|
||||
config RGF_NUM_BANKS
|
||||
int
|
||||
prompt "Number of General Purpose Register Banks"
|
||||
int "Number of General Purpose Register Banks"
|
||||
depends on CPU_ARCV2
|
||||
range 1 2
|
||||
default 2
|
||||
|
@ -95,8 +92,7 @@ config RGF_NUM_BANKS
|
|||
and restore general purpose registers.
|
||||
|
||||
config ARC_FIRQ
|
||||
bool
|
||||
prompt "FIRQ enable"
|
||||
bool "FIRQ enable"
|
||||
default y
|
||||
help
|
||||
Fast interrupts are supported (FIRQ). If FIRQ enabled, for interrupts
|
||||
|
@ -114,8 +110,7 @@ config ARC_STACK_CHECKING
|
|||
enables code that allows using this debug feature
|
||||
|
||||
config FAULT_DUMP
|
||||
int
|
||||
prompt "Fault dump level"
|
||||
int "Fault dump level"
|
||||
default 2
|
||||
range 0 2
|
||||
help
|
||||
|
@ -139,15 +134,13 @@ config GEN_IRQ_START_VECTOR
|
|||
default 16
|
||||
|
||||
config HARVARD
|
||||
prompt "Harvard Architecture"
|
||||
bool
|
||||
bool "Harvard Architecture"
|
||||
help
|
||||
The ARC CPU can be configured to have two busses;
|
||||
one for instruction fetching and another that serves as a data bus.
|
||||
|
||||
config CODE_DENSITY
|
||||
prompt "Code Density Option"
|
||||
bool
|
||||
bool "Code Density Option"
|
||||
help
|
||||
Enable code density option to get better code density
|
||||
|
||||
|
@ -172,8 +165,7 @@ source "arch/arc/core/mpu/Kconfig"
|
|||
endmenu
|
||||
|
||||
config CACHE_LINE_SIZE_DETECT
|
||||
bool
|
||||
prompt "Detect d-cache line size at runtime"
|
||||
bool "Detect d-cache line size at runtime"
|
||||
help
|
||||
This option enables querying the d-cache build register for finding
|
||||
the d-cache line size at the expense of taking more memory and code
|
||||
|
@ -183,8 +175,7 @@ config CACHE_LINE_SIZE_DETECT
|
|||
option and manually enter the value for CACHE_LINE_SIZE.
|
||||
|
||||
config CACHE_LINE_SIZE
|
||||
int
|
||||
prompt "Cache line size" if !CACHE_LINE_SIZE_DETECT
|
||||
int "Cache line size" if !CACHE_LINE_SIZE_DETECT
|
||||
default 32
|
||||
help
|
||||
Size in bytes of a CPU d-cache line.
|
||||
|
@ -195,8 +186,7 @@ config ARCH_CACHE_FLUSH_DETECT
|
|||
bool
|
||||
|
||||
config CACHE_FLUSHING
|
||||
bool
|
||||
prompt "Enable d-cache flushing mechanism"
|
||||
bool "Enable d-cache flushing mechanism"
|
||||
help
|
||||
This links in the sys_cache_flush() function, which provides a
|
||||
way to flush multiple lines of the d-cache.
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
config ARC_MPU_VER
|
||||
int
|
||||
prompt "ARC MPU version"
|
||||
int "ARC MPU version"
|
||||
range 2 4
|
||||
default 2
|
||||
help
|
||||
|
|
|
@ -276,16 +276,14 @@ config DATA_ENDIANNESS_LITTLE
|
|||
implemented as big endian.
|
||||
|
||||
config STACK_ALIGN_DOUBLE_WORD
|
||||
bool
|
||||
prompt "Align stacks on double-words (8 octets)"
|
||||
bool "Align stacks on double-words (8 octets)"
|
||||
default y
|
||||
help
|
||||
This is needed to conform to AAPCS, the procedure call standard for
|
||||
the ARM. It wastes stack space.
|
||||
|
||||
config RUNTIME_NMI
|
||||
bool
|
||||
prompt "Attach an NMI handler at runtime"
|
||||
bool "Attach an NMI handler at runtime"
|
||||
select REBOOT
|
||||
help
|
||||
The kernel provides a simple NMI handler that simply hangs in a tight
|
||||
|
@ -294,8 +292,7 @@ config RUNTIME_NMI
|
|||
needed, enable this option and attach it via _NmiHandlerSet().
|
||||
|
||||
config FAULT_DUMP
|
||||
int
|
||||
prompt "Fault dump level"
|
||||
int "Fault dump level"
|
||||
default 2
|
||||
range 0 2
|
||||
help
|
||||
|
@ -320,8 +317,7 @@ config GEN_ISR_TABLES
|
|||
default y
|
||||
|
||||
config ZERO_LATENCY_IRQS
|
||||
bool
|
||||
prompt "Enable zero-latency interrupts"
|
||||
bool "Enable zero-latency interrupts"
|
||||
depends on CPU_CORTEX_M_HAS_BASEPRI
|
||||
help
|
||||
The kernel may reserve some of the highest interrupts priorities in
|
||||
|
@ -337,8 +333,7 @@ config ZERO_LATENCY_IRQS
|
|||
kernel functionality.
|
||||
|
||||
config SW_VECTOR_RELAY
|
||||
bool
|
||||
prompt "Enable Software Vector Relay"
|
||||
bool "Enable Software Vector Relay"
|
||||
default y if BOOTLOADER_MCUBOOT
|
||||
depends on ARMV6_M_ARMV8_M_BASELINE && !(CPU_CORTEX_M0_HAS_VECTOR_TABLE_REMAP || CPU_CORTEX_M_HAS_VTOR)
|
||||
help
|
||||
|
@ -350,8 +345,7 @@ config SW_VECTOR_RELAY
|
|||
relocation table mechanisms.
|
||||
|
||||
config PLATFORM_SPECIFIC_INIT
|
||||
bool
|
||||
prompt "Enable platform (SOC) specific startup hook"
|
||||
bool "Enable platform (SOC) specific startup hook"
|
||||
help
|
||||
The platform specific initialization code (_PlatformInit) is executed
|
||||
at the beginning of the startup code (__start).
|
||||
|
|
|
@ -68,32 +68,28 @@ config SOC_PART_NUMBER_KINETIS_K6X
|
|||
the default value for this string.
|
||||
|
||||
config K64_CORE_CLOCK_DIVIDER
|
||||
int
|
||||
prompt "Freescale K64 core clock divider"
|
||||
int "Freescale K64 core clock divider"
|
||||
default 1
|
||||
help
|
||||
This option specifies the divide value for the K64 processor core clock
|
||||
from the system clock.
|
||||
|
||||
config K64_BUS_CLOCK_DIVIDER
|
||||
int
|
||||
prompt "Freescale K64 bus clock divider"
|
||||
int "Freescale K64 bus clock divider"
|
||||
default 2
|
||||
help
|
||||
This option specifies the divide value for the K64 bus clock from the
|
||||
system clock.
|
||||
|
||||
config K64_FLEXBUS_CLOCK_DIVIDER
|
||||
int
|
||||
prompt "Freescale K64 FlexBus clock divider"
|
||||
int "Freescale K64 FlexBus clock divider"
|
||||
default 3
|
||||
help
|
||||
This option specifies the divide value for the K64 FlexBus clock from the
|
||||
system clock.
|
||||
|
||||
config K64_FLASH_CLOCK_DIVIDER
|
||||
int
|
||||
prompt "Freescale K64 flash clock divider"
|
||||
int "Freescale K64 flash clock divider"
|
||||
default 5
|
||||
help
|
||||
This option specifies the divide value for the K64 flash clock from the
|
||||
|
|
|
@ -88,24 +88,21 @@ config SOC_PART_NUMBER_KINETIS_KWX
|
|||
if SOC_MKW24D5 || SOC_MKW22D5
|
||||
|
||||
config KW2XD_CORE_CLOCK_DIVIDER
|
||||
int
|
||||
prompt "KW2xD core clock divider"
|
||||
int "KW2xD core clock divider"
|
||||
default 1
|
||||
help
|
||||
This option specifies the divide value for the KW2xD processor core
|
||||
clock from the system clock.
|
||||
|
||||
config KW2XD_BUS_CLOCK_DIVIDER
|
||||
int
|
||||
prompt "KW2xD bus clock divider"
|
||||
int "KW2xD bus clock divider"
|
||||
default 1
|
||||
help
|
||||
This option specifies the divide value for the KW2xD bus clock from
|
||||
the system clock.
|
||||
|
||||
config KW2XD_FLASH_CLOCK_DIVIDER
|
||||
int
|
||||
prompt "KW2xD flash clock divider"
|
||||
int "KW2xD flash clock divider"
|
||||
default 2
|
||||
help
|
||||
This option specifies the divide value for the KW2xD flash clock from
|
||||
|
|
|
@ -64,8 +64,7 @@ config CPU_APOLLO_LAKE
|
|||
menu "Processor Capabilities"
|
||||
|
||||
config X86_IAMCU
|
||||
bool
|
||||
prompt "IAMCU calling convention"
|
||||
bool "IAMCU calling convention"
|
||||
help
|
||||
The IAMCU calling convention changes the X86 C calling convention to
|
||||
pass some arguments via registers allowing for code size and performance
|
||||
|
@ -76,16 +75,14 @@ config X86_IAMCU
|
|||
|
||||
menu "Memory Management"
|
||||
config X86_MMU
|
||||
bool
|
||||
prompt "Enable Memory Management Unit"
|
||||
bool "Enable Memory Management Unit"
|
||||
help
|
||||
This options enables the memory management unit present in x86. Enabling
|
||||
this will create boot time page table structure.
|
||||
|
||||
config X86_PAE_MODE
|
||||
bool
|
||||
bool "Enable PAE page tables"
|
||||
depends on X86_MMU
|
||||
prompt "Enable PAE page tables"
|
||||
help
|
||||
When selected the Page address extension mode is enabled. The PAE
|
||||
page tables provides a mechanism to selectively disable execution.
|
||||
|
@ -152,15 +149,13 @@ menu "Architecture Floating Point Options"
|
|||
depends on CPU_HAS_FPU
|
||||
|
||||
config SSE
|
||||
bool
|
||||
prompt "SSE registers"
|
||||
bool "SSE registers"
|
||||
depends on FLOAT
|
||||
help
|
||||
This option enables the use of SSE registers by threads.
|
||||
|
||||
config SSE_FP_MATH
|
||||
bool
|
||||
prompt "Compiler-generated SSEx instructions"
|
||||
bool "Compiler-generated SSEx instructions"
|
||||
depends on SSE
|
||||
help
|
||||
This option allows the compiler to generate SSEx instructions for
|
||||
|
@ -180,8 +175,7 @@ depends on REBOOT
|
|||
default REBOOT_RST_CNT
|
||||
|
||||
config REBOOT_RST_CNT
|
||||
bool
|
||||
prompt "Reboot via RST_CNT register"
|
||||
bool "Reboot via RST_CNT register"
|
||||
help
|
||||
Reboot via the RST_CNT register, going back to BIOS.
|
||||
|
||||
|
@ -196,8 +190,7 @@ config ISA_IA32
|
|||
instruction set architecture.
|
||||
|
||||
config IA32_LEGACY_IO_PORTS
|
||||
bool
|
||||
prompt "Support IA32 legacy IO ports"
|
||||
bool "Support IA32 legacy IO ports"
|
||||
depends on ISA_IA32
|
||||
help
|
||||
This option enables IA32 legacy IO ports. Note these are much slower
|
||||
|
@ -230,8 +223,7 @@ config CACHE_LINE_SIZE
|
|||
Detect automatically at runtime by selecting CACHE_LINE_SIZE_DETECT.
|
||||
|
||||
config CLFLUSH_INSTRUCTION_SUPPORTED
|
||||
bool
|
||||
prompt "CLFLUSH instruction supported"
|
||||
bool "CLFLUSH instruction supported"
|
||||
depends on !CLFLUSH_DETECT && CACHE_FLUSHING
|
||||
help
|
||||
An implementation of sys_cache_flush() that uses CLFLUSH is made
|
||||
|
@ -242,8 +234,7 @@ config CLFLUSH_INSTRUCTION_SUPPORTED
|
|||
CLFLUSH support thereby reducing both memory footprint and boot time.
|
||||
|
||||
config CLFLUSH_DETECT
|
||||
bool
|
||||
prompt "Detect support of CLFLUSH instruction at runtime"
|
||||
bool "Detect support of CLFLUSH instruction at runtime"
|
||||
depends on CACHE_FLUSHING
|
||||
help
|
||||
This option should be enabled if it is not known in advance whether the
|
||||
|
@ -262,8 +253,7 @@ config ARCH_CACHE_FLUSH_DETECT
|
|||
depends on CLFLUSH_DETECT
|
||||
|
||||
config CACHE_FLUSHING
|
||||
bool
|
||||
prompt "Enable cache flushing mechanism"
|
||||
bool "Enable cache flushing mechanism"
|
||||
help
|
||||
This links in the sys_cache_flush() function. A mechanism for flushing the
|
||||
cache must be selected as well. By default, that mechanism is discovered at
|
||||
|
|
|
@ -7,15 +7,13 @@
|
|||
#
|
||||
|
||||
config NESTED_INTERRUPTS
|
||||
bool
|
||||
prompt "Enable nested interrupts"
|
||||
bool "Enable nested interrupts"
|
||||
default y
|
||||
help
|
||||
This option enables support for nested interrupts.
|
||||
|
||||
config EXCEPTION_DEBUG
|
||||
bool
|
||||
prompt "Unhandled exception debugging"
|
||||
bool "Unhandled exception debugging"
|
||||
default y
|
||||
depends on PRINTK
|
||||
help
|
||||
|
@ -27,8 +25,7 @@ config EXCEPTION_DEBUG
|
|||
menu "Memory Layout Options"
|
||||
|
||||
config IDT_NUM_VECTORS
|
||||
int
|
||||
prompt "Number of IDT vectors"
|
||||
int "Number of IDT vectors"
|
||||
default 256
|
||||
range 32 256
|
||||
help
|
||||
|
@ -37,8 +34,7 @@ config IDT_NUM_VECTORS
|
|||
supported in an IDT requiring 2048 bytes of memory.
|
||||
|
||||
config MAX_IRQ_LINES
|
||||
int
|
||||
prompt "Number of IRQ lines"
|
||||
int "Number of IRQ lines"
|
||||
default 128
|
||||
range 0 256
|
||||
help
|
||||
|
@ -49,8 +45,7 @@ config MAX_IRQ_LINES
|
|||
interrupts.
|
||||
|
||||
config SET_GDT
|
||||
bool
|
||||
prompt "Setup GDT as part of boot process"
|
||||
bool "Setup GDT as part of boot process"
|
||||
default y
|
||||
help
|
||||
This option sets up the GDT as part of the boot process. However,
|
||||
|
@ -60,8 +55,7 @@ config SET_GDT
|
|||
will not be available.
|
||||
|
||||
config GDT_DYNAMIC
|
||||
bool
|
||||
prompt "Store GDT in RAM so that it can be modified"
|
||||
bool "Store GDT in RAM so that it can be modified"
|
||||
depends on SET_GDT
|
||||
help
|
||||
This option stores the GDT in RAM instead of ROM, so that it may
|
||||
|
@ -70,8 +64,7 @@ config GDT_DYNAMIC
|
|||
endmenu
|
||||
|
||||
config DISABLE_SSBD
|
||||
bool
|
||||
prompt "Disable Speculative Store Bypass"
|
||||
bool "Disable Speculative Store Bypass"
|
||||
depends on USERSPACE
|
||||
default y if !X86_NO_SPECTRE_V4
|
||||
help
|
||||
|
|
|
@ -28,8 +28,7 @@ config ARC_INIT
|
|||
Allows x86 processor to kickoff the ARC slave processor.
|
||||
|
||||
config SYS_LOG_ARC_INIT_LEVEL
|
||||
int
|
||||
prompt "Quark SE Sensor Subsystem log level"
|
||||
int "Quark SE Sensor Subsystem log level"
|
||||
depends on SYS_LOG
|
||||
default 0
|
||||
help
|
||||
|
|
|
@ -10,16 +10,14 @@
|
|||
# ADC options
|
||||
#
|
||||
menuconfig ADC
|
||||
bool
|
||||
prompt "ADC drivers"
|
||||
bool "ADC drivers"
|
||||
help
|
||||
Enable ADC (Analog to Digital Converter) driver configuration
|
||||
|
||||
if ADC
|
||||
|
||||
config SYS_LOG_ADC_LEVEL
|
||||
int
|
||||
prompt "ADC drivers log level"
|
||||
int "ADC drivers log level"
|
||||
depends on SYS_LOG
|
||||
default 0
|
||||
range 0 4
|
||||
|
@ -40,9 +38,8 @@ config SYS_LOG_ADC_LEVEL
|
|||
- 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
|
||||
|
||||
config ADC_INIT_PRIORITY
|
||||
int
|
||||
int "Init priority"
|
||||
default 80
|
||||
prompt "Init priority"
|
||||
help
|
||||
ADC Device driver initialization priority.
|
||||
|
||||
|
@ -55,9 +52,8 @@ config ADC_0_NAME
|
|||
default "ADC_0"
|
||||
|
||||
config ADC_0_IRQ_PRI
|
||||
int
|
||||
int "ADC 0 interrupt priority"
|
||||
depends on ADC_0 && !HAS_DTS_ADC
|
||||
prompt "ADC 0 interrupt priority"
|
||||
default 2
|
||||
|
||||
config ADC_1
|
||||
|
@ -69,9 +65,8 @@ config ADC_1_NAME
|
|||
default "ADC_1"
|
||||
|
||||
config ADC_1_IRQ_PRI
|
||||
int
|
||||
int "ADC 1 interrupt priority"
|
||||
depends on ADC_1 && !HAS_DTS_ADC
|
||||
prompt "ADC 1 interrupt priority"
|
||||
default 2
|
||||
|
||||
source "drivers/adc/Kconfig.dw"
|
||||
|
|
|
@ -10,8 +10,7 @@
|
|||
# AIO/Comparator options
|
||||
#
|
||||
menuconfig AIO_COMPARATOR
|
||||
bool
|
||||
prompt "AIO/Comparator Configuration"
|
||||
bool "AIO/Comparator Configuration"
|
||||
|
||||
if AIO_COMPARATOR
|
||||
menuconfig AIO_COMPARATOR_QMSI
|
||||
|
|
|
@ -10,8 +10,7 @@
|
|||
# Clock controller drivers
|
||||
#
|
||||
menuconfig CLOCK_CONTROL
|
||||
bool
|
||||
prompt "Hardware clock controller support"
|
||||
bool "Hardware clock controller support"
|
||||
help
|
||||
Enable support for hardware clock controller. Such hardware can
|
||||
provide clock for other subsystem, and thus can be also used for
|
||||
|
@ -21,8 +20,7 @@ menuconfig CLOCK_CONTROL
|
|||
if CLOCK_CONTROL
|
||||
|
||||
config SYS_LOG_CLOCK_CONTROL_LEVEL
|
||||
int
|
||||
prompt "Hardware clock controller drivers log level"
|
||||
int "Hardware clock controller drivers log level"
|
||||
depends on SYS_LOG
|
||||
default 0
|
||||
help
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
if SOC_FAMILY_ARM
|
||||
|
||||
menuconfig CLOCK_CONTROL_BEETLE
|
||||
bool
|
||||
prompt "BEETLE Clock Control"
|
||||
bool "BEETLE Clock Control"
|
||||
depends on SOC_SERIES_BEETLE
|
||||
default y if SOC_SERIES_BEETLE
|
||||
help
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
menuconfig CLOCK_CONTROL_MCUX_CCM
|
||||
bool
|
||||
prompt "MCUX CCM driver"
|
||||
bool "MCUX CCM driver"
|
||||
depends on HAS_MCUX_CCM
|
||||
help
|
||||
Enable support for mcux ccm driver.
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
menuconfig CLOCK_CONTROL_MCUX_SIM
|
||||
bool
|
||||
prompt "MCUX SIM driver"
|
||||
bool "MCUX SIM driver"
|
||||
depends on HAS_MCUX_SIM
|
||||
help
|
||||
Enable support for mcux sim driver.
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
menuconfig CLOCK_CONTROL_NRF5
|
||||
bool
|
||||
prompt "NRF5 Clock controller support"
|
||||
bool "NRF5 Clock controller support"
|
||||
depends on SOC_FAMILY_NRF
|
||||
help
|
||||
Enable support for the Nordic Semiconductor nRF5x series SoC clock
|
||||
|
@ -15,21 +14,18 @@ menuconfig CLOCK_CONTROL_NRF5
|
|||
if CLOCK_CONTROL_NRF5
|
||||
|
||||
config CLOCK_CONTROL_NRF5_IRQ_PRIORITY
|
||||
int
|
||||
prompt "Power Clock Interrupt Priority"
|
||||
int "Power Clock Interrupt Priority"
|
||||
range 0 7
|
||||
default 1
|
||||
help
|
||||
The interrupt priority for Power Clock interrupt.
|
||||
|
||||
config CLOCK_CONTROL_NRF5_M16SRC_DRV_NAME
|
||||
string
|
||||
prompt "NRF5 16MHz clock device name"
|
||||
string "NRF5 16MHz clock device name"
|
||||
default "clk_m16src"
|
||||
|
||||
config CLOCK_CONTROL_NRF5_K32SRC_DRV_NAME
|
||||
string
|
||||
prompt "NRF5 32KHz clock device name"
|
||||
string "NRF5 32KHz clock device name"
|
||||
default "clk_k32src"
|
||||
|
||||
choice
|
||||
|
@ -37,18 +33,15 @@ choice
|
|||
default CLOCK_CONTROL_NRF5_K32SRC_XTAL
|
||||
|
||||
config CLOCK_CONTROL_NRF5_K32SRC_RC
|
||||
bool
|
||||
prompt "RC Oscillator"
|
||||
bool "RC Oscillator"
|
||||
|
||||
config CLOCK_CONTROL_NRF5_K32SRC_XTAL
|
||||
bool
|
||||
prompt "Crystal Oscillator"
|
||||
bool "Crystal Oscillator"
|
||||
|
||||
endchoice
|
||||
|
||||
config CLOCK_CONTROL_NRF5_K32SRC_BLOCKING
|
||||
bool
|
||||
prompt "Blocking 32KHz crystal oscillator startup"
|
||||
bool "Blocking 32KHz crystal oscillator startup"
|
||||
depends on CLOCK_CONTROL_NRF5_K32SRC_XTAL
|
||||
help
|
||||
Clock control driver will spin wait in CPU sleep until 32KHz
|
||||
|
@ -62,36 +55,28 @@ choice
|
|||
default CLOCK_CONTROL_NRF5_K32SRC_20PPM
|
||||
|
||||
config CLOCK_CONTROL_NRF5_K32SRC_500PPM
|
||||
bool
|
||||
prompt "251 ppm to 500 ppm"
|
||||
bool "251 ppm to 500 ppm"
|
||||
|
||||
config CLOCK_CONTROL_NRF5_K32SRC_250PPM
|
||||
bool
|
||||
prompt "151 ppm to 250 ppm"
|
||||
bool "151 ppm to 250 ppm"
|
||||
|
||||
config CLOCK_CONTROL_NRF5_K32SRC_150PPM
|
||||
bool
|
||||
prompt "101 ppm to 150 ppm"
|
||||
bool "101 ppm to 150 ppm"
|
||||
|
||||
config CLOCK_CONTROL_NRF5_K32SRC_100PPM
|
||||
bool
|
||||
prompt "76 ppm to 100 ppm"
|
||||
bool "76 ppm to 100 ppm"
|
||||
|
||||
config CLOCK_CONTROL_NRF5_K32SRC_75PPM
|
||||
bool
|
||||
prompt "51 ppm to 75 ppm"
|
||||
bool "51 ppm to 75 ppm"
|
||||
|
||||
config CLOCK_CONTROL_NRF5_K32SRC_50PPM
|
||||
bool
|
||||
prompt "31 ppm to 50 ppm"
|
||||
bool "31 ppm to 50 ppm"
|
||||
|
||||
config CLOCK_CONTROL_NRF5_K32SRC_30PPM
|
||||
bool
|
||||
prompt "21 ppm to 30 ppm"
|
||||
bool "21 ppm to 30 ppm"
|
||||
|
||||
config CLOCK_CONTROL_NRF5_K32SRC_20PPM
|
||||
bool
|
||||
prompt "0 ppm to 20 ppm"
|
||||
bool "0 ppm to 20 ppm"
|
||||
|
||||
endchoice
|
||||
|
||||
|
|
|
@ -7,47 +7,40 @@
|
|||
#
|
||||
|
||||
menuconfig CLOCK_CONTROL_QUARK_SE
|
||||
bool
|
||||
prompt "Quark SE Clock controller support"
|
||||
bool "Quark SE Clock controller support"
|
||||
help
|
||||
Enable support for the Quark SE clock driver.
|
||||
|
||||
if CLOCK_CONTROL_QUARK_SE
|
||||
|
||||
config CLOCK_CONTROL_QUARK_SE_PERIPHERAL
|
||||
bool
|
||||
prompt "Quark SE peripheral clock support"
|
||||
bool "Quark SE peripheral clock support"
|
||||
help
|
||||
Enable support for Quark SE peripheral clock which controls the
|
||||
clock of I2C, SPI, GPIO controllers and more.
|
||||
|
||||
config CLOCK_CONTROL_QUARK_SE_PERIPHERAL_DRV_NAME
|
||||
string
|
||||
prompt "Quark SE peripheral clock device name"
|
||||
string "Quark SE peripheral clock device name"
|
||||
depends on CLOCK_CONTROL_QUARK_SE_PERIPHERAL
|
||||
default "clk_peripheral"
|
||||
|
||||
config CLOCK_CONTROL_QUARK_SE_EXTERNAL
|
||||
bool
|
||||
prompt "Quark SE external clock support"
|
||||
bool "Quark SE external clock support"
|
||||
help
|
||||
Enable support for Quark SE external sub-system clock.
|
||||
|
||||
config CLOCK_CONTROL_QUARK_SE_EXTERNAL_DRV_NAME
|
||||
string
|
||||
prompt "Quark SE external clock device name"
|
||||
string "Quark SE external clock device name"
|
||||
depends on CLOCK_CONTROL_QUARK_SE_EXTERNAL
|
||||
default "clk_external"
|
||||
|
||||
config CLOCK_CONTROL_QUARK_SE_SENSOR
|
||||
bool
|
||||
prompt "Quark SE sensor clock support"
|
||||
bool "Quark SE sensor clock support"
|
||||
help
|
||||
Enable support for Quark SE sensor sub-system clock.
|
||||
|
||||
config CLOCK_CONTROL_QUARK_SE_SENSOR_DRV_NAME
|
||||
string
|
||||
prompt "Quark SE sensor clock device name"
|
||||
string "Quark SE sensor clock device name"
|
||||
depends on CLOCK_CONTROL_QUARK_SE_SENSOR
|
||||
default "clk_sensor"
|
||||
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
if SOC_FAMILY_STM32
|
||||
|
||||
menuconfig CLOCK_CONTROL_STM32_CUBE
|
||||
bool
|
||||
prompt "STM32 Reset & Clock Control"
|
||||
bool "STM32 Reset & Clock Control"
|
||||
depends on CLOCK_CONTROL
|
||||
select USE_STM32_LL_UTILS
|
||||
help
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
#
|
||||
|
||||
menuconfig CONSOLE
|
||||
bool
|
||||
prompt "Console drivers"
|
||||
bool "Console drivers"
|
||||
|
||||
if CONSOLE
|
||||
|
||||
|
@ -27,8 +26,7 @@ config CONSOLE_HAS_DRIVER
|
|||
that some kind of console exists.
|
||||
|
||||
config CONSOLE_HANDLER
|
||||
bool
|
||||
prompt "Enable console input handler"
|
||||
bool "Enable console input handler"
|
||||
depends on UART_CONSOLE
|
||||
select UART_INTERRUPT_DRIVEN
|
||||
help
|
||||
|
@ -36,8 +34,7 @@ config CONSOLE_HANDLER
|
|||
interaction between serial console and the OS.
|
||||
|
||||
config UART_CONSOLE
|
||||
bool
|
||||
prompt "Use UART for console"
|
||||
bool "Use UART for console"
|
||||
depends on SERIAL && SERIAL_HAS_DRIVER
|
||||
select CONSOLE_HAS_DRIVER
|
||||
help
|
||||
|
@ -55,8 +52,7 @@ config UART_CONSOLE_ON_DEV_NAME
|
|||
endif
|
||||
|
||||
config UART_CONSOLE_INIT_PRIORITY
|
||||
int
|
||||
prompt "Init priority"
|
||||
int "Init priority"
|
||||
default 60
|
||||
depends on UART_CONSOLE
|
||||
help
|
||||
|
@ -65,8 +61,7 @@ config UART_CONSOLE_INIT_PRIORITY
|
|||
it uses.
|
||||
|
||||
config UART_CONSOLE_DEBUG_SERVER_HOOKS
|
||||
bool
|
||||
prompt "Debug server hooks in debug console"
|
||||
bool "Debug server hooks in debug console"
|
||||
depends on UART_CONSOLE
|
||||
help
|
||||
This option allows a debug server agent such as GDB to take over the
|
||||
|
@ -76,8 +71,7 @@ config UART_CONSOLE_DEBUG_SERVER_HOOKS
|
|||
code handle them if they are of no special significance to it.
|
||||
|
||||
config UART_CONSOLE_MCUMGR
|
||||
bool
|
||||
prompt "Enable UART console mcumgr passthrough"
|
||||
bool "Enable UART console mcumgr passthrough"
|
||||
depends on UART_CONSOLE
|
||||
help
|
||||
Enables the UART console to receive mcumgr frames for image upgrade
|
||||
|
@ -86,8 +80,7 @@ config UART_CONSOLE_MCUMGR
|
|||
(e.g., the shell). If unset, incoming mcumgr frames are dropped.
|
||||
|
||||
config USB_UART_CONSOLE
|
||||
bool
|
||||
prompt "Use USB port for console outputs"
|
||||
bool "Use USB port for console outputs"
|
||||
depends on SERIAL
|
||||
select CONSOLE_HAS_DRIVER
|
||||
select USB_CDC_ACM
|
||||
|
@ -99,8 +92,7 @@ config USB_UART_CONSOLE
|
|||
selected in conjunction with, say, USB Mass Storage.
|
||||
|
||||
config USB_UART_DTR_WAIT
|
||||
bool
|
||||
prompt "Wait on DTR control signal"
|
||||
bool "Wait on DTR control signal"
|
||||
depends on USB_UART_CONSOLE
|
||||
help
|
||||
Enable this option to use flow control on the console. The uart console
|
||||
|
@ -108,8 +100,7 @@ config USB_UART_DTR_WAIT
|
|||
Note: Disabling this might lead to missing console prints.
|
||||
|
||||
config RAM_CONSOLE
|
||||
bool
|
||||
prompt "Use RAM console"
|
||||
bool "Use RAM console"
|
||||
select CONSOLE_HAS_DRIVER
|
||||
help
|
||||
Emit console messages to a RAM buffer "ram_console" which can
|
||||
|
@ -125,8 +116,7 @@ config RAM_CONSOLE_BUFFER_SIZE
|
|||
length is exceeded.
|
||||
|
||||
config RTT_CONSOLE
|
||||
bool
|
||||
prompt "Use RTT console"
|
||||
bool "Use RTT console"
|
||||
depends on HAS_SEGGER_RTT
|
||||
select CONSOLE_HAS_DRIVER
|
||||
help
|
||||
|
@ -164,22 +154,19 @@ config RTT_TX_RETRY_IN_INTERRUPT
|
|||
endif
|
||||
|
||||
config IPM_CONSOLE_SENDER
|
||||
bool
|
||||
prompt "Inter-processor Mailbox console sender"
|
||||
bool "Inter-processor Mailbox console sender"
|
||||
select CONSOLE_HAS_DRIVER
|
||||
help
|
||||
Enable the sending side of IPM console
|
||||
|
||||
config IPM_CONSOLE_RECEIVER
|
||||
bool
|
||||
prompt "Inter-processor Mailbox console receiver"
|
||||
bool "Inter-processor Mailbox console receiver"
|
||||
select RING_BUFFER
|
||||
help
|
||||
Enable the receiving side of IPM console
|
||||
|
||||
config IPM_CONSOLE_STACK_SIZE
|
||||
int
|
||||
prompt "Stack size for IPM console receiver thread"
|
||||
int "Stack size for IPM console receiver thread"
|
||||
depends on IPM_CONSOLE_RECEIVER
|
||||
default 512
|
||||
help
|
||||
|
@ -188,8 +175,7 @@ config IPM_CONSOLE_STACK_SIZE
|
|||
stack size for these threads here.
|
||||
|
||||
config IPM_CONSOLE_INIT_PRIORITY
|
||||
int
|
||||
prompt "IPM console init priority"
|
||||
int "IPM console init priority"
|
||||
default 60
|
||||
depends on IPM_CONSOLE_SENDER || IPM_CONSOLE_RECEIVER
|
||||
help
|
||||
|
@ -198,8 +184,7 @@ config IPM_CONSOLE_INIT_PRIORITY
|
|||
it uses.
|
||||
|
||||
config UART_PIPE
|
||||
bool
|
||||
prompt "Enable pipe UART driver"
|
||||
bool "Enable pipe UART driver"
|
||||
select UART_INTERRUPT_DRIVEN
|
||||
help
|
||||
Enable pipe UART driver. This driver allows application to communicate
|
||||
|
@ -218,8 +203,7 @@ config UART_PIPE_ON_DEV_NAME
|
|||
endif
|
||||
|
||||
config UART_MCUMGR
|
||||
bool
|
||||
prompt "Enable mcumgr UART driver"
|
||||
bool "Enable mcumgr UART driver"
|
||||
select UART_INTERRUPT_DRIVEN
|
||||
help
|
||||
Enable the mcumgr UART driver. This driver allows the application to
|
||||
|
@ -240,8 +224,7 @@ config UART_MCUMGR_ON_DEV_NAME
|
|||
endif # !HAS_DTS
|
||||
|
||||
config UART_MCUMGR_RX_BUF_SIZE
|
||||
int
|
||||
prompt "Size of receive buffer for mcumgr fragments received over UART, in bytes"
|
||||
int "Size of receive buffer for mcumgr fragments received over UART, in bytes"
|
||||
default 128
|
||||
help
|
||||
Specifies the size of the mcumgr UART receive buffer, in bytes. This
|
||||
|
@ -249,8 +232,7 @@ config UART_MCUMGR_RX_BUF_SIZE
|
|||
client.
|
||||
|
||||
config UART_MCUMGR_RX_BUF_COUNT
|
||||
int
|
||||
prompt "Number of receive buffers for mcumgr fragments received over UART"
|
||||
int "Number of receive buffers for mcumgr fragments received over UART"
|
||||
default 2
|
||||
help
|
||||
Specifies the number of the mcumgr UART receive buffers. Receive
|
||||
|
@ -262,8 +244,7 @@ config UART_MCUMGR_RX_BUF_COUNT
|
|||
endif # UART_MCUMGR
|
||||
|
||||
config XTENSA_SIM_CONSOLE
|
||||
bool
|
||||
prompt "Use Xtensa simulator console"
|
||||
bool "Use Xtensa simulator console"
|
||||
depends on SIMULATOR_XTENSA
|
||||
select CONSOLE_HAS_DRIVER
|
||||
default y
|
||||
|
@ -287,16 +268,14 @@ config NATIVE_POSIX_STDIN_CONSOLE
|
|||
Feed the host terminal stdin to the Zephyr console/shell.
|
||||
|
||||
config NATIVE_STDIN_POLL_PERIOD
|
||||
int
|
||||
prompt "Polling period for stdin"
|
||||
int "Polling period for stdin"
|
||||
depends on NATIVE_POSIX_STDIN_CONSOLE
|
||||
default 20
|
||||
help
|
||||
In ms, polling period for stdin
|
||||
|
||||
config NATIVE_STDIN_PRIO
|
||||
int
|
||||
prompt "Priority of the stdin polling thread"
|
||||
int "Priority of the stdin polling thread"
|
||||
depends on NATIVE_POSIX_STDIN_CONSOLE
|
||||
default 4
|
||||
help
|
||||
|
@ -310,16 +289,14 @@ config NATIVE_POSIX_STDOUT_CONSOLE
|
|||
Zephyr's printk messages will be directed to the host terminal stdout.
|
||||
|
||||
config XTENSA_CONSOLE_INIT_PRIORITY
|
||||
int
|
||||
prompt "Init priority"
|
||||
int "Init priority"
|
||||
default 60
|
||||
depends on XTENSA_SIM_CONSOLE
|
||||
help
|
||||
Device driver initialization priority.
|
||||
|
||||
config NATIVE_POSIX_CONSOLE_INIT_PRIORITY
|
||||
int
|
||||
prompt "Init priority"
|
||||
int "Init priority"
|
||||
default 60
|
||||
depends on NATIVE_POSIX_CONSOLE
|
||||
help
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
if SOC_FAMILY_ARM
|
||||
|
||||
config TIMER_DTMR_CMSDK_APB
|
||||
bool
|
||||
prompt "ARM CMSDK (Cortex-M System Design Kit) DTMR Timer driver"
|
||||
bool "ARM CMSDK (Cortex-M System Design Kit) DTMR Timer driver"
|
||||
help
|
||||
The dualtimer (DTMR) present in the platform is used as a timer.
|
||||
This option enables the support for the timer.
|
||||
|
@ -20,8 +19,7 @@ if TIMER_DTMR_CMSDK_APB
|
|||
# ---------- Timer 0 ----------
|
||||
|
||||
config TIMER_DTMR_CMSDK_APB_0
|
||||
bool
|
||||
prompt "Timer 0 driver"
|
||||
bool "Timer 0 driver"
|
||||
help
|
||||
Enable support for Timer 0.
|
||||
|
||||
|
@ -42,8 +40,7 @@ config TIMER_DTMR_CMSDK_APB_0_IRQ_PRI
|
|||
endif # TIMER_DTMR_CMSDK_APB
|
||||
|
||||
config COUNTER_DTMR_CMSDK_APB
|
||||
bool
|
||||
prompt "ARM CMSDK (Cortex-M System Design Kit) DTMR Counter driver"
|
||||
bool "ARM CMSDK (Cortex-M System Design Kit) DTMR Counter driver"
|
||||
help
|
||||
The dualtimer (DTMR) present in the platform is used as a counter.
|
||||
This option enables the support for the counter.
|
||||
|
@ -53,8 +50,7 @@ if COUNTER_DTMR_CMSDK_APB
|
|||
# ---------- Counter 0 ----------
|
||||
|
||||
config COUNTER_DTMR_CMSDK_APB_0
|
||||
bool
|
||||
prompt "Counter 0 driver"
|
||||
bool "Counter 0 driver"
|
||||
depends on !TIMER_DTMR_CMSDK_APB_0
|
||||
help
|
||||
Enable support for Counter 0.
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
#
|
||||
|
||||
config AON_COUNTER_QMSI
|
||||
bool
|
||||
prompt "AON counter driver"
|
||||
bool "AON counter driver"
|
||||
depends on COUNTER && QMSI
|
||||
help
|
||||
Enable support for AON counter.
|
||||
|
@ -21,8 +20,7 @@ config AON_COUNTER_QMSI_DEV_NAME
|
|||
Specify the device name for AON counter driver.
|
||||
|
||||
config AON_TIMER_QMSI
|
||||
bool
|
||||
prompt "AON periodic timer driver"
|
||||
bool "AON periodic timer driver"
|
||||
depends on COUNTER && QMSI
|
||||
help
|
||||
Enable support for AON periodic timer.
|
||||
|
@ -41,8 +39,7 @@ config AON_TIMER_IRQ_PRI
|
|||
aon timer interrupt priority.
|
||||
|
||||
config AON_API_REENTRANCY
|
||||
bool
|
||||
prompt "AON driver API reentrancy"
|
||||
bool "AON driver API reentrancy"
|
||||
depends on AON_TIMER_QMSI
|
||||
help
|
||||
Enable support for AON driver API reentrancy.
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
if SOC_FAMILY_ARM
|
||||
|
||||
config TIMER_TMR_CMSDK_APB
|
||||
bool
|
||||
prompt "ARM CMSDK (Cortex-M System Design Kit) Timer driver"
|
||||
bool "ARM CMSDK (Cortex-M System Design Kit) Timer driver"
|
||||
help
|
||||
The timers (TMR) present in the platform are used as timers.
|
||||
This option enables the support for the timers.
|
||||
|
@ -20,8 +19,7 @@ if TIMER_TMR_CMSDK_APB
|
|||
# ---------- Timer 0 ----------
|
||||
|
||||
config TIMER_TMR_CMSDK_APB_0
|
||||
bool
|
||||
prompt "Timer 0 driver"
|
||||
bool "Timer 0 driver"
|
||||
help
|
||||
Enable support for Timer 0.
|
||||
|
||||
|
@ -42,8 +40,7 @@ config TIMER_TMR_CMSDK_APB_0_IRQ_PRI
|
|||
# ---------- Timer 1 ----------
|
||||
|
||||
config TIMER_TMR_CMSDK_APB_1
|
||||
bool
|
||||
prompt "Timer 1 driver"
|
||||
bool "Timer 1 driver"
|
||||
help
|
||||
Enable support for Timer 1.
|
||||
|
||||
|
@ -64,8 +61,7 @@ config TIMER_TMR_CMSDK_APB_1_IRQ_PRI
|
|||
endif # TIMER_TMR_CMSDK_APB
|
||||
|
||||
config COUNTER_TMR_CMSDK_APB
|
||||
bool
|
||||
prompt "ARM CMSDK (Cortex-M System Design Kit) Counter driver"
|
||||
bool "ARM CMSDK (Cortex-M System Design Kit) Counter driver"
|
||||
help
|
||||
The timers (TMR) present in the platform are used as counters.
|
||||
This option enables the support for the counters.
|
||||
|
@ -75,8 +71,7 @@ if COUNTER_TMR_CMSDK_APB
|
|||
# ---------- Counter 0 ----------
|
||||
|
||||
config COUNTER_TMR_CMSDK_APB_0
|
||||
bool
|
||||
prompt "Counter 0 driver"
|
||||
bool "Counter 0 driver"
|
||||
depends on !TIMER_TMR_CMSDK_APB_0
|
||||
help
|
||||
Enable support for Counter 0.
|
||||
|
@ -91,8 +86,7 @@ config COUNTER_TMR_CMSDK_APB_0_DEV_NAME
|
|||
# ---------- Counter 1 ----------
|
||||
|
||||
config COUNTER_TMR_CMSDK_APB_1
|
||||
bool
|
||||
prompt "Counter 1 driver"
|
||||
bool "Counter 1 driver"
|
||||
depends on !TIMER_TMR_CMSDK_APB_1
|
||||
help
|
||||
Enable support for Counter 1.
|
||||
|
|
|
@ -10,8 +10,7 @@
|
|||
# CRYPTO options
|
||||
#
|
||||
menuconfig CRYPTO
|
||||
bool
|
||||
prompt "Crypto Drivers [EXPERIMENTAL]"
|
||||
bool "Crypto Drivers [EXPERIMENTAL]"
|
||||
|
||||
if CRYPTO
|
||||
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
#
|
||||
|
||||
menuconfig DISPLAY
|
||||
bool
|
||||
prompt "Display Drivers"
|
||||
bool "Display Drivers"
|
||||
help
|
||||
Enable display drivers
|
||||
|
||||
|
|
|
@ -104,8 +104,7 @@ choice
|
|||
Specify the type of LCD connected to the ILI9340 display controller.
|
||||
|
||||
config ILI9340_LCD_ADAFRUIT_1480
|
||||
bool
|
||||
prompt "Adafruit 2.2\" TFT 1480"
|
||||
bool "Adafruit 2.2\" TFT 1480"
|
||||
|
||||
endchoice
|
||||
|
||||
|
|
|
@ -10,8 +10,7 @@
|
|||
# DMA options
|
||||
#
|
||||
menuconfig DMA
|
||||
bool
|
||||
prompt "DMA driver Configuration"
|
||||
bool "DMA driver Configuration"
|
||||
|
||||
if DMA
|
||||
config DMA_0_NAME
|
||||
|
@ -51,8 +50,7 @@ config DMA_2_IRQ_PRI
|
|||
IRQ Priority for DMA Controller 2.
|
||||
|
||||
config SYS_LOG_DMA_LEVEL
|
||||
int
|
||||
prompt "DMA Driver Log level"
|
||||
int "DMA Driver Log level"
|
||||
depends on SYS_LOG
|
||||
default 0
|
||||
range 0 4
|
||||
|
@ -66,8 +64,7 @@ config SYS_LOG_DMA_LEVEL
|
|||
4 DEBUG, write SYS_LOG_DBG in addition to previous levels
|
||||
|
||||
config DCACHE_WRITEBACK
|
||||
bool
|
||||
prompt "Data Cache Writeback"
|
||||
bool "Data Cache Writeback"
|
||||
help
|
||||
Cache configuration for "Writeback".
|
||||
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
#
|
||||
|
||||
menuconfig ENTROPY_GENERATOR
|
||||
bool
|
||||
prompt "Entropy Drivers"
|
||||
bool "Entropy Drivers"
|
||||
help
|
||||
Include entropy drivers in system config.
|
||||
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
menu "Ethernet Drivers"
|
||||
|
||||
config SYS_LOG_ETHERNET_LEVEL
|
||||
int
|
||||
prompt "Ethernet driver log level"
|
||||
int "Ethernet driver log level"
|
||||
depends on SYS_LOG && NET_L2_ETHERNET
|
||||
default 0
|
||||
range 0 4
|
||||
|
@ -24,8 +23,7 @@ config SYS_LOG_ETHERNET_LEVEL
|
|||
4 DEBUG, write SYS_LOG_DBG in addition to previous levels
|
||||
|
||||
config ETH_INIT_PRIORITY
|
||||
int
|
||||
prompt "Ethernet driver init priority"
|
||||
int "Ethernet driver init priority"
|
||||
depends on NET_L2_ETHERNET
|
||||
default 80
|
||||
help
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
#
|
||||
|
||||
menuconfig ETH_DW
|
||||
bool
|
||||
prompt "Synopsys DesignWare Ethernet driver"
|
||||
bool "Synopsys DesignWare Ethernet driver"
|
||||
depends on NET_L2_ETHERNET
|
||||
help
|
||||
Enable Synopsys DesignWare Ethernet driver.
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
menuconfig ETH_MCUX
|
||||
bool
|
||||
prompt "MCUX Ethernet driver"
|
||||
bool "MCUX Ethernet driver"
|
||||
depends on NET_L2_ETHERNET && HAS_MCUX
|
||||
help
|
||||
Enable MCUX Ethernet driver. Note, this driver performs one shot PHY
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
#
|
||||
|
||||
menuconfig ETH_SAM_GMAC
|
||||
bool
|
||||
prompt "Atmel SAM Ethernet driver"
|
||||
bool "Atmel SAM Ethernet driver"
|
||||
depends on SOC_FAMILY_SAM
|
||||
help
|
||||
Enable Atmel SAM MCU Family Ethernet driver.
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
#
|
||||
|
||||
menuconfig ETH_STM32_HAL
|
||||
bool
|
||||
prompt "STM32 HAL Ethernet driver"
|
||||
bool "STM32 HAL Ethernet driver"
|
||||
depends on NET_L2_ETHERNET
|
||||
select USE_STM32_HAL_ETH
|
||||
help
|
||||
|
|
|
@ -21,8 +21,7 @@ config FLASH_HAS_PAGE_LAYOUT
|
|||
retrieving the layout of flash memory pages.
|
||||
|
||||
menuconfig FLASH
|
||||
bool
|
||||
prompt "Flash hardware support"
|
||||
bool "Flash hardware support"
|
||||
help
|
||||
Enable support for the flash hardware.
|
||||
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
#
|
||||
|
||||
menuconfig SOC_FLASH_QMSI
|
||||
bool
|
||||
prompt "QMSI flash driver"
|
||||
bool "QMSI flash driver"
|
||||
depends on QMSI && FLASH
|
||||
select FLASH_HAS_DRIVER_ENABLED
|
||||
help
|
||||
|
|
|
@ -6,16 +6,14 @@
|
|||
if FLASH && SOC_FAMILY_SAM0
|
||||
|
||||
menuconfig SOC_FLASH_SAM0
|
||||
bool
|
||||
prompt "Atmel SAM0 flash driver"
|
||||
bool "Atmel SAM0 flash driver"
|
||||
select FLASH_HAS_PAGE_LAYOUT
|
||||
select FLASH_HAS_DRIVER_ENABLED
|
||||
help
|
||||
Enable the Atmel SAM0 series internal flash driver.
|
||||
|
||||
config SOC_FLASH_SAM0_EMULATE_BYTE_PAGES
|
||||
bool
|
||||
prompt "Emulate byte-sized pages"
|
||||
bool "Emulate byte-sized pages"
|
||||
depends on SOC_FLASH_SAM0
|
||||
help
|
||||
Emulate a device with byte-sized pages by doing a
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
if FLASH && SOC_FAMILY_STM32
|
||||
|
||||
menuconfig SOC_FLASH_STM32
|
||||
bool
|
||||
prompt "STM32 flash driver"
|
||||
bool "STM32 flash driver"
|
||||
depends on (SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X || SOC_SERIES_STM32F4X || SOC_SERIES_STM32L4X)
|
||||
select FLASH_HAS_DRIVER_ENABLED
|
||||
default y
|
||||
|
|
|
@ -6,20 +6,17 @@
|
|||
|
||||
|
||||
menuconfig SPI_FLASH_W25QXXDV
|
||||
bool
|
||||
prompt "SPI NOR Flash Winbond W25QXXDV"
|
||||
bool "SPI NOR Flash Winbond W25QXXDV"
|
||||
select FLASH_HAS_DRIVER_ENABLED
|
||||
depends on SPI && FLASH
|
||||
|
||||
if SPI_FLASH_W25QXXDV
|
||||
|
||||
config SPI_FLASH_W25QXXDV_SPI_NAME
|
||||
string
|
||||
prompt "SPI controller device name"
|
||||
string "SPI controller device name"
|
||||
|
||||
config SPI_FLASH_W25QXXDV_DRV_NAME
|
||||
string
|
||||
prompt "SPI flash device name"
|
||||
string "SPI flash device name"
|
||||
default "W25QXXDV"
|
||||
|
||||
config SPI_FLASH_W25QXXDV_INIT_PRIORITY
|
||||
|
|
|
@ -7,16 +7,14 @@
|
|||
#
|
||||
|
||||
menuconfig GPIO
|
||||
bool
|
||||
prompt "GPIO Drivers"
|
||||
bool "GPIO Drivers"
|
||||
help
|
||||
Include GPIO drivers in system config
|
||||
|
||||
if GPIO
|
||||
|
||||
config SYS_LOG_GPIO_LEVEL
|
||||
int
|
||||
prompt "GPIO drivers log level"
|
||||
int "GPIO drivers log level"
|
||||
default 0
|
||||
depends on SYS_LOG
|
||||
help
|
||||
|
|
|
@ -13,13 +13,11 @@ if GPIO_CC2650
|
|||
# A single block of GPIO exist.
|
||||
|
||||
config GPIO_CC2650_NAME
|
||||
string
|
||||
string "GPIO driver name."
|
||||
default "GPIO_0"
|
||||
prompt "GPIO driver name."
|
||||
|
||||
config GPIO_CC2650_INIT_PRIO
|
||||
int
|
||||
int "GPIO driver initialization priority."
|
||||
default 40
|
||||
prompt "GPIO driver initialization priority."
|
||||
|
||||
endif # GPIO_CC2650
|
||||
|
|
|
@ -7,9 +7,8 @@
|
|||
#
|
||||
|
||||
menuconfig GPIO_DW
|
||||
prompt "Designware GPIO"
|
||||
bool "Designware GPIO"
|
||||
depends on GPIO
|
||||
bool
|
||||
help
|
||||
Enable driver for Designware GPIO
|
||||
|
||||
|
@ -19,9 +18,8 @@ config GPIO_DW_SHARED_IRQ
|
|||
bool
|
||||
|
||||
config GPIO_DW_INIT_PRIORITY
|
||||
int
|
||||
int "Init priority"
|
||||
default 60
|
||||
prompt "Init priority"
|
||||
help
|
||||
Device driver initialization priority.
|
||||
|
||||
|
|
|
@ -15,8 +15,7 @@ menuconfig GPIO_PCAL9535A
|
|||
if GPIO_PCAL9535A
|
||||
|
||||
config SYS_LOG_GPIO_PCAL9535A_LEVEL
|
||||
int
|
||||
prompt "PCAL9535A driver log level"
|
||||
int "PCAL9535A driver log level"
|
||||
depends on GPIO_PCAL9535A && SYS_LOG
|
||||
default 0
|
||||
help
|
||||
|
@ -35,9 +34,8 @@ config SYS_LOG_GPIO_PCAL9535A_LEVEL
|
|||
- 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
|
||||
|
||||
config GPIO_PCAL9535A_INIT_PRIORITY
|
||||
int
|
||||
int "Init priority"
|
||||
default 70
|
||||
prompt "Init priority"
|
||||
help
|
||||
Device driver initialization priority.
|
||||
|
||||
|
|
|
@ -23,16 +23,14 @@ menuconfig GPIO_QMSI_SS
|
|||
if GPIO_QMSI || GPIO_QMSI_SS
|
||||
|
||||
config GPIO_QMSI_INIT_PRIORITY
|
||||
int
|
||||
int "Init priority"
|
||||
default 60
|
||||
depends on GPIO_QMSI
|
||||
prompt "Init priority"
|
||||
help
|
||||
Device driver initialization priority.
|
||||
|
||||
config GPIO_QMSI_API_REENTRANCY
|
||||
bool
|
||||
prompt "GPIO driver API reentrancy"
|
||||
bool "GPIO driver API reentrancy"
|
||||
depends on GPIO_QMSI
|
||||
help
|
||||
Enable support for QMSI GPIO driver API reentrancy.
|
||||
|
|
|
@ -15,10 +15,9 @@ menuconfig GPIO_SCH
|
|||
if GPIO_SCH
|
||||
|
||||
config GPIO_SCH_INIT_PRIORITY
|
||||
int
|
||||
int "Init priority"
|
||||
depends on GPIO_SCH
|
||||
default 60
|
||||
prompt "Init priority"
|
||||
help
|
||||
Device driver initialization priority.
|
||||
|
||||
|
|
|
@ -13,9 +13,8 @@ menuconfig GPIO_SX1509B
|
|||
Enable driver for SX1509B I2C GPIO chip.
|
||||
|
||||
config GPIO_SX1509B_INIT_PRIORITY
|
||||
int
|
||||
int "Init priority"
|
||||
default 70
|
||||
prompt "Init priority"
|
||||
help
|
||||
Device driver initialization priority.
|
||||
|
||||
|
|
|
@ -8,15 +8,13 @@
|
|||
|
||||
|
||||
menuconfig GROVE
|
||||
bool
|
||||
prompt "Grove Device Drivers"
|
||||
bool "Grove Device Drivers"
|
||||
help
|
||||
Check this box to enable the Seeed Grove device drivers
|
||||
|
||||
|
||||
config SYS_LOG_GROVE_LEVEL
|
||||
int
|
||||
prompt "Grove Log level"
|
||||
int "Grove Log level"
|
||||
depends on SYS_LOG && GROVE
|
||||
default 0
|
||||
range 0 4
|
||||
|
@ -30,9 +28,8 @@ config SYS_LOG_GROVE_LEVEL
|
|||
4 DEBUG, write SYS_LOG_DBG in addition to previous levels
|
||||
|
||||
config GROVE_LCD_RGB
|
||||
bool
|
||||
bool "Enable the Seeed Grove LCD RGB Backlight"
|
||||
depends on GROVE
|
||||
prompt "Enable the Seeed Grove LCD RGB Backlight"
|
||||
help
|
||||
Setting this value will enable driver support for the Groove-LCD RGB
|
||||
Backlight.
|
||||
|
@ -46,24 +43,21 @@ config GROVE_LCD_RGB_I2C_MASTER_DEV_NAME
|
|||
Grove LCD is connected.
|
||||
|
||||
config GROVE_LIGHT_SENSOR
|
||||
bool
|
||||
prompt "Enable the Seeed Grove Light Sensor"
|
||||
bool "Enable the Seeed Grove Light Sensor"
|
||||
depends on SENSOR && GROVE && ADC && NEWLIB_LIBC
|
||||
help
|
||||
Setting this value will enable driver support for the Grove Light
|
||||
Sensor.
|
||||
|
||||
config GROVE_LIGHT_SENSOR_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
depends on GROVE_LIGHT_SENSOR
|
||||
default "GROVE_LIGHT_SENSOR"
|
||||
help
|
||||
Specify the device name with which the sensor is identified.
|
||||
|
||||
config GROVE_LIGHT_SENSOR_ADC_DEV_NAME
|
||||
string
|
||||
prompt "ADC where Grove Light Sensor is connected"
|
||||
string "ADC where Grove Light Sensor is connected"
|
||||
depends on GROVE_LIGHT_SENSOR
|
||||
default "ADC_0"
|
||||
help
|
||||
|
@ -71,8 +65,7 @@ config GROVE_LIGHT_SENSOR_ADC_DEV_NAME
|
|||
is connected.
|
||||
|
||||
config GROVE_LIGHT_SENSOR_ADC_CHANNEL
|
||||
int
|
||||
prompt "ADC channel used by Grove Light Sensor"
|
||||
int "ADC channel used by Grove Light Sensor"
|
||||
depends on GROVE_LIGHT_SENSOR
|
||||
default 10
|
||||
help
|
||||
|
@ -80,16 +73,14 @@ config GROVE_LIGHT_SENSOR_ADC_CHANNEL
|
|||
connected.
|
||||
|
||||
config GROVE_TEMPERATURE_SENSOR
|
||||
bool
|
||||
prompt "Enable the Seeed Grove Temperature Sensor"
|
||||
bool "Enable the Seeed Grove Temperature Sensor"
|
||||
depends on SENSOR && GROVE && ADC && NEWLIB_LIBC
|
||||
help
|
||||
Setting this value will enable driver support for the Grove
|
||||
Temperature Sensor.
|
||||
|
||||
config GROVE_TEMPERATURE_SENSOR_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
depends on GROVE_TEMPERATURE_SENSOR
|
||||
default "GROVE_TEMPERATURE_SENSOR"
|
||||
help
|
||||
|
@ -104,22 +95,19 @@ choice
|
|||
Choose the version of the Grove Temperature Sensor.
|
||||
|
||||
config GROVE_TEMPERATURE_SENSOR_V1_0
|
||||
bool
|
||||
prompt "v1.0"
|
||||
bool "v1.0"
|
||||
help
|
||||
Version 1.0
|
||||
|
||||
config GROVE_TEMPERATURE_SENSOR_V1_X
|
||||
bool
|
||||
prompt "v1.1/v1.2"
|
||||
bool "v1.1/v1.2"
|
||||
help
|
||||
Version 1.1 or 1.2
|
||||
|
||||
endchoice
|
||||
|
||||
config GROVE_TEMPERATURE_SENSOR_ADC_DEV_NAME
|
||||
string
|
||||
prompt "ADC where Grove Temperature Sensor is connected"
|
||||
string "ADC where Grove Temperature Sensor is connected"
|
||||
depends on GROVE_TEMPERATURE_SENSOR
|
||||
default "ADC_0"
|
||||
help
|
||||
|
@ -127,8 +115,7 @@ config GROVE_TEMPERATURE_SENSOR_ADC_DEV_NAME
|
|||
Sensor is connected.
|
||||
|
||||
config GROVE_TEMPERATURE_SENSOR_ADC_CHANNEL
|
||||
int
|
||||
prompt "ADC channel used by Grove Temperature Sensor"
|
||||
int "ADC channel used by Grove Temperature Sensor"
|
||||
depends on GROVE_TEMPERATURE_SENSOR
|
||||
default 10
|
||||
help
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
# I2S Drivers
|
||||
#
|
||||
menuconfig I2S
|
||||
bool
|
||||
prompt "I2S bus drivers"
|
||||
bool "I2S bus drivers"
|
||||
help
|
||||
Enable support for the I2S (Inter-IC Sound) hardware bus.
|
||||
|
||||
|
|
|
@ -7,16 +7,14 @@
|
|||
#
|
||||
|
||||
menuconfig SHARED_IRQ
|
||||
bool
|
||||
prompt "Shared interrupt driver"
|
||||
bool "Shared interrupt driver"
|
||||
help
|
||||
Include shared interrupt support in system. Shared interrupt
|
||||
support is NOT required in most systems. If in doubt answer no.
|
||||
|
||||
config SHARED_IRQ_NUM_CLIENTS
|
||||
int
|
||||
int "The number of clients per instance"
|
||||
depends on SHARED_IRQ
|
||||
prompt "The number of clients per instance"
|
||||
default 5
|
||||
help
|
||||
Configures the maximum number of clients allowed per shared
|
||||
|
@ -24,10 +22,9 @@ config SHARED_IRQ_NUM_CLIENTS
|
|||
this value to the lowest practical value.
|
||||
|
||||
config SHARED_IRQ_INIT_PRIORITY
|
||||
int
|
||||
int "Shared IRQ init priority"
|
||||
depends on SHARED_IRQ
|
||||
default 45
|
||||
prompt "Shared IRQ init priority"
|
||||
help
|
||||
Shared IRQ are initialized on POST_KERNEL init level. They
|
||||
have to be initialized before any device that uses them.
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
menuconfig IPM
|
||||
bool
|
||||
prompt "IPM drivers"
|
||||
bool "IPM drivers"
|
||||
help
|
||||
Include interrupt-based inter-processor mailboxes
|
||||
drivers in system configuration
|
||||
|
|
|
@ -34,8 +34,7 @@
|
|||
# SLIP options
|
||||
#
|
||||
menuconfig SLIP
|
||||
bool
|
||||
prompt "SLIP driver"
|
||||
bool "SLIP driver"
|
||||
select UART_PIPE
|
||||
select UART_INTERRUPT_DRIVEN
|
||||
|
||||
|
@ -58,8 +57,7 @@ config SLIP_MTU
|
|||
does not use this value.
|
||||
|
||||
config SYS_LOG_SLIP_LEVEL
|
||||
int
|
||||
prompt "SLIP driver log level"
|
||||
int "SLIP driver log level"
|
||||
depends on SYS_LOG && SLIP
|
||||
default 0
|
||||
range 0 4
|
||||
|
@ -100,15 +98,13 @@ endif
|
|||
# Net loopback options
|
||||
#
|
||||
menuconfig NET_LOOPBACK
|
||||
bool
|
||||
prompt "Net loopback driver"
|
||||
bool "Net loopback driver"
|
||||
select NET_L2_DUMMY
|
||||
|
||||
if NET_LOOPBACK
|
||||
|
||||
config SYS_LOG_NET_LOOPBACK_LEVEL
|
||||
int
|
||||
prompt "Net loopback driver log level"
|
||||
int "Net loopback driver log level"
|
||||
depends on SYS_LOG && NET_LOOPBACK
|
||||
default 0
|
||||
range 0 4
|
||||
|
|
|
@ -8,16 +8,14 @@
|
|||
|
||||
|
||||
menuconfig PCI
|
||||
bool
|
||||
prompt "PCI Settings"
|
||||
bool "PCI Settings"
|
||||
depends on X86
|
||||
help
|
||||
This options enables support of PCI bus for device drivers.
|
||||
|
||||
if PCI
|
||||
config PCI_ENUMERATION
|
||||
bool
|
||||
prompt "Enable PCI device enumeration"
|
||||
bool "Enable PCI device enumeration"
|
||||
help
|
||||
This option enables the PCI enumeration for device drivers.
|
||||
This might be useful along with PCI_DEBUG to find out which
|
||||
|
@ -26,8 +24,7 @@ config PCI_ENUMERATION
|
|||
might be wise to disable this option to remove useless code.
|
||||
|
||||
config PCI_LEGACY_BRIDGE
|
||||
bool
|
||||
prompt "PCI legacy bridge device support"
|
||||
bool "PCI legacy bridge device support"
|
||||
help
|
||||
This option adds support for PCI legacy bridge device, that
|
||||
allows direct setup of the PCI interrupt pin to IRQ number
|
||||
|
@ -54,8 +51,7 @@ config PCI_LEGACY_BRIDGE_DEVICE_ID
|
|||
default 0
|
||||
|
||||
config PCI_DEBUG
|
||||
bool
|
||||
prompt "Enable PCI debugging"
|
||||
bool "Enable PCI debugging"
|
||||
help
|
||||
This options enables PCI debugging functions
|
||||
|
||||
|
|
|
@ -24,8 +24,7 @@ config PINMUX_NAME
|
|||
The name of the pinmux driver.
|
||||
|
||||
config PINMUX_INIT_PRIORITY
|
||||
int
|
||||
prompt "Init priority"
|
||||
int "Init priority"
|
||||
default 45
|
||||
depends on PINMUX
|
||||
help
|
||||
|
|
|
@ -14,8 +14,7 @@ menuconfig PWM
|
|||
if PWM
|
||||
|
||||
config SYS_LOG_PWM_LEVEL
|
||||
int
|
||||
prompt "PWM Driver Log level"
|
||||
int "PWM Driver Log level"
|
||||
depends on SYS_LOG
|
||||
default 0
|
||||
range 0 4
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
menuconfig PWM_IMX
|
||||
bool
|
||||
prompt "i.MX PWM Driver"
|
||||
bool "i.MX PWM Driver"
|
||||
depends on PWM
|
||||
help
|
||||
Enable support for i.MX pwm driver.
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
menuconfig PWM_MCUX_FTM
|
||||
bool
|
||||
prompt "MCUX FTM PWM driver"
|
||||
bool "MCUX FTM PWM driver"
|
||||
depends on HAS_MCUX_FTM
|
||||
help
|
||||
Enable support for mcux ftm pwm driver.
|
||||
|
|
|
@ -25,8 +25,7 @@ config PWM_NRF5_SW_0_DEV_NAME
|
|||
PWM driver.
|
||||
|
||||
config PWM_NRF5_SW_0_CLOCK_PRESCALER
|
||||
int
|
||||
prompt "Nordic Semiconductor nRF5x series S/W PWM Clock Prescaler"
|
||||
int "Nordic Semiconductor nRF5x series S/W PWM Clock Prescaler"
|
||||
default 0
|
||||
range 0 9
|
||||
help
|
||||
|
|
|
@ -19,10 +19,9 @@ menuconfig PWM_PCA9685
|
|||
if PWM_PCA9685
|
||||
|
||||
config PWM_PCA9685_INIT_PRIORITY
|
||||
int
|
||||
int "Init priority"
|
||||
depends on PWM_PCA9685
|
||||
default 70
|
||||
prompt "Init priority"
|
||||
help
|
||||
Device driver initialization priority.
|
||||
|
||||
|
|
|
@ -29,8 +29,7 @@ config PWM_QMSI_NUM_PORTS
|
|||
Specify how many PWM ports on the IP block.
|
||||
|
||||
config PWM_QMSI_API_REENTRANCY
|
||||
bool
|
||||
prompt "PWM shim driver API reentrancy"
|
||||
bool "PWM shim driver API reentrancy"
|
||||
depends on PWM_QMSI
|
||||
help
|
||||
Enable support for PWM shim driver API reentrancy.
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
menuconfig RTC_MCUX
|
||||
bool
|
||||
prompt "MCUX RTC driver"
|
||||
bool "MCUX RTC driver"
|
||||
depends on RTC && HAS_MCUX_RTC
|
||||
help
|
||||
Enable support for mcux rtc driver.
|
||||
|
|
|
@ -7,15 +7,13 @@ config RTC_QMSI
|
|||
if RTC_QMSI
|
||||
|
||||
config RTC_QMSI_API_REENTRANCY
|
||||
bool
|
||||
prompt "RTC shim driver API reentrancy"
|
||||
bool "RTC shim driver API reentrancy"
|
||||
help
|
||||
Enable support for RTC shim driver API reentrancy.
|
||||
|
||||
config RTC_PRESCALER
|
||||
int
|
||||
int "Prescaler size"
|
||||
default 1
|
||||
prompt "Prescaler size"
|
||||
help
|
||||
RTC prescaler used to determine ticks per second
|
||||
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
#
|
||||
|
||||
menuconfig SENSOR
|
||||
bool
|
||||
prompt "Sensor Drivers"
|
||||
bool "Sensor Drivers"
|
||||
help
|
||||
Include sensor drivers in system config
|
||||
|
||||
|
@ -29,8 +28,7 @@ config SYS_LOG_SENSOR_LEVEL
|
|||
4 DEBUG, write SYS_LOG_DBG in addition to previous levels
|
||||
|
||||
config SENSOR_INIT_PRIORITY
|
||||
int
|
||||
prompt "Sensor init priority"
|
||||
int "Sensor init priority"
|
||||
default 90
|
||||
help
|
||||
Sensor initialization priority.
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
menuconfig ADT7420
|
||||
bool
|
||||
prompt "ADT7420 Temperature Sensor"
|
||||
bool "ADT7420 Temperature Sensor"
|
||||
depends on I2C
|
||||
help
|
||||
Enable the driver for Analog Devices ADT7420 High-Accuracy
|
||||
|
@ -18,8 +17,7 @@ if ADT7420
|
|||
if !HAS_DTS_I2C_DEVICE
|
||||
|
||||
config ADT7420_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "ADT7420"
|
||||
help
|
||||
Device name with which the ADT7420 sensor is identified.
|
||||
|
@ -36,8 +34,7 @@ config ADT7420_I2C_ADDR
|
|||
0x4B: A0 connected VDD and A1 connected to VDD.
|
||||
|
||||
config ADT7420_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C master where ADT7420 is connected"
|
||||
string "I2C master where ADT7420 is connected"
|
||||
default "I2C_0"
|
||||
help
|
||||
Specify the device name of the I2C master device to which the
|
||||
|
|
|
@ -7,23 +7,20 @@
|
|||
#
|
||||
|
||||
menuconfig AK8975
|
||||
bool
|
||||
prompt "AK8975 Magnetometer"
|
||||
bool "AK8975 Magnetometer"
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for AK8975 magnetometer.
|
||||
|
||||
config AK8975_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "AK8975"
|
||||
depends on AK8975
|
||||
help
|
||||
Device name with which the AK8975 sensor is identified.
|
||||
|
||||
config AK8975_I2C_ADDR
|
||||
hex
|
||||
prompt "I2C address"
|
||||
hex "I2C address"
|
||||
depends on AK8975
|
||||
default 0x0C
|
||||
range 0x0C 0x0F
|
||||
|
@ -39,8 +36,7 @@ config AK8975_I2C_ADDR
|
|||
needs to be 0x0C.
|
||||
|
||||
config AK8975_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C master where AK8975 is connected"
|
||||
string "I2C master where AK8975 is connected"
|
||||
depends on AK8975
|
||||
default "I2C_0"
|
||||
help
|
||||
|
@ -48,16 +44,14 @@ config AK8975_I2C_MASTER_DEV_NAME
|
|||
AK8975 chip is connected.
|
||||
|
||||
config MPU9150
|
||||
bool
|
||||
prompt "Enable MPU9180 support"
|
||||
bool "Enable MPU9180 support"
|
||||
depends on AK8975
|
||||
help
|
||||
Enable this config option if the AK8975 sensor is part of a
|
||||
MPU9150 chip.
|
||||
|
||||
config MPU9150_I2C_ADDR
|
||||
hex
|
||||
prompt "MPU9180 I2C address"
|
||||
hex "MPU9180 I2C address"
|
||||
depends on AK8975 && MPU9150 && !MPU6050
|
||||
range 0x68 0x69
|
||||
default 0x68
|
||||
|
|
|
@ -19,8 +19,7 @@ config APDS9960_I2C_DEV_NAME
|
|||
chip is connected.
|
||||
|
||||
config APDS9960_DRV_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "APDS9960"
|
||||
depends on APDS9960
|
||||
help
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
#
|
||||
|
||||
menuconfig BMA280
|
||||
bool
|
||||
prompt "BMA280 Three Axis Accelerometer Family"
|
||||
bool "BMA280 Three Axis Accelerometer Family"
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for BMA280 I2C-based triaxial accelerometer sensor
|
||||
|
@ -22,22 +21,19 @@ choice
|
|||
Choose desired chip type from the BMA280 family.
|
||||
|
||||
config BMA280_CHIP_BMA280
|
||||
bool
|
||||
prompt "BMA280"
|
||||
bool "BMA280"
|
||||
help
|
||||
Choose this option to enable the BMA280 chip.
|
||||
|
||||
config BMA280_CHIP_BMC150_ACCEL
|
||||
bool
|
||||
prompt "BMC150_ACCEL"
|
||||
bool "BMC150_ACCEL"
|
||||
help
|
||||
Choose this option to enable the accelerometer of the BMC150 chip.
|
||||
|
||||
endchoice
|
||||
|
||||
config BMA280_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "BMA280" if BMA280_CHIP_BMA280
|
||||
default "BMC150_ACCEL" if BMA280_CHIP_BMC150_ACCEL
|
||||
depends on BMA280
|
||||
|
@ -58,8 +54,7 @@ config BMA280_I2C_ADDR
|
|||
0x19: Use if the SDO pin is pulled to VDDIO.
|
||||
|
||||
config BMA280_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C master device name"
|
||||
string "I2C master device name"
|
||||
depends on BMA280
|
||||
default "I2C_0"
|
||||
help
|
||||
|
@ -74,18 +69,15 @@ choice
|
|||
Specify the type of triggering to be used by the driver.
|
||||
|
||||
config BMA280_TRIGGER_NONE
|
||||
bool
|
||||
prompt "No trigger"
|
||||
bool "No trigger"
|
||||
|
||||
config BMA280_TRIGGER_GLOBAL_THREAD
|
||||
bool
|
||||
prompt "Use global thread"
|
||||
bool "Use global thread"
|
||||
depends on GPIO
|
||||
select BMA280_TRIGGER
|
||||
|
||||
config BMA280_TRIGGER_OWN_THREAD
|
||||
bool
|
||||
prompt "Use own thread"
|
||||
bool "Use own thread"
|
||||
depends on GPIO
|
||||
select BMA280_TRIGGER
|
||||
|
||||
|
@ -96,8 +88,7 @@ config BMA280_TRIGGER
|
|||
depends on BMA280
|
||||
|
||||
config BMA280_GPIO_DEV_NAME
|
||||
string
|
||||
prompt "GPIO device"
|
||||
string "GPIO device"
|
||||
default "GPIO_0"
|
||||
depends on BMA280 && BMA280_TRIGGER
|
||||
help
|
||||
|
@ -105,8 +96,7 @@ config BMA280_GPIO_DEV_NAME
|
|||
are connected.
|
||||
|
||||
config BMA280_GPIO_PIN_NUM
|
||||
int
|
||||
prompt "Interrupt GPIO pin number"
|
||||
int "Interrupt GPIO pin number"
|
||||
default 0
|
||||
depends on BMA280 && BMA280_TRIGGER
|
||||
help
|
||||
|
@ -114,16 +104,14 @@ config BMA280_GPIO_PIN_NUM
|
|||
will be received.
|
||||
|
||||
config BMA280_THREAD_PRIORITY
|
||||
int
|
||||
prompt "Thread priority"
|
||||
int "Thread priority"
|
||||
depends on BMA280 && BMA280_TRIGGER_OWN_THREAD
|
||||
default 10
|
||||
help
|
||||
Priority of thread used by the driver to handle interrupts.
|
||||
|
||||
config BMA280_THREAD_STACK_SIZE
|
||||
int
|
||||
prompt "Thread stack size"
|
||||
int "Thread stack size"
|
||||
depends on BMA280 && BMA280_TRIGGER_OWN_THREAD
|
||||
default 1024
|
||||
help
|
||||
|
@ -137,20 +125,16 @@ choice
|
|||
Measurement range for acceleration values.
|
||||
|
||||
config BMA280_PMU_RANGE_2G
|
||||
bool
|
||||
prompt "+/-2g"
|
||||
bool "+/-2g"
|
||||
|
||||
config BMA280_PMU_RANGE_4G
|
||||
bool
|
||||
prompt "+/-4g"
|
||||
bool "+/-4g"
|
||||
|
||||
config BMA280_PMU_RANGE_8G
|
||||
bool
|
||||
prompt "+/-8g"
|
||||
bool "+/-8g"
|
||||
|
||||
config BMA280_PMU_RANGE_16G
|
||||
bool
|
||||
prompt "+/-16g"
|
||||
bool "+/-16g"
|
||||
|
||||
endchoice
|
||||
|
||||
|
@ -162,35 +146,27 @@ choice
|
|||
Bandwidth of filtered acceleration data.
|
||||
|
||||
config BMA280_PMU_BW_1
|
||||
bool
|
||||
prompt "7.81Hz"
|
||||
bool "7.81Hz"
|
||||
|
||||
config BMA280_PMU_BW_2
|
||||
bool
|
||||
prompt "15.63HZ"
|
||||
bool "15.63HZ"
|
||||
|
||||
config BMA280_PMU_BW_3
|
||||
bool
|
||||
prompt "31.25Hz"
|
||||
bool "31.25Hz"
|
||||
|
||||
config BMA280_PMU_BW_4
|
||||
bool
|
||||
prompt "62.5Hz"
|
||||
bool "62.5Hz"
|
||||
|
||||
config BMA280_PMU_BW_5
|
||||
bool
|
||||
prompt "125Hz"
|
||||
bool "125Hz"
|
||||
|
||||
config BMA280_PMU_BW_6
|
||||
bool
|
||||
prompt "250HZ"
|
||||
bool "250HZ"
|
||||
|
||||
config BMA280_PMU_BW_7
|
||||
bool
|
||||
prompt "500Hz"
|
||||
bool "500Hz"
|
||||
|
||||
config BMA280_PMU_BW_8
|
||||
bool
|
||||
prompt "unfiltered"
|
||||
bool "unfiltered"
|
||||
|
||||
endchoice
|
||||
|
|
|
@ -47,20 +47,16 @@ choice
|
|||
frequency).
|
||||
|
||||
config BMC150_MAGN_PRESET_LOW_POWER
|
||||
bool
|
||||
prompt "Low power (3, 3, 10)"
|
||||
bool "Low power (3, 3, 10)"
|
||||
|
||||
config BMC150_MAGN_PRESET_REGULAR
|
||||
bool
|
||||
prompt "Regular (9, 15, 10)"
|
||||
bool "Regular (9, 15, 10)"
|
||||
|
||||
config BMC150_MAGN_PRESET_ENHANCED_REGULAR
|
||||
bool
|
||||
prompt "Enhanced regular (15, 27, 10)"
|
||||
bool "Enhanced regular (15, 27, 10)"
|
||||
|
||||
config BMC150_MAGN_PRESET_HIGH_ACCURACY
|
||||
bool
|
||||
prompt "High accuracy (47, 83, 20)"
|
||||
bool "High accuracy (47, 83, 20)"
|
||||
|
||||
endchoice
|
||||
|
||||
|
@ -112,9 +108,8 @@ config BMC150_MAGN_GPIO_DRDY_DEV_NAME
|
|||
is connected to.
|
||||
|
||||
config BMC150_MAGN_GPIO_DRDY_INT_PIN
|
||||
int
|
||||
int "GPIO pin number for the data ready interrupt pin"
|
||||
default 3
|
||||
depends on BMC150_MAGN_TRIGGER_DRDY
|
||||
prompt "GPIO pin number for the data ready interrupt pin"
|
||||
help
|
||||
GPIO pin number for the data ready interrupt pin.
|
||||
|
|
|
@ -58,8 +58,7 @@ choice
|
|||
Specify the type of triggering to be used by the driver.
|
||||
|
||||
config BMG160_TRIGGER_NONE
|
||||
bool
|
||||
prompt "No trigger"
|
||||
bool "No trigger"
|
||||
|
||||
config BMG160_TRIGGER_GLOBAL_THREAD
|
||||
bool "Use global thread"
|
||||
|
|
|
@ -47,8 +47,7 @@ choice
|
|||
Specify the type of triggering to be used by the driver.
|
||||
|
||||
config BMI160_TRIGGER_NONE
|
||||
bool
|
||||
prompt "No trigger"
|
||||
bool "No trigger"
|
||||
|
||||
config BMI160_TRIGGER_GLOBAL_THREAD
|
||||
bool "Use global thread"
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
#
|
||||
|
||||
menuconfig CCS811
|
||||
bool
|
||||
prompt "CCS811 Digital Gas Sensor"
|
||||
bool "CCS811 Digital Gas Sensor"
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for CCS811 Gas sensors.
|
||||
|
@ -16,16 +15,14 @@ menuconfig CCS811
|
|||
if !HAS_DTS_I2C_DEVICE
|
||||
|
||||
config CCS811_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "CCS811"
|
||||
depends on CCS811
|
||||
help
|
||||
Device name with which the CCS811 sensor is identified.
|
||||
|
||||
config CCS811_I2C_ADDR
|
||||
hex
|
||||
prompt "I2C address for CCS811 Sensor"
|
||||
hex "I2C address for CCS811 Sensor"
|
||||
depends on CCS811
|
||||
range 0x5a 0x5b
|
||||
default "0x5b"
|
||||
|
@ -35,8 +32,7 @@ config CCS811_I2C_ADDR
|
|||
0x5b: I2C_ADDR connected to VDD.
|
||||
|
||||
config CCS811_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C master where CCS811 is connected"
|
||||
string "I2C master where CCS811 is connected"
|
||||
depends on CCS811
|
||||
default "I2C_1"
|
||||
help
|
||||
|
@ -46,8 +42,7 @@ config CCS811_I2C_MASTER_DEV_NAME
|
|||
endif
|
||||
|
||||
config CCS811_GPIO_DEV_NAME
|
||||
string
|
||||
prompt "GPIO device"
|
||||
string "GPIO device"
|
||||
default "GPIOC"
|
||||
depends on CCS811
|
||||
help
|
||||
|
@ -55,15 +50,13 @@ config CCS811_GPIO_DEV_NAME
|
|||
pin is connected.
|
||||
|
||||
config CCS811_GPIO_WAKEUP
|
||||
bool
|
||||
prompt "Enable GPIO Wakeup for CCS811"
|
||||
bool "Enable GPIO Wakeup for CCS811"
|
||||
depends on CCS811
|
||||
help
|
||||
Enable GPIO Wakeup support for CCS811
|
||||
|
||||
config CCS811_GPIO_WAKEUP_PIN_NUM
|
||||
int
|
||||
prompt "GPIO Wakeup pin number"
|
||||
int "GPIO Wakeup pin number"
|
||||
default 0
|
||||
depends on CCS811 && CCS811_GPIO_WAKEUP
|
||||
help
|
||||
|
@ -71,15 +64,13 @@ config CCS811_GPIO_WAKEUP_PIN_NUM
|
|||
is connected
|
||||
|
||||
config CCS811_GPIO_RESET
|
||||
bool
|
||||
prompt "Enable GPIO Reset for CCS811"
|
||||
bool "Enable GPIO Reset for CCS811"
|
||||
depends on CCS811
|
||||
help
|
||||
Enable GPIO Reset support for CCS811
|
||||
|
||||
config CCS811_GPIO_RESET_PIN_NUM
|
||||
int
|
||||
prompt "GPIO Reset pin number"
|
||||
int "GPIO Reset pin number"
|
||||
default 0
|
||||
depends on CCS811 && CCS811_GPIO_RESET
|
||||
help
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
#
|
||||
|
||||
menuconfig DHT
|
||||
bool
|
||||
prompt "DHT Temperature and Humidity Sensor"
|
||||
bool "DHT Temperature and Humidity Sensor"
|
||||
depends on GPIO
|
||||
help
|
||||
Enable driver for the DHT temperature and humidity sensor family.
|
||||
|
@ -21,22 +20,19 @@ choice
|
|||
Choose desired chip type from the DHT family.
|
||||
|
||||
config DHT_CHIP_DHT11
|
||||
bool
|
||||
prompt "DHT11"
|
||||
bool "DHT11"
|
||||
help
|
||||
Choose this option to enable the DHT11 chip.
|
||||
|
||||
config DHT_CHIP_DHT22
|
||||
bool
|
||||
prompt "DHT22"
|
||||
bool "DHT22"
|
||||
help
|
||||
Choose this option to enable the DHT22 chip.
|
||||
|
||||
endchoice
|
||||
|
||||
config DHT_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "DHT11" if DHT_CHIP_DHT11
|
||||
default "DHT22" if DHT_CHIP_DHT22
|
||||
depends on DHT
|
||||
|
@ -44,8 +40,7 @@ config DHT_NAME
|
|||
Device name with which the sensor is identified.
|
||||
|
||||
config DHT_GPIO_DEV_NAME
|
||||
string
|
||||
prompt "GPIO device"
|
||||
string "GPIO device"
|
||||
default "GPIO_0"
|
||||
depends on DHT
|
||||
help
|
||||
|
@ -53,8 +48,7 @@ config DHT_GPIO_DEV_NAME
|
|||
is connected.
|
||||
|
||||
config DHT_GPIO_PIN_NUM
|
||||
int
|
||||
prompt "Interrupt GPIO pin number"
|
||||
int "Interrupt GPIO pin number"
|
||||
default 0
|
||||
depends on DHT
|
||||
help
|
||||
|
|
|
@ -7,23 +7,20 @@
|
|||
#
|
||||
|
||||
menuconfig HDC1008
|
||||
bool
|
||||
prompt "HDC1008 Temperature and Humidity Sensor"
|
||||
bool "HDC1008 Temperature and Humidity Sensor"
|
||||
depends on I2C && GPIO
|
||||
help
|
||||
Enable driver for HDC1008 temperature and humidity sensors.
|
||||
|
||||
config HDC1008_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "HDC1008"
|
||||
depends on HDC1008
|
||||
help
|
||||
Device name with which the HDC1008 sensor is identified.
|
||||
|
||||
config HDC1008_I2C_ADDR
|
||||
hex
|
||||
prompt "I2C Address for HDC1008"
|
||||
hex "I2C Address for HDC1008"
|
||||
depends on HDC1008
|
||||
default "0x40"
|
||||
help
|
||||
|
@ -33,8 +30,7 @@ config HDC1008_I2C_ADDR
|
|||
0x43: A0 connected VDD and A1 connected to VDD.
|
||||
|
||||
config HDC1008_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C master where HDC1008 is connected"
|
||||
string "I2C master where HDC1008 is connected"
|
||||
depends on HDC1008
|
||||
default "I2C_0"
|
||||
help
|
||||
|
@ -42,8 +38,7 @@ config HDC1008_I2C_MASTER_DEV_NAME
|
|||
HDC1008 chip is connected.
|
||||
|
||||
config HDC1008_GPIO_DEV_NAME
|
||||
string
|
||||
prompt "GPIO device"
|
||||
string "GPIO device"
|
||||
default "GPIO_0"
|
||||
depends on HDC1008
|
||||
help
|
||||
|
@ -51,8 +46,7 @@ config HDC1008_GPIO_DEV_NAME
|
|||
pin is connected.
|
||||
|
||||
config HDC1008_GPIO_PIN_NUM
|
||||
int
|
||||
prompt "Interrupt GPIO pin number"
|
||||
int "Interrupt GPIO pin number"
|
||||
default 0
|
||||
depends on HDC1008
|
||||
help
|
||||
|
|
|
@ -5,23 +5,20 @@
|
|||
#
|
||||
|
||||
menuconfig HMC5883L
|
||||
bool
|
||||
prompt "HMC5883L magnetometer"
|
||||
bool "HMC5883L magnetometer"
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for HMC5883L I2C-based magnetometer.
|
||||
|
||||
config HMC5883L_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "HMC5883L"
|
||||
depends on HMC5883L
|
||||
help
|
||||
Device name with which the HMC5883L sensor is identified.
|
||||
|
||||
config HMC5883L_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C master where HMC5883L is connected"
|
||||
string "I2C master where HMC5883L is connected"
|
||||
depends on HMC5883L
|
||||
default "I2C_0"
|
||||
help
|
||||
|
@ -36,18 +33,15 @@ choice
|
|||
Specify the type of triggering to be used by the driver.
|
||||
|
||||
config HMC5883L_TRIGGER_NONE
|
||||
bool
|
||||
prompt "No trigger"
|
||||
bool "No trigger"
|
||||
|
||||
config HMC5883L_TRIGGER_GLOBAL_THREAD
|
||||
bool
|
||||
prompt "Use global thread"
|
||||
bool "Use global thread"
|
||||
depends on GPIO
|
||||
select HMC5883L_TRIGGER
|
||||
|
||||
config HMC5883L_TRIGGER_OWN_THREAD
|
||||
bool
|
||||
prompt "Use own thread"
|
||||
bool "Use own thread"
|
||||
depends on GPIO
|
||||
select HMC5883L_TRIGGER
|
||||
|
||||
|
@ -58,8 +52,7 @@ config HMC5883L_TRIGGER
|
|||
depends on HMC5883L
|
||||
|
||||
config HMC5883L_GPIO_DEV_NAME
|
||||
string
|
||||
prompt "GPIO device"
|
||||
string "GPIO device"
|
||||
default "GPIO_0"
|
||||
depends on HMC5883L && HMC5883L_TRIGGER
|
||||
help
|
||||
|
@ -67,8 +60,7 @@ config HMC5883L_GPIO_DEV_NAME
|
|||
pin is connected.
|
||||
|
||||
config HMC5883L_GPIO_PIN_NUM
|
||||
int
|
||||
prompt "Interrupt GPIO pin number"
|
||||
int "Interrupt GPIO pin number"
|
||||
default 0
|
||||
depends on HMC5883L && HMC5883L_TRIGGER
|
||||
help
|
||||
|
@ -76,24 +68,21 @@ config HMC5883L_GPIO_PIN_NUM
|
|||
HMC5883L chip will be received.
|
||||
|
||||
config HMC5883L_THREAD_PRIORITY
|
||||
int
|
||||
prompt "Thread priority"
|
||||
int "Thread priority"
|
||||
depends on HMC5883L && HMC5883L_TRIGGER_OWN_THREAD
|
||||
default 10
|
||||
help
|
||||
Priority of thread used by the driver to handle interrupts.
|
||||
|
||||
config HMC5883L_THREAD_STACK_SIZE
|
||||
int
|
||||
prompt "Thread stack size"
|
||||
int "Thread stack size"
|
||||
depends on HMC5883L && HMC5883L_TRIGGER_OWN_THREAD
|
||||
default 1024
|
||||
help
|
||||
Stack size of thread used by the driver to handle interrupts.
|
||||
|
||||
config HMC5883L_ODR
|
||||
string
|
||||
prompt "Output data rate"
|
||||
string "Output data rate"
|
||||
depends on HMC5883L
|
||||
default "15"
|
||||
help
|
||||
|
@ -102,8 +91,7 @@ config HMC5883L_ODR
|
|||
and 75.
|
||||
|
||||
config HMC5883L_FS
|
||||
string
|
||||
prompt "Full-scale range"
|
||||
string "Full-scale range"
|
||||
depends on HMC5883L
|
||||
default "1.3"
|
||||
help
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
#
|
||||
|
||||
menuconfig HTS221
|
||||
bool
|
||||
prompt "HTS221 temperature and humidity sensor"
|
||||
bool "HTS221 temperature and humidity sensor"
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for HTS221 I2C-based temperature and humidity sensor.
|
||||
|
@ -14,16 +13,14 @@ menuconfig HTS221
|
|||
if !HAS_DTS_I2C_DEVICE
|
||||
|
||||
config HTS221_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "HTS221"
|
||||
depends on HTS221
|
||||
help
|
||||
Device name with which the HTS221 sensor is identified.
|
||||
|
||||
config HTS221_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C master where HTS221 is connected"
|
||||
string "I2C master where HTS221 is connected"
|
||||
depends on HTS221
|
||||
default "I2C_0"
|
||||
help
|
||||
|
@ -40,18 +37,15 @@ choice
|
|||
Specify the type of triggering to be used by the driver.
|
||||
|
||||
config HTS221_TRIGGER_NONE
|
||||
bool
|
||||
prompt "No trigger"
|
||||
bool "No trigger"
|
||||
|
||||
config HTS221_TRIGGER_GLOBAL_THREAD
|
||||
bool
|
||||
prompt "Use global thread"
|
||||
bool "Use global thread"
|
||||
depends on GPIO
|
||||
select HTS221_TRIGGER
|
||||
|
||||
config HTS221_TRIGGER_OWN_THREAD
|
||||
bool
|
||||
prompt "Use own thread"
|
||||
bool "Use own thread"
|
||||
depends on GPIO
|
||||
select HTS221_TRIGGER
|
||||
|
||||
|
@ -62,8 +56,7 @@ config HTS221_TRIGGER
|
|||
depends on HTS221
|
||||
|
||||
config HTS221_GPIO_DEV_NAME
|
||||
string
|
||||
prompt "GPIO device"
|
||||
string "GPIO device"
|
||||
default "GPIO_0"
|
||||
depends on HTS221 && HTS221_TRIGGER
|
||||
help
|
||||
|
@ -71,8 +64,7 @@ config HTS221_GPIO_DEV_NAME
|
|||
is connected.
|
||||
|
||||
config HTS221_GPIO_PIN_NUM
|
||||
int
|
||||
prompt "Interrupt GPIO pin number"
|
||||
int "Interrupt GPIO pin number"
|
||||
default 0
|
||||
depends on HTS221 && HTS221_TRIGGER
|
||||
help
|
||||
|
@ -80,24 +72,21 @@ config HTS221_GPIO_PIN_NUM
|
|||
chip will be received.
|
||||
|
||||
config HTS221_THREAD_PRIORITY
|
||||
int
|
||||
prompt "Thread priority"
|
||||
int "Thread priority"
|
||||
depends on HTS221 && HTS221_TRIGGER_OWN_THREAD
|
||||
default 10
|
||||
help
|
||||
Priority of thread used by the driver to handle interrupts.
|
||||
|
||||
config HTS221_THREAD_STACK_SIZE
|
||||
int
|
||||
prompt "Thread stack size"
|
||||
int "Thread stack size"
|
||||
depends on HTS221 && HTS221_TRIGGER_OWN_THREAD
|
||||
default 1024
|
||||
help
|
||||
Stack size of thread used by the driver to handle interrupts.
|
||||
|
||||
config HTS221_ODR
|
||||
string
|
||||
prompt "Output data rate"
|
||||
string "Output data rate"
|
||||
depends on HTS221
|
||||
default "1"
|
||||
help
|
||||
|
|
|
@ -7,23 +7,20 @@
|
|||
#
|
||||
|
||||
menuconfig ISL29035
|
||||
bool
|
||||
prompt "ISL29035 light sensor"
|
||||
bool "ISL29035 light sensor"
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for the ISL29035 light sensor.
|
||||
|
||||
config ISL29035_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "ISL29035"
|
||||
depends on ISL29035
|
||||
help
|
||||
Device name with which the ISL29035 sensor is identified.
|
||||
|
||||
config ISL29035_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C Master"
|
||||
string "I2C Master"
|
||||
depends on ISL29035
|
||||
default "I2C_0"
|
||||
help
|
||||
|
@ -31,8 +28,7 @@ config ISL29035_I2C_MASTER_DEV_NAME
|
|||
chip is connected.
|
||||
|
||||
config ISL29035_THREAD_PRIORITY
|
||||
int
|
||||
prompt "Thread priority"
|
||||
int "Thread priority"
|
||||
depends on ISL29035
|
||||
default 10
|
||||
help
|
||||
|
@ -47,20 +43,16 @@ choice
|
|||
resolution.
|
||||
|
||||
config ISL29035_LUX_RANGE_1K
|
||||
bool
|
||||
prompt "1000"
|
||||
bool "1000"
|
||||
|
||||
config ISL29035_LUX_RANGE_4K
|
||||
bool
|
||||
prompt "4000"
|
||||
bool "4000"
|
||||
|
||||
config ISL29035_LUX_RANGE_16K
|
||||
bool
|
||||
prompt "16000"
|
||||
bool "16000"
|
||||
|
||||
config ISL29035_LUX_RANGE_64K
|
||||
bool
|
||||
prompt "64000"
|
||||
bool "64000"
|
||||
|
||||
endchoice
|
||||
|
||||
|
@ -73,20 +65,16 @@ choice
|
|||
Lower integration time values mean lower ADC resolution.
|
||||
|
||||
config ISL29035_INTEGRATION_TIME_26
|
||||
bool
|
||||
prompt "0.0256 ms"
|
||||
bool "0.0256 ms"
|
||||
|
||||
config ISL29035_INTEGRATION_TIME_410
|
||||
bool
|
||||
prompt "0.41 ms"
|
||||
bool "0.41 ms"
|
||||
|
||||
config ISL29035_INTEGRATION_TIME_6500
|
||||
bool
|
||||
prompt "6.5 ms"
|
||||
bool "6.5 ms"
|
||||
|
||||
config ISL29035_INTEGRATION_TIME_105K
|
||||
bool
|
||||
prompt "105 ms"
|
||||
bool "105 ms"
|
||||
|
||||
endchoice
|
||||
|
||||
|
@ -99,14 +87,12 @@ choice
|
|||
configured either for either ambient light or infrared sensing.
|
||||
|
||||
config ISL29035_MODE_ALS
|
||||
bool
|
||||
prompt "ambient light"
|
||||
bool "ambient light"
|
||||
help
|
||||
Sensing mode for ambient light spectrum.
|
||||
|
||||
config ISL29035_MODE_IR
|
||||
bool
|
||||
prompt "infrared"
|
||||
bool "infrared"
|
||||
help
|
||||
Sensing mode for infrared spectrum.
|
||||
|
||||
|
@ -121,18 +107,15 @@ choice
|
|||
Only available for ambient light sensing mode.
|
||||
|
||||
config ISL29035_TRIGGER_NONE
|
||||
bool
|
||||
prompt "No trigger"
|
||||
bool "No trigger"
|
||||
|
||||
config ISL29035_TRIGGER_GLOBAL_THREAD
|
||||
bool
|
||||
prompt "Use global thread"
|
||||
bool "Use global thread"
|
||||
depends on GPIO
|
||||
select ISL29035_TRIGGER
|
||||
|
||||
config ISL29035_TRIGGER_OWN_THREAD
|
||||
bool
|
||||
prompt "Use own thread"
|
||||
bool "Use own thread"
|
||||
depends on GPIO
|
||||
select ISL29035_TRIGGER
|
||||
|
||||
|
@ -143,8 +126,7 @@ config ISL29035_TRIGGER
|
|||
depends on ISL29035
|
||||
|
||||
config ISL29035_GPIO_DEV_NAME
|
||||
string
|
||||
prompt "GPIO device"
|
||||
string "GPIO device"
|
||||
default "GPIO_0"
|
||||
depends on ISL29035 && ISL29035_TRIGGER
|
||||
help
|
||||
|
@ -152,8 +134,7 @@ config ISL29035_GPIO_DEV_NAME
|
|||
pin is connected.
|
||||
|
||||
config ISL29035_GPIO_PIN_NUM
|
||||
int
|
||||
prompt "GPIO pin number"
|
||||
int "GPIO pin number"
|
||||
default 0
|
||||
depends on ISL29035 && ISL29035_TRIGGER
|
||||
help
|
||||
|
@ -161,16 +142,14 @@ config ISL29035_GPIO_PIN_NUM
|
|||
connected.
|
||||
|
||||
config ISL29035_THREAD_PRIORITY
|
||||
int
|
||||
prompt "Thread priority"
|
||||
int "Thread priority"
|
||||
depends on ISL29035 && ISL29035_TRIGGER_OWN_THREAD
|
||||
default 10
|
||||
help
|
||||
Priority of thread used by the driver to handle interrupts.
|
||||
|
||||
config ISL29035_THREAD_STACK_SIZE
|
||||
int
|
||||
prompt "Thread stack size"
|
||||
int "Thread stack size"
|
||||
depends on ISL29035 && ISL29035_TRIGGER_OWN_THREAD
|
||||
default 1024
|
||||
help
|
||||
|
@ -186,19 +165,15 @@ choice
|
|||
to be triggered.
|
||||
|
||||
config ISL29035_INT_PERSIST_1
|
||||
bool
|
||||
prompt "1"
|
||||
bool "1"
|
||||
|
||||
config ISL29035_INT_PERSIST_4
|
||||
bool
|
||||
prompt "4"
|
||||
bool "4"
|
||||
|
||||
config ISL29035_INT_PERSIST_8
|
||||
bool
|
||||
prompt "8"
|
||||
bool "8"
|
||||
|
||||
config ISL29035_INT_PERSIST_16
|
||||
bool
|
||||
prompt "16"
|
||||
bool "16"
|
||||
|
||||
endchoice
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
#
|
||||
|
||||
menuconfig LIS2DH
|
||||
bool
|
||||
prompt "LIS2DH Three Axis Accelerometer"
|
||||
bool "LIS2DH Three Axis Accelerometer"
|
||||
depends on I2C || SPI
|
||||
help
|
||||
Enable driver for LIS2DH SPI/I2C-based triaxial accelerometer sensor.
|
||||
|
@ -77,8 +76,7 @@ config LIS2DH_I2C_ADDR
|
|||
0x19: Choose this option if the SDO pin is pulled to VDDIO.
|
||||
|
||||
config LIS2DH_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C master where LIS2DH is connected"
|
||||
string "I2C master where LIS2DH is connected"
|
||||
depends on LIS2DH && LIS2DH_BUS_I2C
|
||||
default "I2C_0"
|
||||
help
|
||||
|
|
|
@ -7,23 +7,20 @@
|
|||
#
|
||||
|
||||
menuconfig LIS3DH
|
||||
bool
|
||||
prompt "LIS3DH Three Axis Accelerometer"
|
||||
bool "LIS3DH Three Axis Accelerometer"
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for LIS3DH I2C-based triaxial accelerometer sensor.
|
||||
|
||||
config LIS3DH_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "LIS3DH"
|
||||
depends on LIS3DH
|
||||
help
|
||||
Device name with which the LIS3DH sensor is identified.
|
||||
|
||||
config LIS3DH_I2C_ADDR
|
||||
hex
|
||||
prompt "LIS3DH I2C address"
|
||||
hex "LIS3DH I2C address"
|
||||
depends on LIS3DH
|
||||
default 0x18
|
||||
help
|
||||
|
@ -33,8 +30,7 @@ config LIS3DH_I2C_ADDR
|
|||
0x19: Choose this option if the SDO pin is pulled to VDDIO.
|
||||
|
||||
config LIS3DH_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C master where LIS3DH is connected"
|
||||
string "I2C master where LIS3DH is connected"
|
||||
depends on LIS3DH
|
||||
default "I2C_0"
|
||||
help
|
||||
|
@ -49,18 +45,15 @@ choice
|
|||
Specify the type of triggering to be used by the driver.
|
||||
|
||||
config LIS3DH_TRIGGER_NONE
|
||||
bool
|
||||
prompt "No trigger"
|
||||
bool "No trigger"
|
||||
|
||||
config LIS3DH_TRIGGER_GLOBAL_THREAD
|
||||
bool
|
||||
prompt "Use global thread"
|
||||
bool "Use global thread"
|
||||
depends on GPIO
|
||||
select LIS3DH_TRIGGER
|
||||
|
||||
config LIS3DH_TRIGGER_OWN_THREAD
|
||||
bool
|
||||
prompt "Use own thread"
|
||||
bool "Use own thread"
|
||||
depends on GPIO
|
||||
select LIS3DH_TRIGGER
|
||||
|
||||
|
@ -71,8 +64,7 @@ config LIS3DH_TRIGGER
|
|||
depends on LIS3DH
|
||||
|
||||
config LIS3DH_GPIO_DEV_NAME
|
||||
string
|
||||
prompt "GPIO device"
|
||||
string "GPIO device"
|
||||
default "GPIO_0"
|
||||
depends on LIS3DH && LIS3DH_TRIGGER
|
||||
help
|
||||
|
@ -80,8 +72,7 @@ config LIS3DH_GPIO_DEV_NAME
|
|||
are connected.
|
||||
|
||||
config LIS3DH_GPIO_PIN_NUM
|
||||
int
|
||||
prompt "Interrupt GPIO pin number"
|
||||
int "Interrupt GPIO pin number"
|
||||
default 0
|
||||
depends on LIS3DH && LIS3DH_TRIGGER
|
||||
help
|
||||
|
@ -89,16 +80,14 @@ config LIS3DH_GPIO_PIN_NUM
|
|||
chip will be received.
|
||||
|
||||
config LIS3DH_THREAD_PRIORITY
|
||||
int
|
||||
prompt "Thread priority"
|
||||
int "Thread priority"
|
||||
depends on LIS3DH && LIS3DH_TRIGGER_OWN_THREAD
|
||||
default 10
|
||||
help
|
||||
Priority of thread used by the driver to handle interrupts.
|
||||
|
||||
config LIS3DH_THREAD_STACK_SIZE
|
||||
int
|
||||
prompt "Thread stack size"
|
||||
int "Thread stack size"
|
||||
depends on LIS3DH && LIS3DH_TRIGGER_OWN_THREAD
|
||||
default 1024
|
||||
help
|
||||
|
@ -112,20 +101,16 @@ choice
|
|||
Measurement full scale range for acceleration values.
|
||||
|
||||
config LIS3DH_ACCEL_RANGE_2G
|
||||
bool
|
||||
prompt "+/-2g"
|
||||
bool "+/-2g"
|
||||
|
||||
config LIS3DH_ACCEL_RANGE_4G
|
||||
bool
|
||||
prompt "+/-4g"
|
||||
bool "+/-4g"
|
||||
|
||||
config LIS3DH_ACCEL_RANGE_8G
|
||||
bool
|
||||
prompt "+/-8g"
|
||||
bool "+/-8g"
|
||||
|
||||
config LIS3DH_ACCEL_RANGE_16G
|
||||
bool
|
||||
prompt "+/-16g"
|
||||
bool "+/-16g"
|
||||
|
||||
endchoice
|
||||
|
||||
|
@ -137,12 +122,10 @@ choice
|
|||
Choose between normal or low power operation mode for chip.
|
||||
|
||||
config LIS3DH_POWER_MODE_NORMAL
|
||||
bool
|
||||
prompt "normal"
|
||||
bool "normal"
|
||||
|
||||
config LIS3DH_POWER_MODE_LOW
|
||||
bool
|
||||
prompt "low"
|
||||
bool "low"
|
||||
|
||||
endchoice
|
||||
|
||||
|
@ -154,46 +137,36 @@ choice
|
|||
Data rate frequency of acceleration data.
|
||||
|
||||
config LIS3DH_ODR_1
|
||||
bool
|
||||
prompt "1Hz"
|
||||
bool "1Hz"
|
||||
|
||||
config LIS3DH_ODR_2
|
||||
bool
|
||||
prompt "10Hz"
|
||||
bool "10Hz"
|
||||
|
||||
config LIS3DH_ODR_3
|
||||
bool
|
||||
prompt "25Hz"
|
||||
bool "25Hz"
|
||||
|
||||
config LIS3DH_ODR_4
|
||||
bool
|
||||
prompt "50Hz"
|
||||
bool "50Hz"
|
||||
|
||||
config LIS3DH_ODR_5
|
||||
bool
|
||||
prompt "100Hz"
|
||||
bool "100Hz"
|
||||
|
||||
config LIS3DH_ODR_6
|
||||
bool
|
||||
prompt "200Hz"
|
||||
bool "200Hz"
|
||||
|
||||
config LIS3DH_ODR_7
|
||||
bool
|
||||
prompt "400Hz"
|
||||
bool "400Hz"
|
||||
|
||||
config LIS3DH_ODR_8
|
||||
bool
|
||||
prompt "1.6KHz"
|
||||
bool "1.6KHz"
|
||||
depends on LIS3DH_POWER_MODE_LOW
|
||||
|
||||
config LIS3DH_ODR_9_NORMAL
|
||||
bool
|
||||
prompt "1.25KHz"
|
||||
bool "1.25KHz"
|
||||
depends on LIS3DH_POWER_MODE_NORMAL
|
||||
|
||||
config LIS3DH_ODR_9_LOW
|
||||
bool
|
||||
prompt "5KHz"
|
||||
bool "5KHz"
|
||||
depends on LIS3DH_POWER_MODE_LOW
|
||||
|
||||
endchoice
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
#
|
||||
|
||||
menuconfig LIS3MDL
|
||||
bool
|
||||
prompt "LIS3MDL magnetometer"
|
||||
bool "LIS3MDL magnetometer"
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for LIS3MDL I2C-based magnetometer.
|
||||
|
@ -14,16 +13,14 @@ menuconfig LIS3MDL
|
|||
if !HAS_DTS_I2C_DEVICE
|
||||
|
||||
config LIS3MDL_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "LIS3MDL"
|
||||
depends on LIS3MDL
|
||||
help
|
||||
Device name with which the LIS3MDL sensor is identified.
|
||||
|
||||
config LIS3MDL_I2C_ADDR
|
||||
hex
|
||||
prompt "I2C address"
|
||||
hex "I2C address"
|
||||
depends on LIS3MDL
|
||||
default 0x1C
|
||||
help
|
||||
|
@ -32,8 +29,7 @@ config LIS3MDL_I2C_ADDR
|
|||
is pulled to VDD.
|
||||
|
||||
config LIS3MDL_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C master where LIS3MDL is connected"
|
||||
string "I2C master where LIS3MDL is connected"
|
||||
depends on LIS3MDL
|
||||
default "I2C_0"
|
||||
help
|
||||
|
@ -50,18 +46,15 @@ choice
|
|||
Specify the type of triggering to be used by the driver.
|
||||
|
||||
config LIS3MDL_TRIGGER_NONE
|
||||
bool
|
||||
prompt "No trigger"
|
||||
bool "No trigger"
|
||||
|
||||
config LIS3MDL_TRIGGER_GLOBAL_THREAD
|
||||
bool
|
||||
prompt "Use global thread"
|
||||
bool "Use global thread"
|
||||
depends on GPIO
|
||||
select LIS3MDL_TRIGGER
|
||||
|
||||
config LIS3MDL_TRIGGER_OWN_THREAD
|
||||
bool
|
||||
prompt "Use own thread"
|
||||
bool "Use own thread"
|
||||
depends on GPIO
|
||||
select LIS3MDL_TRIGGER
|
||||
|
||||
|
@ -72,8 +65,7 @@ config LIS3MDL_TRIGGER
|
|||
depends on LIS3MDL
|
||||
|
||||
config LIS3MDL_GPIO_DEV_NAME
|
||||
string
|
||||
prompt "GPIO device"
|
||||
string "GPIO device"
|
||||
default "GPIO_0"
|
||||
depends on LIS3MDL && LIS3MDL_TRIGGER
|
||||
help
|
||||
|
@ -81,8 +73,7 @@ config LIS3MDL_GPIO_DEV_NAME
|
|||
are connected.
|
||||
|
||||
config LIS3MDL_GPIO_PIN_NUM
|
||||
int
|
||||
prompt "Interrupt GPIO pin number"
|
||||
int "Interrupt GPIO pin number"
|
||||
default 0
|
||||
depends on LIS3MDL && LIS3MDL_TRIGGER
|
||||
help
|
||||
|
@ -90,24 +81,21 @@ config LIS3MDL_GPIO_PIN_NUM
|
|||
chip will be received.
|
||||
|
||||
config LIS3MDL_THREAD_PRIORITY
|
||||
int
|
||||
prompt "Thread priority"
|
||||
int "Thread priority"
|
||||
depends on LIS3MDL && LIS3MDL_TRIGGER_OWN_THREAD
|
||||
default 10
|
||||
help
|
||||
Priority of thread used by the driver to handle interrupts.
|
||||
|
||||
config LIS3MDL_THREAD_STACK_SIZE
|
||||
int
|
||||
prompt "Thread stack size"
|
||||
int "Thread stack size"
|
||||
depends on LIS3MDL && LIS3MDL_TRIGGER_OWN_THREAD
|
||||
default 1024
|
||||
help
|
||||
Stack size of thread used by the driver to handle interrupts.
|
||||
|
||||
config LIS3MDL_ODR
|
||||
string
|
||||
prompt "Output data rate"
|
||||
string "Output data rate"
|
||||
depends on LIS3MDL
|
||||
default "0.625"
|
||||
help
|
||||
|
@ -116,8 +104,7 @@ config LIS3MDL_ODR
|
|||
40, 80, 155, 300, 560 and 1000.
|
||||
|
||||
config LIS3MDL_FS
|
||||
int
|
||||
prompt "Full-scale range"
|
||||
int "Full-scale range"
|
||||
depends on LIS3MDL
|
||||
default 4
|
||||
help
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
#
|
||||
|
||||
menuconfig LPS22HB
|
||||
bool
|
||||
prompt "LPS22HB pressure and temperature"
|
||||
bool "LPS22HB pressure and temperature"
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for LPS22HB I2C-based pressure and temperature
|
||||
|
@ -15,16 +14,14 @@ menuconfig LPS22HB
|
|||
if !HAS_DTS_I2C_DEVICE
|
||||
|
||||
config LPS22HB_DEV_NAME
|
||||
string
|
||||
prompt "Device name"
|
||||
string "Device name"
|
||||
default "LPS22HB"
|
||||
depends on LPS22HB
|
||||
help
|
||||
Device name used for LPS22HB sensor identification.
|
||||
|
||||
config LPS22HB_I2C_ADDR
|
||||
hex
|
||||
prompt "I2C address"
|
||||
hex "I2C address"
|
||||
depends on LPS22HB
|
||||
default 0x5D
|
||||
range 0x5C 0x5D
|
||||
|
@ -34,8 +31,7 @@ config LPS22HB_I2C_ADDR
|
|||
pin is pulled to VDD.
|
||||
|
||||
config LPS22HB_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C master where LPS22HB is connected"
|
||||
string "I2C master where LPS22HB is connected"
|
||||
depends on LPS22HB
|
||||
default I2C_0_NAME
|
||||
help
|
||||
|
@ -48,8 +44,7 @@ menu "Attributes"
|
|||
depends on LPS22HB
|
||||
|
||||
config LPS22HB_SAMPLING_RATE
|
||||
int
|
||||
prompt "Output data rate"
|
||||
int "Output data rate"
|
||||
depends on LPS22HB
|
||||
default 25
|
||||
help
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
#
|
||||
|
||||
menuconfig LPS25HB
|
||||
bool
|
||||
prompt "LPS25HB pressure and temperature"
|
||||
bool "LPS25HB pressure and temperature"
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for LPS25HB I2C-based pressure and temperature
|
||||
|
@ -15,16 +14,14 @@ menuconfig LPS25HB
|
|||
if !HAS_DTS_I2C_DEVICE
|
||||
|
||||
config LPS25HB_DEV_NAME
|
||||
string
|
||||
prompt "Device name"
|
||||
string "Device name"
|
||||
default "lps25hb"
|
||||
depends on LPS25HB
|
||||
help
|
||||
Device name with which the LPS25HB sensor is identified.
|
||||
|
||||
config LPS25HB_I2C_ADDR
|
||||
hex
|
||||
prompt "I2C address"
|
||||
hex "I2C address"
|
||||
depends on LPS25HB
|
||||
default "0x5C"
|
||||
help
|
||||
|
@ -33,8 +30,7 @@ config LPS25HB_I2C_ADDR
|
|||
pin is pulled to VDD.
|
||||
|
||||
config LPS25HB_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C master where LPS25HB is connected"
|
||||
string "I2C master where LPS25HB is connected"
|
||||
depends on LPS25HB
|
||||
default "I2C_0"
|
||||
help
|
||||
|
@ -47,8 +43,7 @@ menu "Attributes"
|
|||
depends on LPS25HB
|
||||
|
||||
config LPS25HB_SAMPLING_RATE
|
||||
int
|
||||
prompt "Output data rate"
|
||||
int "Output data rate"
|
||||
depends on LPS25HB
|
||||
default 25
|
||||
help
|
||||
|
|
|
@ -22,8 +22,7 @@ config LSM6DS0_DEV_NAME
|
|||
default "lsm6ds0"
|
||||
|
||||
config LSM6DS0_I2C_ADDR
|
||||
hex
|
||||
prompt "LSM6DS0 I2C address"
|
||||
hex "LSM6DS0 I2C address"
|
||||
depends on LSM6DS0
|
||||
default 0x6B
|
||||
help
|
||||
|
@ -100,8 +99,7 @@ menu "Attributes"
|
|||
depends on LSM6DS0
|
||||
|
||||
config LSM6DS0_GYRO_FULLSCALE
|
||||
int
|
||||
prompt "Gyroscope full-scale range"
|
||||
int "Gyroscope full-scale range"
|
||||
depends on LSM6DS0
|
||||
default 245
|
||||
help
|
||||
|
@ -110,8 +108,7 @@ config LSM6DS0_GYRO_FULLSCALE
|
|||
second. Valid values are 245, 500 and 2000.
|
||||
|
||||
config LSM6DS0_GYRO_SAMPLING_RATE
|
||||
int
|
||||
prompt "Output data rate"
|
||||
int "Output data rate"
|
||||
depends on LSM6DS0
|
||||
default 15
|
||||
help
|
||||
|
@ -121,8 +118,7 @@ config LSM6DS0_GYRO_SAMPLING_RATE
|
|||
952.
|
||||
|
||||
config LSM6DS0_ACCEL_FULLSCALE
|
||||
int
|
||||
prompt "Accelerometer full-scale range"
|
||||
int "Accelerometer full-scale range"
|
||||
depends on LSM6DS0
|
||||
default 2
|
||||
help
|
||||
|
@ -131,8 +127,7 @@ config LSM6DS0_ACCEL_FULLSCALE
|
|||
are 2, 4, 8 and 16.
|
||||
|
||||
config LSM6DS0_ACCEL_SAMPLING_RATE
|
||||
int
|
||||
prompt "Output data rate"
|
||||
int "Output data rate"
|
||||
depends on LSM6DS0
|
||||
default 10
|
||||
help
|
||||
|
|
|
@ -38,8 +38,7 @@ config LSM6DSL_DEV_NAME
|
|||
if !HAS_DTS_I2C_DEVICE
|
||||
|
||||
config LSM6DSL_I2C_ADDR
|
||||
hex
|
||||
prompt "LSM6DSL I2C address"
|
||||
hex "LSM6DSL I2C address"
|
||||
depends on LSM6DSL && LSM6DSL_I2C
|
||||
default 0x6A
|
||||
range 0x6A 0x6B
|
||||
|
@ -119,18 +118,15 @@ choice LSM6DSL_TRIGGER_MODE
|
|||
Specify the type of triggering to be used by the driver.
|
||||
|
||||
config LSM6DSL_TRIGGER_NONE
|
||||
bool
|
||||
prompt "No trigger"
|
||||
bool "No trigger"
|
||||
|
||||
config LSM6DSL_TRIGGER_GLOBAL_THREAD
|
||||
bool
|
||||
prompt "Use global thread"
|
||||
bool "Use global thread"
|
||||
depends on GPIO
|
||||
select LSM6DSL_TRIGGER
|
||||
|
||||
config LSM6DSL_TRIGGER_OWN_THREAD
|
||||
bool
|
||||
prompt "Use own thread"
|
||||
bool "Use own thread"
|
||||
depends on GPIO
|
||||
select LSM6DSL_TRIGGER
|
||||
|
||||
|
@ -143,16 +139,14 @@ config LSM6DSL_TRIGGER
|
|||
if !HAS_DTS_SPI_PINS
|
||||
|
||||
config LSM6DSL_GPIO_DEV_NAME
|
||||
string
|
||||
prompt "GPIO device"
|
||||
string "GPIO device"
|
||||
depends on LSM6DSL && LSM6DSL_TRIGGER
|
||||
help
|
||||
The device name of the GPIO device to which the LSM6DSL interrupt pin
|
||||
is connected.
|
||||
|
||||
config LSM6DSL_GPIO_PIN_NUM
|
||||
int
|
||||
prompt "Interrupt GPIO pin number"
|
||||
int "Interrupt GPIO pin number"
|
||||
depends on LSM6DSL && LSM6DSL_TRIGGER
|
||||
help
|
||||
The number of the GPIO on which the interrupt signal from the LSM6DSL
|
||||
|
@ -161,16 +155,14 @@ config LSM6DSL_GPIO_PIN_NUM
|
|||
endif #HAS_DTS_SPI_DEVICE
|
||||
|
||||
config LSM6DSL_THREAD_PRIORITY
|
||||
int
|
||||
prompt "Thread priority"
|
||||
int "Thread priority"
|
||||
depends on LSM6DSL && LSM6DSL_TRIGGER_OWN_THREAD
|
||||
default 10
|
||||
help
|
||||
Priority of thread used by the driver to handle interrupts.
|
||||
|
||||
config LSM6DSL_THREAD_STACK_SIZE
|
||||
int
|
||||
prompt "Thread stack size"
|
||||
int "Thread stack size"
|
||||
depends on LSM6DSL && LSM6DSL_TRIGGER_OWN_THREAD
|
||||
default 1024
|
||||
help
|
||||
|
@ -213,8 +205,7 @@ menu "Attributes"
|
|||
depends on LSM6DSL
|
||||
|
||||
config LSM6DSL_GYRO_FS
|
||||
int
|
||||
prompt "Gyroscope full-scale range"
|
||||
int "Gyroscope full-scale range"
|
||||
depends on LSM6DSL
|
||||
default 0
|
||||
help
|
||||
|
@ -249,8 +240,7 @@ config LSM6DSL_GYRO_ODR
|
|||
10: 6660Hz
|
||||
|
||||
config LSM6DSL_ACCEL_FS
|
||||
int
|
||||
prompt "Accelerometer full-scale range"
|
||||
int "Accelerometer full-scale range"
|
||||
depends on LSM6DSL
|
||||
default 0
|
||||
help
|
||||
|
|
|
@ -18,8 +18,7 @@ config LSM9DS0_GYRO_DEV_NAME
|
|||
default "lsm9ds0_gyro"
|
||||
|
||||
config LSM9DS0_GYRO_I2C_ADDR
|
||||
hex
|
||||
prompt "LSM9DS0_GYRO I2C slave address"
|
||||
hex "LSM9DS0_GYRO I2C slave address"
|
||||
default 0x6A
|
||||
depends on LSM9DS0_GYRO
|
||||
help
|
||||
|
@ -47,16 +46,13 @@ choice
|
|||
Specify the default full-scale.
|
||||
|
||||
config LSM9DS0_GYRO_FULLSCALE_245
|
||||
bool
|
||||
prompt "245 DPS"
|
||||
bool "245 DPS"
|
||||
|
||||
config LSM9DS0_GYRO_FULLSCALE_500
|
||||
bool
|
||||
prompt "500 DPS"
|
||||
bool "500 DPS"
|
||||
|
||||
config LSM9DS0_GYRO_FULLSCALE_2000
|
||||
bool
|
||||
prompt "2000 DPS"
|
||||
bool "2000 DPS"
|
||||
|
||||
endchoice
|
||||
|
||||
|
@ -74,20 +70,16 @@ choice
|
|||
Specify the default sampling rate frequency.
|
||||
|
||||
config LSM9DS0_GYRO_SAMPLING_RATE_95
|
||||
bool
|
||||
prompt "95 Hz"
|
||||
bool "95 Hz"
|
||||
|
||||
config LSM9DS0_GYRO_SAMPLING_RATE_190
|
||||
bool
|
||||
prompt "190 Hz"
|
||||
bool "190 Hz"
|
||||
|
||||
config LSM9DS0_GYRO_SAMPLING_RATE_380
|
||||
bool
|
||||
prompt "380 Hz"
|
||||
bool "380 Hz"
|
||||
|
||||
config LSM9DS0_GYRO_SAMPLING_RATE_760
|
||||
bool
|
||||
prompt "760 Hz"
|
||||
bool "760 Hz"
|
||||
|
||||
endchoice
|
||||
|
||||
|
@ -123,7 +115,6 @@ config LSM9DS0_GYRO_GPIO_DRDY_DEV_NAME
|
|||
is connected to.
|
||||
|
||||
config LSM9DS0_GYRO_GPIO_DRDY_INT_PIN
|
||||
int
|
||||
int "GPIO pin number for the data ready interrupt pin"
|
||||
default 3
|
||||
depends on LSM9DS0_GYRO_TRIGGER_DRDY
|
||||
prompt "GPIO pin number for the data ready interrupt pin"
|
||||
|
|
|
@ -70,48 +70,37 @@ choice
|
|||
Specify the default sampling rate frequency for accelerometer.
|
||||
|
||||
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_0
|
||||
bool
|
||||
prompt "0 Hz (power down)"
|
||||
bool "0 Hz (power down)"
|
||||
|
||||
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_3_125
|
||||
bool
|
||||
prompt "3.125 Hz"
|
||||
bool "3.125 Hz"
|
||||
|
||||
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_6_25
|
||||
bool
|
||||
prompt "6.25 Hz"
|
||||
bool "6.25 Hz"
|
||||
|
||||
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_12_5
|
||||
bool
|
||||
prompt "12.5 Hz"
|
||||
bool "12.5 Hz"
|
||||
|
||||
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_25
|
||||
bool
|
||||
prompt "25 Hz"
|
||||
bool "25 Hz"
|
||||
|
||||
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_50
|
||||
bool
|
||||
prompt "50 Hz"
|
||||
bool "50 Hz"
|
||||
|
||||
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_100
|
||||
bool
|
||||
prompt "100 Hz"
|
||||
bool "100 Hz"
|
||||
|
||||
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_200
|
||||
bool
|
||||
prompt "200 Hz"
|
||||
bool "200 Hz"
|
||||
|
||||
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_400
|
||||
bool
|
||||
prompt "400 Hz"
|
||||
bool "400 Hz"
|
||||
|
||||
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_800
|
||||
bool
|
||||
prompt "800 Hz"
|
||||
bool "800 Hz"
|
||||
|
||||
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_1600
|
||||
bool
|
||||
prompt "1600 Hz"
|
||||
bool "1600 Hz"
|
||||
|
||||
endchoice
|
||||
|
||||
|
@ -130,24 +119,19 @@ choice
|
|||
Specify the default full-scale for accelerometer.
|
||||
|
||||
config LSM9DS0_MFD_ACCEL_FULL_SCALE_2
|
||||
bool
|
||||
prompt "2G"
|
||||
bool "2G"
|
||||
|
||||
config LSM9DS0_MFD_ACCEL_FULL_SCALE_4
|
||||
bool
|
||||
prompt "4G"
|
||||
bool "4G"
|
||||
|
||||
config LSM9DS0_MFD_ACCEL_FULL_SCALE_6
|
||||
bool
|
||||
prompt "6G"
|
||||
bool "6G"
|
||||
|
||||
config LSM9DS0_MFD_ACCEL_FULL_SCALE_8
|
||||
bool
|
||||
prompt "8G"
|
||||
bool "8G"
|
||||
|
||||
config LSM9DS0_MFD_ACCEL_FULL_SCALE_16
|
||||
bool
|
||||
prompt "16G"
|
||||
bool "16G"
|
||||
|
||||
endchoice
|
||||
|
||||
|
@ -181,28 +165,22 @@ choice
|
|||
Specify the default sampling rate frequency for magnetometer.
|
||||
|
||||
config LSM9DS0_MFD_MAGN_SAMPLING_RATE_3_125
|
||||
bool
|
||||
prompt "3.125 Hz"
|
||||
bool "3.125 Hz"
|
||||
|
||||
config LSM9DS0_MFD_MAGN_SAMPLING_RATE_6_25
|
||||
bool
|
||||
prompt "6.25 Hz"
|
||||
bool "6.25 Hz"
|
||||
|
||||
config LSM9DS0_MFD_MAGN_SAMPLING_RATE_12_5
|
||||
bool
|
||||
prompt "12.5 Hz"
|
||||
bool "12.5 Hz"
|
||||
|
||||
config LSM9DS0_MFD_MAGN_SAMPLING_RATE_25
|
||||
bool
|
||||
prompt "25 Hz"
|
||||
bool "25 Hz"
|
||||
|
||||
config LSM9DS0_MFD_MAGN_SAMPLING_RATE_50
|
||||
bool
|
||||
prompt "50 Hz"
|
||||
bool "50 Hz"
|
||||
|
||||
config LSM9DS0_MFD_MAGN_SAMPLING_RATE_100
|
||||
bool
|
||||
prompt "100 Hz"
|
||||
bool "100 Hz"
|
||||
|
||||
endchoice
|
||||
|
||||
|
@ -221,20 +199,16 @@ choice
|
|||
Specify the default full-scale for magnetometer.
|
||||
|
||||
config LSM9DS0_MFD_MAGN_FULL_SCALE_2
|
||||
bool
|
||||
prompt "2 Gauss"
|
||||
bool "2 Gauss"
|
||||
|
||||
config LSM9DS0_MFD_MAGN_FULL_SCALE_4
|
||||
bool
|
||||
prompt "4 Gauss"
|
||||
bool "4 Gauss"
|
||||
|
||||
config LSM9DS0_MFD_MAGN_FULL_SCALE_8
|
||||
bool
|
||||
prompt "8 Gauss"
|
||||
bool "8 Gauss"
|
||||
|
||||
config LSM9DS0_MFD_MAGN_FULL_SCALE_12
|
||||
bool
|
||||
prompt "12 Gauss"
|
||||
bool "12 Gauss"
|
||||
|
||||
endchoice
|
||||
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
menuconfig MAX30101
|
||||
bool
|
||||
prompt "MAX30101 Pulse Oximeter and Heart Rate Sensor"
|
||||
bool "MAX30101 Pulse Oximeter and Heart Rate Sensor"
|
||||
depends on I2C
|
||||
|
||||
if MAX30101
|
||||
|
@ -15,13 +14,11 @@ if MAX30101
|
|||
if !HAS_DTS_I2C_DEVICE
|
||||
|
||||
config MAX30101_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "MAX30101"
|
||||
|
||||
config MAX30101_I2C_NAME
|
||||
string
|
||||
prompt "I2C device name"
|
||||
string "I2C device name"
|
||||
default "I2C_0"
|
||||
|
||||
endif # !HAS_DTS_I2C_DEVICE
|
||||
|
|
|
@ -7,15 +7,13 @@
|
|||
#
|
||||
|
||||
menuconfig MAX44009
|
||||
bool
|
||||
prompt "MAX44009 Light Sensor"
|
||||
bool "MAX44009 Light Sensor"
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for MAX44009 light sensors.
|
||||
|
||||
config MAX44009_DRV_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "MAX44009"
|
||||
depends on MAX44009
|
||||
help
|
||||
|
@ -23,8 +21,7 @@ config MAX44009_DRV_NAME
|
|||
|
||||
|
||||
config MAX44009_I2C_ADDR
|
||||
hex
|
||||
prompt "MAX44009 I2C address"
|
||||
hex "MAX44009 I2C address"
|
||||
depends on MAX44009
|
||||
default "0x4a"
|
||||
help
|
||||
|
@ -34,8 +31,7 @@ config MAX44009_I2C_ADDR
|
|||
0x4b: A0 connected to VCC.
|
||||
|
||||
config MAX44009_I2C_DEV_NAME
|
||||
string
|
||||
prompt "I2C master where MAX44009 is connected"
|
||||
string "I2C master where MAX44009 is connected"
|
||||
depends on MAX44009
|
||||
default "I2C_0"
|
||||
help
|
||||
|
|
|
@ -24,8 +24,7 @@ config MMA8451Q_I2C_NAME
|
|||
default I2C_0_NAME
|
||||
|
||||
config MMA8451Q_I2C_ADDRESS
|
||||
hex
|
||||
prompt "I2C address for MMA8451Q Sensor"
|
||||
hex "I2C address for MMA8451Q Sensor"
|
||||
depends on MMA8451Q
|
||||
default 0x1D
|
||||
help
|
||||
|
|
|
@ -7,23 +7,20 @@
|
|||
#
|
||||
|
||||
menuconfig MPU6050
|
||||
bool
|
||||
prompt "MPU6050 Six-Axis Motion Tracking Device"
|
||||
bool "MPU6050 Six-Axis Motion Tracking Device"
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for MPU6050 I2C-based six-axis motion tracking device.
|
||||
|
||||
config MPU6050_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "MPU6050"
|
||||
depends on MPU6050
|
||||
help
|
||||
Device name with which the MPU6050 sensor is identified.
|
||||
|
||||
config MPU6050_I2C_ADDR
|
||||
hex
|
||||
prompt "I2C address"
|
||||
hex "I2C address"
|
||||
depends on MPU6050
|
||||
default 0x68
|
||||
range 0x68 0x69
|
||||
|
@ -33,8 +30,7 @@ config MPU6050_I2C_ADDR
|
|||
is pulled to VDD.
|
||||
|
||||
config MPU6050_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C master where MPU6050 is connected"
|
||||
string "I2C master where MPU6050 is connected"
|
||||
depends on MPU6050
|
||||
default "I2C_0"
|
||||
help
|
||||
|
@ -49,18 +45,15 @@ choice
|
|||
Specify the type of triggering to be used by the driver.
|
||||
|
||||
config MPU6050_TRIGGER_NONE
|
||||
bool
|
||||
prompt "No trigger"
|
||||
bool "No trigger"
|
||||
|
||||
config MPU6050_TRIGGER_GLOBAL_THREAD
|
||||
bool
|
||||
prompt "Use global thread"
|
||||
bool "Use global thread"
|
||||
depends on GPIO
|
||||
select MPU6050_TRIGGER
|
||||
|
||||
config MPU6050_TRIGGER_OWN_THREAD
|
||||
bool
|
||||
prompt "Use own thread"
|
||||
bool "Use own thread"
|
||||
depends on GPIO
|
||||
select MPU6050_TRIGGER
|
||||
|
||||
|
@ -71,8 +64,7 @@ config MPU6050_TRIGGER
|
|||
depends on MPU6050
|
||||
|
||||
config MPU6050_GPIO_DEV_NAME
|
||||
string
|
||||
prompt "GPIO device"
|
||||
string "GPIO device"
|
||||
default "GPIO_0"
|
||||
depends on MPU6050 && MPU6050_TRIGGER
|
||||
help
|
||||
|
@ -80,8 +72,7 @@ config MPU6050_GPIO_DEV_NAME
|
|||
is connected.
|
||||
|
||||
config MPU6050_GPIO_PIN_NUM
|
||||
int
|
||||
prompt "Interrupt GPIO pin number"
|
||||
int "Interrupt GPIO pin number"
|
||||
default 0
|
||||
depends on MPU6050 && MPU6050_TRIGGER
|
||||
help
|
||||
|
@ -89,24 +80,21 @@ config MPU6050_GPIO_PIN_NUM
|
|||
chip will be received.
|
||||
|
||||
config MPU6050_THREAD_PRIORITY
|
||||
int
|
||||
prompt "Thread priority"
|
||||
int "Thread priority"
|
||||
depends on MPU6050 && MPU6050_TRIGGER_OWN_THREAD
|
||||
default 10
|
||||
help
|
||||
Priority of thread used by the driver to handle interrupts.
|
||||
|
||||
config MPU6050_THREAD_STACK_SIZE
|
||||
int
|
||||
prompt "Thread stack size"
|
||||
int "Thread stack size"
|
||||
depends on MPU6050 && MPU6050_TRIGGER_OWN_THREAD
|
||||
default 1024
|
||||
help
|
||||
Stack size of thread used by the driver to handle interrupts.
|
||||
|
||||
config MPU6050_ACCEL_FS
|
||||
int
|
||||
prompt "Accelerometer full-scale range"
|
||||
int "Accelerometer full-scale range"
|
||||
depends on MPU6050
|
||||
default 2
|
||||
help
|
||||
|
@ -115,8 +103,7 @@ config MPU6050_ACCEL_FS
|
|||
values are 2, 4, 8 and 16.
|
||||
|
||||
config MPU6050_GYRO_FS
|
||||
int
|
||||
prompt "Gyroscope full-scale range"
|
||||
int "Gyroscope full-scale range"
|
||||
depends on MPU6050
|
||||
default 250
|
||||
help
|
||||
|
|
|
@ -7,15 +7,13 @@
|
|||
#
|
||||
|
||||
menuconfig TEMP_NRF5
|
||||
bool
|
||||
prompt "nRF5 Temperature Sensor"
|
||||
bool "nRF5 Temperature Sensor"
|
||||
depends on SOC_FAMILY_NRF
|
||||
help
|
||||
Enable driver for nRF5 temperature sensor.
|
||||
|
||||
config TEMP_NRF5_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "TEMP_0"
|
||||
depends on TEMP_NRF5
|
||||
help
|
||||
|
|
|
@ -7,15 +7,13 @@
|
|||
#
|
||||
|
||||
menuconfig SHT3XD
|
||||
bool
|
||||
prompt "SHT3xD Temperature and Humidity Sensor"
|
||||
bool "SHT3xD Temperature and Humidity Sensor"
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for SHT3xD temperature and humidity sensors.
|
||||
|
||||
config SHT3XD_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "SHT3XD"
|
||||
depends on SHT3XD
|
||||
help
|
||||
|
@ -32,8 +30,7 @@ config SHT3XD_I2C_ADDR
|
|||
0x45: Choose this option if the ADDR pin is connected to VDD.
|
||||
|
||||
config SHT3XD_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C master where SHT3xD is connected"
|
||||
string "I2C master where SHT3xD is connected"
|
||||
depends on SHT3XD
|
||||
default "I2C_0"
|
||||
help
|
||||
|
@ -48,18 +45,15 @@ choice
|
|||
Specify the type of triggering to be used by the driver.
|
||||
|
||||
config SHT3XD_TRIGGER_NONE
|
||||
bool
|
||||
prompt "No trigger"
|
||||
bool "No trigger"
|
||||
|
||||
config SHT3XD_TRIGGER_GLOBAL_THREAD
|
||||
bool
|
||||
prompt "Use global thread"
|
||||
bool "Use global thread"
|
||||
depends on GPIO
|
||||
select SHT3XD_TRIGGER
|
||||
|
||||
config SHT3XD_TRIGGER_OWN_THREAD
|
||||
bool
|
||||
prompt "Use own thread"
|
||||
bool "Use own thread"
|
||||
depends on GPIO
|
||||
select SHT3XD_TRIGGER
|
||||
|
||||
|
@ -70,8 +64,7 @@ config SHT3XD_TRIGGER
|
|||
depends on SHT3XD
|
||||
|
||||
config SHT3XD_GPIO_DEV_NAME
|
||||
string
|
||||
prompt "GPIO device"
|
||||
string "GPIO device"
|
||||
default "GPIO_0"
|
||||
depends on SHT3XD && SHT3XD_TRIGGER
|
||||
help
|
||||
|
@ -79,8 +72,7 @@ config SHT3XD_GPIO_DEV_NAME
|
|||
pins are connected.
|
||||
|
||||
config SHT3XD_GPIO_PIN_NUM
|
||||
int
|
||||
prompt "Interrupt GPIO pin number"
|
||||
int "Interrupt GPIO pin number"
|
||||
default 0
|
||||
depends on SHT3XD && SHT3XD_TRIGGER
|
||||
help
|
||||
|
@ -88,16 +80,14 @@ config SHT3XD_GPIO_PIN_NUM
|
|||
SHT3xD chip will be received.
|
||||
|
||||
config SHT3XD_THREAD_PRIORITY
|
||||
int
|
||||
prompt "Thread priority"
|
||||
int "Thread priority"
|
||||
depends on SHT3XD && SHT3XD_TRIGGER_OWN_THREAD
|
||||
default 10
|
||||
help
|
||||
Priority of thread used by the driver to handle interrupts.
|
||||
|
||||
config SHT3XD_THREAD_STACK_SIZE
|
||||
int
|
||||
prompt "Thread stack size"
|
||||
int "Thread stack size"
|
||||
depends on SHT3XD && SHT3XD_TRIGGER_OWN_THREAD
|
||||
default 1024
|
||||
help
|
||||
|
@ -112,16 +102,13 @@ choice
|
|||
noise level and energy consumption.
|
||||
|
||||
config SHT3XD_REPEATABILITY_LOW
|
||||
bool
|
||||
prompt "low"
|
||||
bool "low"
|
||||
|
||||
config SHT3XD_REPEATABILITY_MEDIUM
|
||||
bool
|
||||
prompt "medium"
|
||||
bool "medium"
|
||||
|
||||
config SHT3XD_REPEATABILITY_HIGH
|
||||
bool
|
||||
prompt "high"
|
||||
bool "high"
|
||||
|
||||
endchoice
|
||||
|
||||
|
@ -133,23 +120,18 @@ choice
|
|||
Number of measurements per second.
|
||||
|
||||
config SHT3XD_MPS_05
|
||||
bool
|
||||
prompt "0.5"
|
||||
bool "0.5"
|
||||
|
||||
config SHT3XD_MPS_1
|
||||
bool
|
||||
prompt "1"
|
||||
bool "1"
|
||||
|
||||
config SHT3XD_MPS_2
|
||||
bool
|
||||
prompt "2"
|
||||
bool "2"
|
||||
|
||||
config SHT3XD_MPS_4
|
||||
bool
|
||||
prompt "4"
|
||||
bool "4"
|
||||
|
||||
config SHT3XD_MPS_10
|
||||
bool
|
||||
prompt "10"
|
||||
bool "10"
|
||||
|
||||
endchoice
|
||||
|
|
|
@ -33,10 +33,9 @@ config SX9500_I2C_DEV_NAME
|
|||
connected.
|
||||
|
||||
config SX9500_PROX_CHANNEL
|
||||
int
|
||||
int "Proximity channel to use"
|
||||
default 3
|
||||
depends on SX9500
|
||||
prompt "Proximity channel to use"
|
||||
help
|
||||
The SX9500 offers 4 separate proximity channels. Choose which one
|
||||
you are using. Valid numbers are 0 to 3.
|
||||
|
|
|
@ -5,23 +5,20 @@
|
|||
#
|
||||
|
||||
menuconfig TH02
|
||||
bool
|
||||
prompt "TH02 Temperature Sensor"
|
||||
bool "TH02 Temperature Sensor"
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for the TH02 temperature sensor.
|
||||
|
||||
if TH02
|
||||
config TH02_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "TH02"
|
||||
help
|
||||
Device name with which the TH02 sensor is identified.
|
||||
|
||||
config TH02_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C Master"
|
||||
string "I2C Master"
|
||||
default "I2C_0"
|
||||
help
|
||||
The device name of the I2C master device to which the TH02
|
||||
|
|
|
@ -7,23 +7,20 @@
|
|||
#
|
||||
|
||||
menuconfig TMP007
|
||||
bool
|
||||
prompt "TMP007 Infrared Thermopile Sensor"
|
||||
bool "TMP007 Infrared Thermopile Sensor"
|
||||
depends on I2C
|
||||
help
|
||||
Enable driver for TMP007 infrared thermopile sensors.
|
||||
|
||||
config TMP007_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "TMP007"
|
||||
depends on TMP007
|
||||
help
|
||||
Device name with which the TMP007 sensor is identified.
|
||||
|
||||
config TMP007_I2C_ADDR
|
||||
hex
|
||||
prompt "I2C address for TMP006 Sensor"
|
||||
hex "I2C address for TMP006 Sensor"
|
||||
depends on TMP007
|
||||
default "0x40"
|
||||
help
|
||||
|
@ -39,8 +36,7 @@ config TMP007_I2C_ADDR
|
|||
0x47: A0 connected SCL and A1 connected to VDD.
|
||||
|
||||
config TMP007_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C master where TMP007 is connected"
|
||||
string "I2C master where TMP007 is connected"
|
||||
depends on TMP007
|
||||
default "I2C_0"
|
||||
help
|
||||
|
@ -55,18 +51,15 @@ choice
|
|||
Specify the type of triggering to be used by the driver.
|
||||
|
||||
config TMP007_TRIGGER_NONE
|
||||
bool
|
||||
prompt "No trigger"
|
||||
bool "No trigger"
|
||||
|
||||
config TMP007_TRIGGER_GLOBAL_THREAD
|
||||
bool
|
||||
prompt "Use global thread"
|
||||
bool "Use global thread"
|
||||
depends on GPIO
|
||||
select TMP007_TRIGGER
|
||||
|
||||
config TMP007_TRIGGER_OWN_THREAD
|
||||
bool
|
||||
prompt "Use own thread"
|
||||
bool "Use own thread"
|
||||
depends on GPIO
|
||||
select TMP007_TRIGGER
|
||||
|
||||
|
@ -77,8 +70,7 @@ config TMP007_TRIGGER
|
|||
depends on TMP007
|
||||
|
||||
config TMP007_GPIO_DEV_NAME
|
||||
string
|
||||
prompt "GPIO device"
|
||||
string "GPIO device"
|
||||
default "GPIO_0"
|
||||
depends on TMP007 && TMP007_TRIGGER
|
||||
help
|
||||
|
@ -86,8 +78,7 @@ config TMP007_GPIO_DEV_NAME
|
|||
(alert) pin is connected.
|
||||
|
||||
config TMP007_GPIO_PIN_NUM
|
||||
int
|
||||
prompt "Interrupt GPIO pin number"
|
||||
int "Interrupt GPIO pin number"
|
||||
default 0
|
||||
depends on TMP007 && TMP007_TRIGGER
|
||||
help
|
||||
|
@ -95,16 +86,14 @@ config TMP007_GPIO_PIN_NUM
|
|||
TMP007 chip will be received.
|
||||
|
||||
config TMP007_THREAD_PRIORITY
|
||||
int
|
||||
prompt "Thread priority"
|
||||
int "Thread priority"
|
||||
depends on TMP007 && TMP007_TRIGGER_OWN_THREAD
|
||||
default 10
|
||||
help
|
||||
Priority of thread used by the driver to handle interrupts.
|
||||
|
||||
config TMP007_THREAD_STACK_SIZE
|
||||
int
|
||||
prompt "Thread stack size"
|
||||
int "Thread stack size"
|
||||
depends on TMP007 && TMP007_TRIGGER_OWN_THREAD
|
||||
default 1024
|
||||
help
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
#
|
||||
|
||||
menuconfig TMP112
|
||||
bool
|
||||
prompt "TMP112 Temperature Sensor"
|
||||
bool "TMP112 Temperature Sensor"
|
||||
depends on I2C
|
||||
help
|
||||
Enable the driver for Texas Instruments TMP112 High-Accuracy Digital
|
||||
|
@ -18,8 +17,7 @@ menuconfig TMP112
|
|||
been successfully tested with this driver.
|
||||
|
||||
config TMP112_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "TMP112"
|
||||
depends on TMP112
|
||||
help
|
||||
|
@ -39,8 +37,7 @@ config TMP112_I2C_ADDR
|
|||
|
||||
|
||||
config TMP112_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C master where TMP112 is connected"
|
||||
string "I2C master where TMP112 is connected"
|
||||
depends on TMP112
|
||||
default "I2C_0"
|
||||
help
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
#
|
||||
|
||||
menuconfig VL53L0X
|
||||
bool
|
||||
prompt "VL53L0X time of flight sensor"
|
||||
bool "VL53L0X time of flight sensor"
|
||||
depends on SENSOR && I2C
|
||||
select HAS_STLIB
|
||||
help
|
||||
|
@ -17,24 +16,21 @@ menuconfig VL53L0X
|
|||
if !HAS_DTS_I2C_DEVICE
|
||||
|
||||
config VL53L0X_NAME
|
||||
string
|
||||
prompt "Driver name"
|
||||
string "Driver name"
|
||||
default "VL53L0X"
|
||||
depends on VL53L0X
|
||||
help
|
||||
Device name with which the VL53L0X sensor is identified.
|
||||
|
||||
config VL53L0X_I2C_ADDR
|
||||
hex
|
||||
prompt "Vl53l0x I2C address"
|
||||
hex "Vl53l0x I2C address"
|
||||
default 0x29
|
||||
depends on VL53L0X
|
||||
help
|
||||
address of the i2c used for the vl53l0x sensor
|
||||
|
||||
config VL53L0X_I2C_MASTER_DEV_NAME
|
||||
string
|
||||
prompt "I2C master where VL53L0X is connected"
|
||||
string "I2C master where VL53L0X is connected"
|
||||
depends on VL53L0X
|
||||
default "I2C_0"
|
||||
help
|
||||
|
@ -50,8 +46,7 @@ config VL53L0X_XSHUT_CONTROL_ENABLE
|
|||
Enable it if XSHUT pin is controlled by host.
|
||||
|
||||
config VL53L0X_XSHUT_GPIO_DEV_NAME
|
||||
string
|
||||
prompt "GPIO device"
|
||||
string "GPIO device"
|
||||
default "GPIO_6"
|
||||
depends on VL53L0X_XSHUT_CONTROL_ENABLE
|
||||
help
|
||||
|
@ -59,8 +54,7 @@ config VL53L0X_XSHUT_GPIO_DEV_NAME
|
|||
is connected.
|
||||
|
||||
config VL53L0X_XSHUT_GPIO_PIN_NUM
|
||||
int
|
||||
prompt "Interrupt GPIO pin number"
|
||||
int "Interrupt GPIO pin number"
|
||||
default 6
|
||||
depends on VL53L0X_XSHUT_CONTROL_ENABLE
|
||||
help
|
||||
|
@ -68,8 +62,7 @@ config VL53L0X_XSHUT_GPIO_PIN_NUM
|
|||
is connected.
|
||||
|
||||
config VL53L0X_PROXIMITY_THRESHOLD
|
||||
int
|
||||
prompt "Proximity threshold in millimeters"
|
||||
int "Proximity threshold in millimeters"
|
||||
default 100
|
||||
depends on VL53L0X
|
||||
help
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
#
|
||||
|
||||
menuconfig SERIAL
|
||||
bool
|
||||
prompt "Serial Drivers"
|
||||
bool "Serial Drivers"
|
||||
help
|
||||
Enable options for serial drivers.
|
||||
|
||||
|
@ -30,8 +29,7 @@ config SERIAL_SUPPORT_INTERRUPT
|
|||
to signal that the driver and hardware supports interrupts.
|
||||
|
||||
config UART_INTERRUPT_DRIVEN
|
||||
bool
|
||||
prompt "Enable UART Interrupt support"
|
||||
bool "Enable UART Interrupt support"
|
||||
depends on SERIAL_SUPPORT_INTERRUPT
|
||||
help
|
||||
This option enables interrupt support for UART allowing console
|
||||
|
|
|
@ -14,8 +14,7 @@ config UART_NSIM_PORT_0_NAME
|
|||
struct.
|
||||
|
||||
config UART_NSIM_PORT_0_BASE_ADDR
|
||||
hex
|
||||
prompt "Port 0 Register Address"
|
||||
hex "Port 0 Register Address"
|
||||
default 0x00000000
|
||||
depends on UART_NSIM
|
||||
help
|
||||
|
|
|
@ -103,8 +103,7 @@ config LOAPIC_TIMER_IRQ_PRIORITY
|
|||
This options specifies the IRQ priority used by the LOAPIC timer.
|
||||
|
||||
config TSC_CYCLES_PER_SEC
|
||||
int
|
||||
prompt "Frequency of x86 CPU timestamp counter"
|
||||
int "Frequency of x86 CPU timestamp counter"
|
||||
default 0
|
||||
depends on LOAPIC_TIMER
|
||||
help
|
||||
|
|
|
@ -12,8 +12,7 @@ config USB_DEVICE_DRIVER
|
|||
bool
|
||||
|
||||
config USB_DW
|
||||
bool
|
||||
prompt "Designware USB Device Controller Driver"
|
||||
bool "Designware USB Device Controller Driver"
|
||||
select USB_DEVICE_DRIVER
|
||||
help
|
||||
Designware USB Device Controller Driver.
|
||||
|
@ -25,15 +24,13 @@ config USB_DW_IRQ_PRI
|
|||
USB interrupt priority.
|
||||
|
||||
config USB_DW_USB_2_0
|
||||
bool
|
||||
prompt "DesignWare Controller and PHY support for USB specification 2.0"
|
||||
bool "DesignWare Controller and PHY support for USB specification 2.0"
|
||||
depends on USB_DW
|
||||
help
|
||||
Indicates whether or not USB specification version 2.0 is supported
|
||||
|
||||
config USB_DC_STM32
|
||||
bool
|
||||
prompt "USB device controller driver for STM32 devices"
|
||||
bool "USB device controller driver for STM32 devices"
|
||||
depends on SOC_FAMILY_STM32
|
||||
select USB_DEVICE_DRIVER
|
||||
select USE_STM32_LL_USB if !SOC_SERIES_STM32F0X && !SOC_SERIES_STM32F3X && !SOC_SERIES_STM32L0X
|
||||
|
@ -45,16 +42,14 @@ config USB_DC_STM32
|
|||
processors.
|
||||
|
||||
config USB_DC_SAM0
|
||||
bool
|
||||
prompt "SAM0 series USB Device Controller driver"
|
||||
bool "SAM0 series USB Device Controller driver"
|
||||
depends on SOC_FAMILY_SAM0
|
||||
select USB_DEVICE_DRIVER
|
||||
help
|
||||
SAM0 family USB device controller Driver.
|
||||
|
||||
config USB_NRF52840
|
||||
bool
|
||||
prompt "Nordic Semiconductor nRF52840 USB Device Controller Driver"
|
||||
bool "Nordic Semiconductor nRF52840 USB Device Controller Driver"
|
||||
depends on SOC_NRF52840
|
||||
select USB_DEVICE_DRIVER
|
||||
select HAS_DTS_USB
|
||||
|
@ -62,15 +57,13 @@ config USB_NRF52840
|
|||
nRF52840 USB Device Controller Driver
|
||||
|
||||
config USB_KINETIS
|
||||
bool
|
||||
prompt "Kinetis USB Device Controller Driver"
|
||||
bool "Kinetis USB Device Controller Driver"
|
||||
select USB_DEVICE_DRIVER
|
||||
help
|
||||
Kinetis USB Device Controller Driver.
|
||||
|
||||
config SYS_LOG_USB_DRIVER_LEVEL
|
||||
int
|
||||
prompt "USB driver log level"
|
||||
int "USB driver log level"
|
||||
depends on SYS_LOG
|
||||
default 0
|
||||
help
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
#
|
||||
|
||||
menuconfig WATCHDOG
|
||||
bool
|
||||
prompt "Watchdog Support"
|
||||
bool "Watchdog Support"
|
||||
help
|
||||
Include support for watchdogs.
|
||||
|
||||
|
@ -25,14 +24,12 @@ config WDT_0_NAME
|
|||
endif # HAS_DTS_WDT
|
||||
|
||||
config WDT_DISABLE_AT_BOOT
|
||||
bool
|
||||
prompt "Disable at boot"
|
||||
bool "Disable at boot"
|
||||
help
|
||||
Disable watchdog at Zephyr system startup.
|
||||
|
||||
config SYS_LOG_WDT_LEVEL
|
||||
int
|
||||
prompt "Watchdog Driver Log level"
|
||||
int "Watchdog Driver Log level"
|
||||
depends on SYS_LOG
|
||||
default 0
|
||||
range 0 4
|
||||
|
@ -49,8 +46,7 @@ config HAS_WDT_MULTISTAGE
|
|||
bool
|
||||
|
||||
config WDT_MULTISTAGE
|
||||
bool
|
||||
prompt "Enable multistage timeouts"
|
||||
bool "Enable multistage timeouts"
|
||||
depends on HAS_WDT_MULTISTAGE
|
||||
help
|
||||
Enable multistage operation of watchdog timeouts.
|
||||
|
|
|
@ -20,8 +20,7 @@ config WDT_0_IRQ_PRI
|
|||
Watchdog interrupt priority
|
||||
|
||||
config WDT_QMSI_API_REENTRANCY
|
||||
bool
|
||||
prompt "WDT shim driver API reentrancy"
|
||||
bool "WDT shim driver API reentrancy"
|
||||
depends on WDT_QMSI
|
||||
help
|
||||
Enable support for WDT shim driver API reentrancy.
|
||||
|
|
|
@ -10,8 +10,7 @@ config HAS_SEGGER_RTT
|
|||
if HAS_SEGGER_RTT
|
||||
|
||||
config SEGGER_SYSTEMVIEW
|
||||
bool
|
||||
prompt "Segger SystemView support"
|
||||
bool "Segger SystemView support"
|
||||
select RTT_CONSOLE
|
||||
|
||||
config SEGGER_RTT_MAX_NUM_UP_BUFFERS
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue