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:
Ulf Magnusson 2018-08-14 16:19:20 +02:00 committed by Anas Nashif
commit 8cf8db3a73
127 changed files with 629 additions and 1258 deletions

View file

@ -127,8 +127,7 @@ config DYNAMIC_OBJECTS
zero. zero.
config SIMPLE_FATAL_ERROR_HANDLER config SIMPLE_FATAL_ERROR_HANDLER
prompt "Simple system fatal error handler" bool "Simple system fatal error handler"
bool
default y if !MULTITHREADING default y if !MULTITHREADING
help help
Provides an implementation of _SysFatalErrorHandler() that hard hangs Provides an implementation of _SysFatalErrorHandler() that hard hangs
@ -141,16 +140,14 @@ menu "Interrupt Configuration"
# Interrupt related configs # Interrupt related configs
# #
config GEN_ISR_TABLES config GEN_ISR_TABLES
bool bool "Use generated IRQ tables"
prompt "Use generated IRQ tables"
help help
This option controls whether a platform uses the gen_isr_tables This option controls whether a platform uses the gen_isr_tables
script to generate its interrupt tables. This mechanism will create script to generate its interrupt tables. This mechanism will create
an appropriate hardware vector table and/or software IRQ table. an appropriate hardware vector table and/or software IRQ table.
config GEN_IRQ_VECTOR_TABLE config GEN_IRQ_VECTOR_TABLE
bool bool "Generate an interrupt vector table"
prompt "Generate an interrupt vector table"
default y default y
depends on GEN_ISR_TABLES depends on GEN_ISR_TABLES
help help
@ -162,8 +159,7 @@ config GEN_IRQ_VECTOR_TABLE
supplied by the application or architecture code. supplied by the application or architecture code.
config GEN_SW_ISR_TABLE config GEN_SW_ISR_TABLE
bool bool "Generate a software ISR table"
prompt "Generate a software ISR table"
default y default y
depends on GEN_ISR_TABLES depends on GEN_ISR_TABLES
help help
@ -267,8 +263,7 @@ menu "Floating Point Options"
depends on CPU_HAS_FPU depends on CPU_HAS_FPU
config FLOAT config FLOAT
bool bool "Floating point registers"
prompt "Floating point registers"
help help
This option allows threads to use the floating point registers. This option allows threads to use the floating point registers.
By default, only a single thread may use the 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. floating point register will get a fatal exception.
config FP_SHARING config FP_SHARING
bool bool "Floating point register sharing"
prompt "Floating point register sharing"
depends on FLOAT depends on FLOAT
help help
This option allows multiple threads to use the floating point This option allows multiple threads to use the floating point

View file

@ -59,8 +59,7 @@ config DATA_ENDIANNESS_LITTLE
implemented as big endian. implemented as big endian.
config NUM_IRQ_PRIO_LEVELS config NUM_IRQ_PRIO_LEVELS
int int "Number of supported interrupt priority levels"
prompt "Number of supported interrupt priority levels"
range 1 16 range 1 16
help help
Interrupt priorities available will be 0 to NUM_IRQ_PRIO_LEVELS-1. 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. The BSP must provide a valid default for proper operation.
config NUM_IRQS config NUM_IRQS
int int "Upper limit of interrupt numbers/IDs used"
prompt "Upper limit of interrupt numbers/IDs used"
range 17 256 range 17 256
help help
Interrupts available will be 0 to NUM_IRQS-1. Interrupts available will be 0 to NUM_IRQS-1.
@ -81,8 +79,7 @@ config NUM_IRQS
vector table. vector table.
config RGF_NUM_BANKS config RGF_NUM_BANKS
int int "Number of General Purpose Register Banks"
prompt "Number of General Purpose Register Banks"
depends on CPU_ARCV2 depends on CPU_ARCV2
range 1 2 range 1 2
default 2 default 2
@ -95,8 +92,7 @@ config RGF_NUM_BANKS
and restore general purpose registers. and restore general purpose registers.
config ARC_FIRQ config ARC_FIRQ
bool bool "FIRQ enable"
prompt "FIRQ enable"
default y default y
help help
Fast interrupts are supported (FIRQ). If FIRQ enabled, for interrupts 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 enables code that allows using this debug feature
config FAULT_DUMP config FAULT_DUMP
int int "Fault dump level"
prompt "Fault dump level"
default 2 default 2
range 0 2 range 0 2
help help
@ -139,15 +134,13 @@ config GEN_IRQ_START_VECTOR
default 16 default 16
config HARVARD config HARVARD
prompt "Harvard Architecture" bool "Harvard Architecture"
bool
help help
The ARC CPU can be configured to have two busses; The ARC CPU can be configured to have two busses;
one for instruction fetching and another that serves as a data bus. one for instruction fetching and another that serves as a data bus.
config CODE_DENSITY config CODE_DENSITY
prompt "Code Density Option" bool "Code Density Option"
bool
help help
Enable code density option to get better code density Enable code density option to get better code density
@ -172,8 +165,7 @@ source "arch/arc/core/mpu/Kconfig"
endmenu endmenu
config CACHE_LINE_SIZE_DETECT config CACHE_LINE_SIZE_DETECT
bool bool "Detect d-cache line size at runtime"
prompt "Detect d-cache line size at runtime"
help help
This option enables querying the d-cache build register for finding 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 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. option and manually enter the value for CACHE_LINE_SIZE.
config CACHE_LINE_SIZE config CACHE_LINE_SIZE
int int "Cache line size" if !CACHE_LINE_SIZE_DETECT
prompt "Cache line size" if !CACHE_LINE_SIZE_DETECT
default 32 default 32
help help
Size in bytes of a CPU d-cache line. Size in bytes of a CPU d-cache line.
@ -195,8 +186,7 @@ config ARCH_CACHE_FLUSH_DETECT
bool bool
config CACHE_FLUSHING config CACHE_FLUSHING
bool bool "Enable d-cache flushing mechanism"
prompt "Enable d-cache flushing mechanism"
help help
This links in the sys_cache_flush() function, which provides a This links in the sys_cache_flush() function, which provides a
way to flush multiple lines of the d-cache. way to flush multiple lines of the d-cache.

View file

@ -6,8 +6,7 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
# #
config ARC_MPU_VER config ARC_MPU_VER
int int "ARC MPU version"
prompt "ARC MPU version"
range 2 4 range 2 4
default 2 default 2
help help

View file

@ -276,16 +276,14 @@ config DATA_ENDIANNESS_LITTLE
implemented as big endian. implemented as big endian.
config STACK_ALIGN_DOUBLE_WORD config STACK_ALIGN_DOUBLE_WORD
bool bool "Align stacks on double-words (8 octets)"
prompt "Align stacks on double-words (8 octets)"
default y default y
help help
This is needed to conform to AAPCS, the procedure call standard for This is needed to conform to AAPCS, the procedure call standard for
the ARM. It wastes stack space. the ARM. It wastes stack space.
config RUNTIME_NMI config RUNTIME_NMI
bool bool "Attach an NMI handler at runtime"
prompt "Attach an NMI handler at runtime"
select REBOOT select REBOOT
help help
The kernel provides a simple NMI handler that simply hangs in a tight 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(). needed, enable this option and attach it via _NmiHandlerSet().
config FAULT_DUMP config FAULT_DUMP
int int "Fault dump level"
prompt "Fault dump level"
default 2 default 2
range 0 2 range 0 2
help help
@ -320,8 +317,7 @@ config GEN_ISR_TABLES
default y default y
config ZERO_LATENCY_IRQS config ZERO_LATENCY_IRQS
bool bool "Enable zero-latency interrupts"
prompt "Enable zero-latency interrupts"
depends on CPU_CORTEX_M_HAS_BASEPRI depends on CPU_CORTEX_M_HAS_BASEPRI
help help
The kernel may reserve some of the highest interrupts priorities in The kernel may reserve some of the highest interrupts priorities in
@ -337,8 +333,7 @@ config ZERO_LATENCY_IRQS
kernel functionality. kernel functionality.
config SW_VECTOR_RELAY config SW_VECTOR_RELAY
bool bool "Enable Software Vector Relay"
prompt "Enable Software Vector Relay"
default y if BOOTLOADER_MCUBOOT default y if BOOTLOADER_MCUBOOT
depends on ARMV6_M_ARMV8_M_BASELINE && !(CPU_CORTEX_M0_HAS_VECTOR_TABLE_REMAP || CPU_CORTEX_M_HAS_VTOR) depends on ARMV6_M_ARMV8_M_BASELINE && !(CPU_CORTEX_M0_HAS_VECTOR_TABLE_REMAP || CPU_CORTEX_M_HAS_VTOR)
help help
@ -350,8 +345,7 @@ config SW_VECTOR_RELAY
relocation table mechanisms. relocation table mechanisms.
config PLATFORM_SPECIFIC_INIT config PLATFORM_SPECIFIC_INIT
bool bool "Enable platform (SOC) specific startup hook"
prompt "Enable platform (SOC) specific startup hook"
help help
The platform specific initialization code (_PlatformInit) is executed The platform specific initialization code (_PlatformInit) is executed
at the beginning of the startup code (__start). at the beginning of the startup code (__start).

View file

@ -68,32 +68,28 @@ config SOC_PART_NUMBER_KINETIS_K6X
the default value for this string. the default value for this string.
config K64_CORE_CLOCK_DIVIDER config K64_CORE_CLOCK_DIVIDER
int int "Freescale K64 core clock divider"
prompt "Freescale K64 core clock divider"
default 1 default 1
help help
This option specifies the divide value for the K64 processor core clock This option specifies the divide value for the K64 processor core clock
from the system clock. from the system clock.
config K64_BUS_CLOCK_DIVIDER config K64_BUS_CLOCK_DIVIDER
int int "Freescale K64 bus clock divider"
prompt "Freescale K64 bus clock divider"
default 2 default 2
help help
This option specifies the divide value for the K64 bus clock from the This option specifies the divide value for the K64 bus clock from the
system clock. system clock.
config K64_FLEXBUS_CLOCK_DIVIDER config K64_FLEXBUS_CLOCK_DIVIDER
int int "Freescale K64 FlexBus clock divider"
prompt "Freescale K64 FlexBus clock divider"
default 3 default 3
help help
This option specifies the divide value for the K64 FlexBus clock from the This option specifies the divide value for the K64 FlexBus clock from the
system clock. system clock.
config K64_FLASH_CLOCK_DIVIDER config K64_FLASH_CLOCK_DIVIDER
int int "Freescale K64 flash clock divider"
prompt "Freescale K64 flash clock divider"
default 5 default 5
help help
This option specifies the divide value for the K64 flash clock from the This option specifies the divide value for the K64 flash clock from the

View file

@ -88,24 +88,21 @@ config SOC_PART_NUMBER_KINETIS_KWX
if SOC_MKW24D5 || SOC_MKW22D5 if SOC_MKW24D5 || SOC_MKW22D5
config KW2XD_CORE_CLOCK_DIVIDER config KW2XD_CORE_CLOCK_DIVIDER
int int "KW2xD core clock divider"
prompt "KW2xD core clock divider"
default 1 default 1
help help
This option specifies the divide value for the KW2xD processor core This option specifies the divide value for the KW2xD processor core
clock from the system clock. clock from the system clock.
config KW2XD_BUS_CLOCK_DIVIDER config KW2XD_BUS_CLOCK_DIVIDER
int int "KW2xD bus clock divider"
prompt "KW2xD bus clock divider"
default 1 default 1
help help
This option specifies the divide value for the KW2xD bus clock from This option specifies the divide value for the KW2xD bus clock from
the system clock. the system clock.
config KW2XD_FLASH_CLOCK_DIVIDER config KW2XD_FLASH_CLOCK_DIVIDER
int int "KW2xD flash clock divider"
prompt "KW2xD flash clock divider"
default 2 default 2
help help
This option specifies the divide value for the KW2xD flash clock from This option specifies the divide value for the KW2xD flash clock from

View file

@ -64,8 +64,7 @@ config CPU_APOLLO_LAKE
menu "Processor Capabilities" menu "Processor Capabilities"
config X86_IAMCU config X86_IAMCU
bool bool "IAMCU calling convention"
prompt "IAMCU calling convention"
help help
The IAMCU calling convention changes the X86 C calling convention to The IAMCU calling convention changes the X86 C calling convention to
pass some arguments via registers allowing for code size and performance pass some arguments via registers allowing for code size and performance
@ -76,16 +75,14 @@ config X86_IAMCU
menu "Memory Management" menu "Memory Management"
config X86_MMU config X86_MMU
bool bool "Enable Memory Management Unit"
prompt "Enable Memory Management Unit"
help help
This options enables the memory management unit present in x86. Enabling This options enables the memory management unit present in x86. Enabling
this will create boot time page table structure. this will create boot time page table structure.
config X86_PAE_MODE config X86_PAE_MODE
bool bool "Enable PAE page tables"
depends on X86_MMU depends on X86_MMU
prompt "Enable PAE page tables"
help help
When selected the Page address extension mode is enabled. The PAE When selected the Page address extension mode is enabled. The PAE
page tables provides a mechanism to selectively disable execution. page tables provides a mechanism to selectively disable execution.
@ -152,15 +149,13 @@ menu "Architecture Floating Point Options"
depends on CPU_HAS_FPU depends on CPU_HAS_FPU
config SSE config SSE
bool bool "SSE registers"
prompt "SSE registers"
depends on FLOAT depends on FLOAT
help help
This option enables the use of SSE registers by threads. This option enables the use of SSE registers by threads.
config SSE_FP_MATH config SSE_FP_MATH
bool bool "Compiler-generated SSEx instructions"
prompt "Compiler-generated SSEx instructions"
depends on SSE depends on SSE
help help
This option allows the compiler to generate SSEx instructions for This option allows the compiler to generate SSEx instructions for
@ -180,8 +175,7 @@ depends on REBOOT
default REBOOT_RST_CNT default REBOOT_RST_CNT
config REBOOT_RST_CNT config REBOOT_RST_CNT
bool bool "Reboot via RST_CNT register"
prompt "Reboot via RST_CNT register"
help help
Reboot via the RST_CNT register, going back to BIOS. Reboot via the RST_CNT register, going back to BIOS.
@ -196,8 +190,7 @@ config ISA_IA32
instruction set architecture. instruction set architecture.
config IA32_LEGACY_IO_PORTS config IA32_LEGACY_IO_PORTS
bool bool "Support IA32 legacy IO ports"
prompt "Support IA32 legacy IO ports"
depends on ISA_IA32 depends on ISA_IA32
help help
This option enables IA32 legacy IO ports. Note these are much slower 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. Detect automatically at runtime by selecting CACHE_LINE_SIZE_DETECT.
config CLFLUSH_INSTRUCTION_SUPPORTED config CLFLUSH_INSTRUCTION_SUPPORTED
bool bool "CLFLUSH instruction supported"
prompt "CLFLUSH instruction supported"
depends on !CLFLUSH_DETECT && CACHE_FLUSHING depends on !CLFLUSH_DETECT && CACHE_FLUSHING
help help
An implementation of sys_cache_flush() that uses CLFLUSH is made 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. CLFLUSH support thereby reducing both memory footprint and boot time.
config CLFLUSH_DETECT config CLFLUSH_DETECT
bool bool "Detect support of CLFLUSH instruction at runtime"
prompt "Detect support of CLFLUSH instruction at runtime"
depends on CACHE_FLUSHING depends on CACHE_FLUSHING
help help
This option should be enabled if it is not known in advance whether the 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 depends on CLFLUSH_DETECT
config CACHE_FLUSHING config CACHE_FLUSHING
bool bool "Enable cache flushing mechanism"
prompt "Enable cache flushing mechanism"
help help
This links in the sys_cache_flush() function. A mechanism for flushing the 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 cache must be selected as well. By default, that mechanism is discovered at

View file

@ -7,15 +7,13 @@
# #
config NESTED_INTERRUPTS config NESTED_INTERRUPTS
bool bool "Enable nested interrupts"
prompt "Enable nested interrupts"
default y default y
help help
This option enables support for nested interrupts. This option enables support for nested interrupts.
config EXCEPTION_DEBUG config EXCEPTION_DEBUG
bool bool "Unhandled exception debugging"
prompt "Unhandled exception debugging"
default y default y
depends on PRINTK depends on PRINTK
help help
@ -27,8 +25,7 @@ config EXCEPTION_DEBUG
menu "Memory Layout Options" menu "Memory Layout Options"
config IDT_NUM_VECTORS config IDT_NUM_VECTORS
int int "Number of IDT vectors"
prompt "Number of IDT vectors"
default 256 default 256
range 32 256 range 32 256
help help
@ -37,8 +34,7 @@ config IDT_NUM_VECTORS
supported in an IDT requiring 2048 bytes of memory. supported in an IDT requiring 2048 bytes of memory.
config MAX_IRQ_LINES config MAX_IRQ_LINES
int int "Number of IRQ lines"
prompt "Number of IRQ lines"
default 128 default 128
range 0 256 range 0 256
help help
@ -49,8 +45,7 @@ config MAX_IRQ_LINES
interrupts. interrupts.
config SET_GDT config SET_GDT
bool bool "Setup GDT as part of boot process"
prompt "Setup GDT as part of boot process"
default y default y
help help
This option sets up the GDT as part of the boot process. However, This option sets up the GDT as part of the boot process. However,
@ -60,8 +55,7 @@ config SET_GDT
will not be available. will not be available.
config GDT_DYNAMIC config GDT_DYNAMIC
bool bool "Store GDT in RAM so that it can be modified"
prompt "Store GDT in RAM so that it can be modified"
depends on SET_GDT depends on SET_GDT
help help
This option stores the GDT in RAM instead of ROM, so that it may This option stores the GDT in RAM instead of ROM, so that it may
@ -70,8 +64,7 @@ config GDT_DYNAMIC
endmenu endmenu
config DISABLE_SSBD config DISABLE_SSBD
bool bool "Disable Speculative Store Bypass"
prompt "Disable Speculative Store Bypass"
depends on USERSPACE depends on USERSPACE
default y if !X86_NO_SPECTRE_V4 default y if !X86_NO_SPECTRE_V4
help help

View file

@ -28,8 +28,7 @@ config ARC_INIT
Allows x86 processor to kickoff the ARC slave processor. Allows x86 processor to kickoff the ARC slave processor.
config SYS_LOG_ARC_INIT_LEVEL config SYS_LOG_ARC_INIT_LEVEL
int int "Quark SE Sensor Subsystem log level"
prompt "Quark SE Sensor Subsystem log level"
depends on SYS_LOG depends on SYS_LOG
default 0 default 0
help help

View file

@ -10,16 +10,14 @@
# ADC options # ADC options
# #
menuconfig ADC menuconfig ADC
bool bool "ADC drivers"
prompt "ADC drivers"
help help
Enable ADC (Analog to Digital Converter) driver configuration Enable ADC (Analog to Digital Converter) driver configuration
if ADC if ADC
config SYS_LOG_ADC_LEVEL config SYS_LOG_ADC_LEVEL
int int "ADC drivers log level"
prompt "ADC drivers log level"
depends on SYS_LOG depends on SYS_LOG
default 0 default 0
range 0 4 range 0 4
@ -40,9 +38,8 @@ config SYS_LOG_ADC_LEVEL
- 4 DEBUG, write SYS_LOG_DBG in addition to previous levels - 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
config ADC_INIT_PRIORITY config ADC_INIT_PRIORITY
int int "Init priority"
default 80 default 80
prompt "Init priority"
help help
ADC Device driver initialization priority. ADC Device driver initialization priority.
@ -55,9 +52,8 @@ config ADC_0_NAME
default "ADC_0" default "ADC_0"
config ADC_0_IRQ_PRI config ADC_0_IRQ_PRI
int int "ADC 0 interrupt priority"
depends on ADC_0 && !HAS_DTS_ADC depends on ADC_0 && !HAS_DTS_ADC
prompt "ADC 0 interrupt priority"
default 2 default 2
config ADC_1 config ADC_1
@ -69,9 +65,8 @@ config ADC_1_NAME
default "ADC_1" default "ADC_1"
config ADC_1_IRQ_PRI config ADC_1_IRQ_PRI
int int "ADC 1 interrupt priority"
depends on ADC_1 && !HAS_DTS_ADC depends on ADC_1 && !HAS_DTS_ADC
prompt "ADC 1 interrupt priority"
default 2 default 2
source "drivers/adc/Kconfig.dw" source "drivers/adc/Kconfig.dw"

View file

@ -10,8 +10,7 @@
# AIO/Comparator options # AIO/Comparator options
# #
menuconfig AIO_COMPARATOR menuconfig AIO_COMPARATOR
bool bool "AIO/Comparator Configuration"
prompt "AIO/Comparator Configuration"
if AIO_COMPARATOR if AIO_COMPARATOR
menuconfig AIO_COMPARATOR_QMSI menuconfig AIO_COMPARATOR_QMSI

View file

@ -10,8 +10,7 @@
# Clock controller drivers # Clock controller drivers
# #
menuconfig CLOCK_CONTROL menuconfig CLOCK_CONTROL
bool bool "Hardware clock controller support"
prompt "Hardware clock controller support"
help help
Enable support for hardware clock controller. Such hardware can Enable support for hardware clock controller. Such hardware can
provide clock for other subsystem, and thus can be also used for provide clock for other subsystem, and thus can be also used for
@ -21,8 +20,7 @@ menuconfig CLOCK_CONTROL
if CLOCK_CONTROL if CLOCK_CONTROL
config SYS_LOG_CLOCK_CONTROL_LEVEL config SYS_LOG_CLOCK_CONTROL_LEVEL
int int "Hardware clock controller drivers log level"
prompt "Hardware clock controller drivers log level"
depends on SYS_LOG depends on SYS_LOG
default 0 default 0
help help

View file

@ -9,8 +9,7 @@
if SOC_FAMILY_ARM if SOC_FAMILY_ARM
menuconfig CLOCK_CONTROL_BEETLE menuconfig CLOCK_CONTROL_BEETLE
bool bool "BEETLE Clock Control"
prompt "BEETLE Clock Control"
depends on SOC_SERIES_BEETLE depends on SOC_SERIES_BEETLE
default y if SOC_SERIES_BEETLE default y if SOC_SERIES_BEETLE
help help

View file

@ -6,8 +6,7 @@
# #
menuconfig CLOCK_CONTROL_MCUX_CCM menuconfig CLOCK_CONTROL_MCUX_CCM
bool bool "MCUX CCM driver"
prompt "MCUX CCM driver"
depends on HAS_MCUX_CCM depends on HAS_MCUX_CCM
help help
Enable support for mcux ccm driver. Enable support for mcux ccm driver.

View file

@ -6,8 +6,7 @@
# #
menuconfig CLOCK_CONTROL_MCUX_SIM menuconfig CLOCK_CONTROL_MCUX_SIM
bool bool "MCUX SIM driver"
prompt "MCUX SIM driver"
depends on HAS_MCUX_SIM depends on HAS_MCUX_SIM
help help
Enable support for mcux sim driver. Enable support for mcux sim driver.

View file

@ -5,8 +5,7 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
menuconfig CLOCK_CONTROL_NRF5 menuconfig CLOCK_CONTROL_NRF5
bool bool "NRF5 Clock controller support"
prompt "NRF5 Clock controller support"
depends on SOC_FAMILY_NRF depends on SOC_FAMILY_NRF
help help
Enable support for the Nordic Semiconductor nRF5x series SoC clock Enable support for the Nordic Semiconductor nRF5x series SoC clock
@ -15,21 +14,18 @@ menuconfig CLOCK_CONTROL_NRF5
if CLOCK_CONTROL_NRF5 if CLOCK_CONTROL_NRF5
config CLOCK_CONTROL_NRF5_IRQ_PRIORITY config CLOCK_CONTROL_NRF5_IRQ_PRIORITY
int int "Power Clock Interrupt Priority"
prompt "Power Clock Interrupt Priority"
range 0 7 range 0 7
default 1 default 1
help help
The interrupt priority for Power Clock interrupt. The interrupt priority for Power Clock interrupt.
config CLOCK_CONTROL_NRF5_M16SRC_DRV_NAME config CLOCK_CONTROL_NRF5_M16SRC_DRV_NAME
string string "NRF5 16MHz clock device name"
prompt "NRF5 16MHz clock device name"
default "clk_m16src" default "clk_m16src"
config CLOCK_CONTROL_NRF5_K32SRC_DRV_NAME config CLOCK_CONTROL_NRF5_K32SRC_DRV_NAME
string string "NRF5 32KHz clock device name"
prompt "NRF5 32KHz clock device name"
default "clk_k32src" default "clk_k32src"
choice choice
@ -37,18 +33,15 @@ choice
default CLOCK_CONTROL_NRF5_K32SRC_XTAL default CLOCK_CONTROL_NRF5_K32SRC_XTAL
config CLOCK_CONTROL_NRF5_K32SRC_RC config CLOCK_CONTROL_NRF5_K32SRC_RC
bool bool "RC Oscillator"
prompt "RC Oscillator"
config CLOCK_CONTROL_NRF5_K32SRC_XTAL config CLOCK_CONTROL_NRF5_K32SRC_XTAL
bool bool "Crystal Oscillator"
prompt "Crystal Oscillator"
endchoice endchoice
config CLOCK_CONTROL_NRF5_K32SRC_BLOCKING config CLOCK_CONTROL_NRF5_K32SRC_BLOCKING
bool bool "Blocking 32KHz crystal oscillator startup"
prompt "Blocking 32KHz crystal oscillator startup"
depends on CLOCK_CONTROL_NRF5_K32SRC_XTAL depends on CLOCK_CONTROL_NRF5_K32SRC_XTAL
help help
Clock control driver will spin wait in CPU sleep until 32KHz Clock control driver will spin wait in CPU sleep until 32KHz
@ -62,36 +55,28 @@ choice
default CLOCK_CONTROL_NRF5_K32SRC_20PPM default CLOCK_CONTROL_NRF5_K32SRC_20PPM
config CLOCK_CONTROL_NRF5_K32SRC_500PPM config CLOCK_CONTROL_NRF5_K32SRC_500PPM
bool bool "251 ppm to 500 ppm"
prompt "251 ppm to 500 ppm"
config CLOCK_CONTROL_NRF5_K32SRC_250PPM config CLOCK_CONTROL_NRF5_K32SRC_250PPM
bool bool "151 ppm to 250 ppm"
prompt "151 ppm to 250 ppm"
config CLOCK_CONTROL_NRF5_K32SRC_150PPM config CLOCK_CONTROL_NRF5_K32SRC_150PPM
bool bool "101 ppm to 150 ppm"
prompt "101 ppm to 150 ppm"
config CLOCK_CONTROL_NRF5_K32SRC_100PPM config CLOCK_CONTROL_NRF5_K32SRC_100PPM
bool bool "76 ppm to 100 ppm"
prompt "76 ppm to 100 ppm"
config CLOCK_CONTROL_NRF5_K32SRC_75PPM config CLOCK_CONTROL_NRF5_K32SRC_75PPM
bool bool "51 ppm to 75 ppm"
prompt "51 ppm to 75 ppm"
config CLOCK_CONTROL_NRF5_K32SRC_50PPM config CLOCK_CONTROL_NRF5_K32SRC_50PPM
bool bool "31 ppm to 50 ppm"
prompt "31 ppm to 50 ppm"
config CLOCK_CONTROL_NRF5_K32SRC_30PPM config CLOCK_CONTROL_NRF5_K32SRC_30PPM
bool bool "21 ppm to 30 ppm"
prompt "21 ppm to 30 ppm"
config CLOCK_CONTROL_NRF5_K32SRC_20PPM config CLOCK_CONTROL_NRF5_K32SRC_20PPM
bool bool "0 ppm to 20 ppm"
prompt "0 ppm to 20 ppm"
endchoice endchoice

View file

@ -7,47 +7,40 @@
# #
menuconfig CLOCK_CONTROL_QUARK_SE menuconfig CLOCK_CONTROL_QUARK_SE
bool bool "Quark SE Clock controller support"
prompt "Quark SE Clock controller support"
help help
Enable support for the Quark SE clock driver. Enable support for the Quark SE clock driver.
if CLOCK_CONTROL_QUARK_SE if CLOCK_CONTROL_QUARK_SE
config CLOCK_CONTROL_QUARK_SE_PERIPHERAL config CLOCK_CONTROL_QUARK_SE_PERIPHERAL
bool bool "Quark SE peripheral clock support"
prompt "Quark SE peripheral clock support"
help help
Enable support for Quark SE peripheral clock which controls the Enable support for Quark SE peripheral clock which controls the
clock of I2C, SPI, GPIO controllers and more. clock of I2C, SPI, GPIO controllers and more.
config CLOCK_CONTROL_QUARK_SE_PERIPHERAL_DRV_NAME config CLOCK_CONTROL_QUARK_SE_PERIPHERAL_DRV_NAME
string string "Quark SE peripheral clock device name"
prompt "Quark SE peripheral clock device name"
depends on CLOCK_CONTROL_QUARK_SE_PERIPHERAL depends on CLOCK_CONTROL_QUARK_SE_PERIPHERAL
default "clk_peripheral" default "clk_peripheral"
config CLOCK_CONTROL_QUARK_SE_EXTERNAL config CLOCK_CONTROL_QUARK_SE_EXTERNAL
bool bool "Quark SE external clock support"
prompt "Quark SE external clock support"
help help
Enable support for Quark SE external sub-system clock. Enable support for Quark SE external sub-system clock.
config CLOCK_CONTROL_QUARK_SE_EXTERNAL_DRV_NAME config CLOCK_CONTROL_QUARK_SE_EXTERNAL_DRV_NAME
string string "Quark SE external clock device name"
prompt "Quark SE external clock device name"
depends on CLOCK_CONTROL_QUARK_SE_EXTERNAL depends on CLOCK_CONTROL_QUARK_SE_EXTERNAL
default "clk_external" default "clk_external"
config CLOCK_CONTROL_QUARK_SE_SENSOR config CLOCK_CONTROL_QUARK_SE_SENSOR
bool bool "Quark SE sensor clock support"
prompt "Quark SE sensor clock support"
help help
Enable support for Quark SE sensor sub-system clock. Enable support for Quark SE sensor sub-system clock.
config CLOCK_CONTROL_QUARK_SE_SENSOR_DRV_NAME config CLOCK_CONTROL_QUARK_SE_SENSOR_DRV_NAME
string string "Quark SE sensor clock device name"
prompt "Quark SE sensor clock device name"
depends on CLOCK_CONTROL_QUARK_SE_SENSOR depends on CLOCK_CONTROL_QUARK_SE_SENSOR
default "clk_sensor" default "clk_sensor"

View file

@ -9,8 +9,7 @@
if SOC_FAMILY_STM32 if SOC_FAMILY_STM32
menuconfig CLOCK_CONTROL_STM32_CUBE menuconfig CLOCK_CONTROL_STM32_CUBE
bool bool "STM32 Reset & Clock Control"
prompt "STM32 Reset & Clock Control"
depends on CLOCK_CONTROL depends on CLOCK_CONTROL
select USE_STM32_LL_UTILS select USE_STM32_LL_UTILS
help help

View file

@ -8,8 +8,7 @@
# #
menuconfig CONSOLE menuconfig CONSOLE
bool bool "Console drivers"
prompt "Console drivers"
if CONSOLE if CONSOLE
@ -27,8 +26,7 @@ config CONSOLE_HAS_DRIVER
that some kind of console exists. that some kind of console exists.
config CONSOLE_HANDLER config CONSOLE_HANDLER
bool bool "Enable console input handler"
prompt "Enable console input handler"
depends on UART_CONSOLE depends on UART_CONSOLE
select UART_INTERRUPT_DRIVEN select UART_INTERRUPT_DRIVEN
help help
@ -36,8 +34,7 @@ config CONSOLE_HANDLER
interaction between serial console and the OS. interaction between serial console and the OS.
config UART_CONSOLE config UART_CONSOLE
bool bool "Use UART for console"
prompt "Use UART for console"
depends on SERIAL && SERIAL_HAS_DRIVER depends on SERIAL && SERIAL_HAS_DRIVER
select CONSOLE_HAS_DRIVER select CONSOLE_HAS_DRIVER
help help
@ -55,8 +52,7 @@ config UART_CONSOLE_ON_DEV_NAME
endif endif
config UART_CONSOLE_INIT_PRIORITY config UART_CONSOLE_INIT_PRIORITY
int int "Init priority"
prompt "Init priority"
default 60 default 60
depends on UART_CONSOLE depends on UART_CONSOLE
help help
@ -65,8 +61,7 @@ config UART_CONSOLE_INIT_PRIORITY
it uses. it uses.
config UART_CONSOLE_DEBUG_SERVER_HOOKS config UART_CONSOLE_DEBUG_SERVER_HOOKS
bool bool "Debug server hooks in debug console"
prompt "Debug server hooks in debug console"
depends on UART_CONSOLE depends on UART_CONSOLE
help help
This option allows a debug server agent such as GDB to take over the 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. code handle them if they are of no special significance to it.
config UART_CONSOLE_MCUMGR config UART_CONSOLE_MCUMGR
bool bool "Enable UART console mcumgr passthrough"
prompt "Enable UART console mcumgr passthrough"
depends on UART_CONSOLE depends on UART_CONSOLE
help help
Enables the UART console to receive mcumgr frames for image upgrade 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. (e.g., the shell). If unset, incoming mcumgr frames are dropped.
config USB_UART_CONSOLE config USB_UART_CONSOLE
bool bool "Use USB port for console outputs"
prompt "Use USB port for console outputs"
depends on SERIAL depends on SERIAL
select CONSOLE_HAS_DRIVER select CONSOLE_HAS_DRIVER
select USB_CDC_ACM select USB_CDC_ACM
@ -99,8 +92,7 @@ config USB_UART_CONSOLE
selected in conjunction with, say, USB Mass Storage. selected in conjunction with, say, USB Mass Storage.
config USB_UART_DTR_WAIT config USB_UART_DTR_WAIT
bool bool "Wait on DTR control signal"
prompt "Wait on DTR control signal"
depends on USB_UART_CONSOLE depends on USB_UART_CONSOLE
help help
Enable this option to use flow control on the console. The uart console 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. Note: Disabling this might lead to missing console prints.
config RAM_CONSOLE config RAM_CONSOLE
bool bool "Use RAM console"
prompt "Use RAM console"
select CONSOLE_HAS_DRIVER select CONSOLE_HAS_DRIVER
help help
Emit console messages to a RAM buffer "ram_console" which can Emit console messages to a RAM buffer "ram_console" which can
@ -125,8 +116,7 @@ config RAM_CONSOLE_BUFFER_SIZE
length is exceeded. length is exceeded.
config RTT_CONSOLE config RTT_CONSOLE
bool bool "Use RTT console"
prompt "Use RTT console"
depends on HAS_SEGGER_RTT depends on HAS_SEGGER_RTT
select CONSOLE_HAS_DRIVER select CONSOLE_HAS_DRIVER
help help
@ -164,22 +154,19 @@ config RTT_TX_RETRY_IN_INTERRUPT
endif endif
config IPM_CONSOLE_SENDER config IPM_CONSOLE_SENDER
bool bool "Inter-processor Mailbox console sender"
prompt "Inter-processor Mailbox console sender"
select CONSOLE_HAS_DRIVER select CONSOLE_HAS_DRIVER
help help
Enable the sending side of IPM console Enable the sending side of IPM console
config IPM_CONSOLE_RECEIVER config IPM_CONSOLE_RECEIVER
bool bool "Inter-processor Mailbox console receiver"
prompt "Inter-processor Mailbox console receiver"
select RING_BUFFER select RING_BUFFER
help help
Enable the receiving side of IPM console Enable the receiving side of IPM console
config IPM_CONSOLE_STACK_SIZE config IPM_CONSOLE_STACK_SIZE
int int "Stack size for IPM console receiver thread"
prompt "Stack size for IPM console receiver thread"
depends on IPM_CONSOLE_RECEIVER depends on IPM_CONSOLE_RECEIVER
default 512 default 512
help help
@ -188,8 +175,7 @@ config IPM_CONSOLE_STACK_SIZE
stack size for these threads here. stack size for these threads here.
config IPM_CONSOLE_INIT_PRIORITY config IPM_CONSOLE_INIT_PRIORITY
int int "IPM console init priority"
prompt "IPM console init priority"
default 60 default 60
depends on IPM_CONSOLE_SENDER || IPM_CONSOLE_RECEIVER depends on IPM_CONSOLE_SENDER || IPM_CONSOLE_RECEIVER
help help
@ -198,8 +184,7 @@ config IPM_CONSOLE_INIT_PRIORITY
it uses. it uses.
config UART_PIPE config UART_PIPE
bool bool "Enable pipe UART driver"
prompt "Enable pipe UART driver"
select UART_INTERRUPT_DRIVEN select UART_INTERRUPT_DRIVEN
help help
Enable pipe UART driver. This driver allows application to communicate Enable pipe UART driver. This driver allows application to communicate
@ -218,8 +203,7 @@ config UART_PIPE_ON_DEV_NAME
endif endif
config UART_MCUMGR config UART_MCUMGR
bool bool "Enable mcumgr UART driver"
prompt "Enable mcumgr UART driver"
select UART_INTERRUPT_DRIVEN select UART_INTERRUPT_DRIVEN
help help
Enable the mcumgr UART driver. This driver allows the application to Enable the mcumgr UART driver. This driver allows the application to
@ -240,8 +224,7 @@ config UART_MCUMGR_ON_DEV_NAME
endif # !HAS_DTS endif # !HAS_DTS
config UART_MCUMGR_RX_BUF_SIZE config UART_MCUMGR_RX_BUF_SIZE
int int "Size of receive buffer for mcumgr fragments received over UART, in bytes"
prompt "Size of receive buffer for mcumgr fragments received over UART, in bytes"
default 128 default 128
help help
Specifies the size of the mcumgr UART receive buffer, in bytes. This Specifies the size of the mcumgr UART receive buffer, in bytes. This
@ -249,8 +232,7 @@ config UART_MCUMGR_RX_BUF_SIZE
client. client.
config UART_MCUMGR_RX_BUF_COUNT config UART_MCUMGR_RX_BUF_COUNT
int int "Number of receive buffers for mcumgr fragments received over UART"
prompt "Number of receive buffers for mcumgr fragments received over UART"
default 2 default 2
help help
Specifies the number of the mcumgr UART receive buffers. Receive Specifies the number of the mcumgr UART receive buffers. Receive
@ -262,8 +244,7 @@ config UART_MCUMGR_RX_BUF_COUNT
endif # UART_MCUMGR endif # UART_MCUMGR
config XTENSA_SIM_CONSOLE config XTENSA_SIM_CONSOLE
bool bool "Use Xtensa simulator console"
prompt "Use Xtensa simulator console"
depends on SIMULATOR_XTENSA depends on SIMULATOR_XTENSA
select CONSOLE_HAS_DRIVER select CONSOLE_HAS_DRIVER
default y default y
@ -287,16 +268,14 @@ config NATIVE_POSIX_STDIN_CONSOLE
Feed the host terminal stdin to the Zephyr console/shell. Feed the host terminal stdin to the Zephyr console/shell.
config NATIVE_STDIN_POLL_PERIOD config NATIVE_STDIN_POLL_PERIOD
int int "Polling period for stdin"
prompt "Polling period for stdin"
depends on NATIVE_POSIX_STDIN_CONSOLE depends on NATIVE_POSIX_STDIN_CONSOLE
default 20 default 20
help help
In ms, polling period for stdin In ms, polling period for stdin
config NATIVE_STDIN_PRIO config NATIVE_STDIN_PRIO
int int "Priority of the stdin polling thread"
prompt "Priority of the stdin polling thread"
depends on NATIVE_POSIX_STDIN_CONSOLE depends on NATIVE_POSIX_STDIN_CONSOLE
default 4 default 4
help help
@ -310,16 +289,14 @@ config NATIVE_POSIX_STDOUT_CONSOLE
Zephyr's printk messages will be directed to the host terminal stdout. Zephyr's printk messages will be directed to the host terminal stdout.
config XTENSA_CONSOLE_INIT_PRIORITY config XTENSA_CONSOLE_INIT_PRIORITY
int int "Init priority"
prompt "Init priority"
default 60 default 60
depends on XTENSA_SIM_CONSOLE depends on XTENSA_SIM_CONSOLE
help help
Device driver initialization priority. Device driver initialization priority.
config NATIVE_POSIX_CONSOLE_INIT_PRIORITY config NATIVE_POSIX_CONSOLE_INIT_PRIORITY
int int "Init priority"
prompt "Init priority"
default 60 default 60
depends on NATIVE_POSIX_CONSOLE depends on NATIVE_POSIX_CONSOLE
help help

View file

@ -9,8 +9,7 @@
if SOC_FAMILY_ARM if SOC_FAMILY_ARM
config TIMER_DTMR_CMSDK_APB config TIMER_DTMR_CMSDK_APB
bool bool "ARM CMSDK (Cortex-M System Design Kit) DTMR Timer driver"
prompt "ARM CMSDK (Cortex-M System Design Kit) DTMR Timer driver"
help help
The dualtimer (DTMR) present in the platform is used as a timer. The dualtimer (DTMR) present in the platform is used as a timer.
This option enables the support for the timer. This option enables the support for the timer.
@ -20,8 +19,7 @@ if TIMER_DTMR_CMSDK_APB
# ---------- Timer 0 ---------- # ---------- Timer 0 ----------
config TIMER_DTMR_CMSDK_APB_0 config TIMER_DTMR_CMSDK_APB_0
bool bool "Timer 0 driver"
prompt "Timer 0 driver"
help help
Enable support for Timer 0. Enable support for Timer 0.
@ -42,8 +40,7 @@ config TIMER_DTMR_CMSDK_APB_0_IRQ_PRI
endif # TIMER_DTMR_CMSDK_APB endif # TIMER_DTMR_CMSDK_APB
config COUNTER_DTMR_CMSDK_APB config COUNTER_DTMR_CMSDK_APB
bool bool "ARM CMSDK (Cortex-M System Design Kit) DTMR Counter driver"
prompt "ARM CMSDK (Cortex-M System Design Kit) DTMR Counter driver"
help help
The dualtimer (DTMR) present in the platform is used as a counter. The dualtimer (DTMR) present in the platform is used as a counter.
This option enables the support for the counter. This option enables the support for the counter.
@ -53,8 +50,7 @@ if COUNTER_DTMR_CMSDK_APB
# ---------- Counter 0 ---------- # ---------- Counter 0 ----------
config COUNTER_DTMR_CMSDK_APB_0 config COUNTER_DTMR_CMSDK_APB_0
bool bool "Counter 0 driver"
prompt "Counter 0 driver"
depends on !TIMER_DTMR_CMSDK_APB_0 depends on !TIMER_DTMR_CMSDK_APB_0
help help
Enable support for Counter 0. Enable support for Counter 0.

View file

@ -7,8 +7,7 @@
# #
config AON_COUNTER_QMSI config AON_COUNTER_QMSI
bool bool "AON counter driver"
prompt "AON counter driver"
depends on COUNTER && QMSI depends on COUNTER && QMSI
help help
Enable support for AON counter. Enable support for AON counter.
@ -21,8 +20,7 @@ config AON_COUNTER_QMSI_DEV_NAME
Specify the device name for AON counter driver. Specify the device name for AON counter driver.
config AON_TIMER_QMSI config AON_TIMER_QMSI
bool bool "AON periodic timer driver"
prompt "AON periodic timer driver"
depends on COUNTER && QMSI depends on COUNTER && QMSI
help help
Enable support for AON periodic timer. Enable support for AON periodic timer.
@ -41,8 +39,7 @@ config AON_TIMER_IRQ_PRI
aon timer interrupt priority. aon timer interrupt priority.
config AON_API_REENTRANCY config AON_API_REENTRANCY
bool bool "AON driver API reentrancy"
prompt "AON driver API reentrancy"
depends on AON_TIMER_QMSI depends on AON_TIMER_QMSI
help help
Enable support for AON driver API reentrancy. Enable support for AON driver API reentrancy.

View file

@ -9,8 +9,7 @@
if SOC_FAMILY_ARM if SOC_FAMILY_ARM
config TIMER_TMR_CMSDK_APB config TIMER_TMR_CMSDK_APB
bool bool "ARM CMSDK (Cortex-M System Design Kit) Timer driver"
prompt "ARM CMSDK (Cortex-M System Design Kit) Timer driver"
help help
The timers (TMR) present in the platform are used as timers. The timers (TMR) present in the platform are used as timers.
This option enables the support for the timers. This option enables the support for the timers.
@ -20,8 +19,7 @@ if TIMER_TMR_CMSDK_APB
# ---------- Timer 0 ---------- # ---------- Timer 0 ----------
config TIMER_TMR_CMSDK_APB_0 config TIMER_TMR_CMSDK_APB_0
bool bool "Timer 0 driver"
prompt "Timer 0 driver"
help help
Enable support for Timer 0. Enable support for Timer 0.
@ -42,8 +40,7 @@ config TIMER_TMR_CMSDK_APB_0_IRQ_PRI
# ---------- Timer 1 ---------- # ---------- Timer 1 ----------
config TIMER_TMR_CMSDK_APB_1 config TIMER_TMR_CMSDK_APB_1
bool bool "Timer 1 driver"
prompt "Timer 1 driver"
help help
Enable support for Timer 1. Enable support for Timer 1.
@ -64,8 +61,7 @@ config TIMER_TMR_CMSDK_APB_1_IRQ_PRI
endif # TIMER_TMR_CMSDK_APB endif # TIMER_TMR_CMSDK_APB
config COUNTER_TMR_CMSDK_APB config COUNTER_TMR_CMSDK_APB
bool bool "ARM CMSDK (Cortex-M System Design Kit) Counter driver"
prompt "ARM CMSDK (Cortex-M System Design Kit) Counter driver"
help help
The timers (TMR) present in the platform are used as counters. The timers (TMR) present in the platform are used as counters.
This option enables the support for the counters. This option enables the support for the counters.
@ -75,8 +71,7 @@ if COUNTER_TMR_CMSDK_APB
# ---------- Counter 0 ---------- # ---------- Counter 0 ----------
config COUNTER_TMR_CMSDK_APB_0 config COUNTER_TMR_CMSDK_APB_0
bool bool "Counter 0 driver"
prompt "Counter 0 driver"
depends on !TIMER_TMR_CMSDK_APB_0 depends on !TIMER_TMR_CMSDK_APB_0
help help
Enable support for Counter 0. Enable support for Counter 0.
@ -91,8 +86,7 @@ config COUNTER_TMR_CMSDK_APB_0_DEV_NAME
# ---------- Counter 1 ---------- # ---------- Counter 1 ----------
config COUNTER_TMR_CMSDK_APB_1 config COUNTER_TMR_CMSDK_APB_1
bool bool "Counter 1 driver"
prompt "Counter 1 driver"
depends on !TIMER_TMR_CMSDK_APB_1 depends on !TIMER_TMR_CMSDK_APB_1
help help
Enable support for Counter 1. Enable support for Counter 1.

View file

@ -10,8 +10,7 @@
# CRYPTO options # CRYPTO options
# #
menuconfig CRYPTO menuconfig CRYPTO
bool bool "Crypto Drivers [EXPERIMENTAL]"
prompt "Crypto Drivers [EXPERIMENTAL]"
if CRYPTO if CRYPTO

View file

@ -7,8 +7,7 @@
# #
menuconfig DISPLAY menuconfig DISPLAY
bool bool "Display Drivers"
prompt "Display Drivers"
help help
Enable display drivers Enable display drivers

View file

@ -104,8 +104,7 @@ choice
Specify the type of LCD connected to the ILI9340 display controller. Specify the type of LCD connected to the ILI9340 display controller.
config ILI9340_LCD_ADAFRUIT_1480 config ILI9340_LCD_ADAFRUIT_1480
bool bool "Adafruit 2.2\" TFT 1480"
prompt "Adafruit 2.2\" TFT 1480"
endchoice endchoice

View file

@ -10,8 +10,7 @@
# DMA options # DMA options
# #
menuconfig DMA menuconfig DMA
bool bool "DMA driver Configuration"
prompt "DMA driver Configuration"
if DMA if DMA
config DMA_0_NAME config DMA_0_NAME
@ -51,8 +50,7 @@ config DMA_2_IRQ_PRI
IRQ Priority for DMA Controller 2. IRQ Priority for DMA Controller 2.
config SYS_LOG_DMA_LEVEL config SYS_LOG_DMA_LEVEL
int int "DMA Driver Log level"
prompt "DMA Driver Log level"
depends on SYS_LOG depends on SYS_LOG
default 0 default 0
range 0 4 range 0 4
@ -66,8 +64,7 @@ config SYS_LOG_DMA_LEVEL
4 DEBUG, write SYS_LOG_DBG in addition to previous levels 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
config DCACHE_WRITEBACK config DCACHE_WRITEBACK
bool bool "Data Cache Writeback"
prompt "Data Cache Writeback"
help help
Cache configuration for "Writeback". Cache configuration for "Writeback".

View file

@ -7,8 +7,7 @@
# #
menuconfig ENTROPY_GENERATOR menuconfig ENTROPY_GENERATOR
bool bool "Entropy Drivers"
prompt "Entropy Drivers"
help help
Include entropy drivers in system config. Include entropy drivers in system config.

View file

@ -9,8 +9,7 @@
menu "Ethernet Drivers" menu "Ethernet Drivers"
config SYS_LOG_ETHERNET_LEVEL config SYS_LOG_ETHERNET_LEVEL
int int "Ethernet driver log level"
prompt "Ethernet driver log level"
depends on SYS_LOG && NET_L2_ETHERNET depends on SYS_LOG && NET_L2_ETHERNET
default 0 default 0
range 0 4 range 0 4
@ -24,8 +23,7 @@ config SYS_LOG_ETHERNET_LEVEL
4 DEBUG, write SYS_LOG_DBG in addition to previous levels 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
config ETH_INIT_PRIORITY config ETH_INIT_PRIORITY
int int "Ethernet driver init priority"
prompt "Ethernet driver init priority"
depends on NET_L2_ETHERNET depends on NET_L2_ETHERNET
default 80 default 80
help help

View file

@ -7,8 +7,7 @@
# #
menuconfig ETH_DW menuconfig ETH_DW
bool bool "Synopsys DesignWare Ethernet driver"
prompt "Synopsys DesignWare Ethernet driver"
depends on NET_L2_ETHERNET depends on NET_L2_ETHERNET
help help
Enable Synopsys DesignWare Ethernet driver. Enable Synopsys DesignWare Ethernet driver.

View file

@ -5,8 +5,7 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
menuconfig ETH_MCUX menuconfig ETH_MCUX
bool bool "MCUX Ethernet driver"
prompt "MCUX Ethernet driver"
depends on NET_L2_ETHERNET && HAS_MCUX depends on NET_L2_ETHERNET && HAS_MCUX
help help
Enable MCUX Ethernet driver. Note, this driver performs one shot PHY Enable MCUX Ethernet driver. Note, this driver performs one shot PHY

View file

@ -5,8 +5,7 @@
# #
menuconfig ETH_SAM_GMAC menuconfig ETH_SAM_GMAC
bool bool "Atmel SAM Ethernet driver"
prompt "Atmel SAM Ethernet driver"
depends on SOC_FAMILY_SAM depends on SOC_FAMILY_SAM
help help
Enable Atmel SAM MCU Family Ethernet driver. Enable Atmel SAM MCU Family Ethernet driver.

View file

@ -7,8 +7,7 @@
# #
menuconfig ETH_STM32_HAL menuconfig ETH_STM32_HAL
bool bool "STM32 HAL Ethernet driver"
prompt "STM32 HAL Ethernet driver"
depends on NET_L2_ETHERNET depends on NET_L2_ETHERNET
select USE_STM32_HAL_ETH select USE_STM32_HAL_ETH
help help

View file

@ -21,8 +21,7 @@ config FLASH_HAS_PAGE_LAYOUT
retrieving the layout of flash memory pages. retrieving the layout of flash memory pages.
menuconfig FLASH menuconfig FLASH
bool bool "Flash hardware support"
prompt "Flash hardware support"
help help
Enable support for the flash hardware. Enable support for the flash hardware.

View file

@ -5,8 +5,7 @@
# #
menuconfig SOC_FLASH_QMSI menuconfig SOC_FLASH_QMSI
bool bool "QMSI flash driver"
prompt "QMSI flash driver"
depends on QMSI && FLASH depends on QMSI && FLASH
select FLASH_HAS_DRIVER_ENABLED select FLASH_HAS_DRIVER_ENABLED
help help

View file

@ -6,16 +6,14 @@
if FLASH && SOC_FAMILY_SAM0 if FLASH && SOC_FAMILY_SAM0
menuconfig SOC_FLASH_SAM0 menuconfig SOC_FLASH_SAM0
bool bool "Atmel SAM0 flash driver"
prompt "Atmel SAM0 flash driver"
select FLASH_HAS_PAGE_LAYOUT select FLASH_HAS_PAGE_LAYOUT
select FLASH_HAS_DRIVER_ENABLED select FLASH_HAS_DRIVER_ENABLED
help help
Enable the Atmel SAM0 series internal flash driver. Enable the Atmel SAM0 series internal flash driver.
config SOC_FLASH_SAM0_EMULATE_BYTE_PAGES config SOC_FLASH_SAM0_EMULATE_BYTE_PAGES
bool bool "Emulate byte-sized pages"
prompt "Emulate byte-sized pages"
depends on SOC_FLASH_SAM0 depends on SOC_FLASH_SAM0
help help
Emulate a device with byte-sized pages by doing a Emulate a device with byte-sized pages by doing a

View file

@ -9,8 +9,7 @@
if FLASH && SOC_FAMILY_STM32 if FLASH && SOC_FAMILY_STM32
menuconfig SOC_FLASH_STM32 menuconfig SOC_FLASH_STM32
bool bool "STM32 flash driver"
prompt "STM32 flash driver"
depends on (SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X || SOC_SERIES_STM32F4X || SOC_SERIES_STM32L4X) depends on (SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X || SOC_SERIES_STM32F4X || SOC_SERIES_STM32L4X)
select FLASH_HAS_DRIVER_ENABLED select FLASH_HAS_DRIVER_ENABLED
default y default y

View file

@ -6,20 +6,17 @@
menuconfig SPI_FLASH_W25QXXDV menuconfig SPI_FLASH_W25QXXDV
bool bool "SPI NOR Flash Winbond W25QXXDV"
prompt "SPI NOR Flash Winbond W25QXXDV"
select FLASH_HAS_DRIVER_ENABLED select FLASH_HAS_DRIVER_ENABLED
depends on SPI && FLASH depends on SPI && FLASH
if SPI_FLASH_W25QXXDV if SPI_FLASH_W25QXXDV
config SPI_FLASH_W25QXXDV_SPI_NAME config SPI_FLASH_W25QXXDV_SPI_NAME
string string "SPI controller device name"
prompt "SPI controller device name"
config SPI_FLASH_W25QXXDV_DRV_NAME config SPI_FLASH_W25QXXDV_DRV_NAME
string string "SPI flash device name"
prompt "SPI flash device name"
default "W25QXXDV" default "W25QXXDV"
config SPI_FLASH_W25QXXDV_INIT_PRIORITY config SPI_FLASH_W25QXXDV_INIT_PRIORITY

View file

@ -7,16 +7,14 @@
# #
menuconfig GPIO menuconfig GPIO
bool bool "GPIO Drivers"
prompt "GPIO Drivers"
help help
Include GPIO drivers in system config Include GPIO drivers in system config
if GPIO if GPIO
config SYS_LOG_GPIO_LEVEL config SYS_LOG_GPIO_LEVEL
int int "GPIO drivers log level"
prompt "GPIO drivers log level"
default 0 default 0
depends on SYS_LOG depends on SYS_LOG
help help

View file

@ -13,13 +13,11 @@ if GPIO_CC2650
# A single block of GPIO exist. # A single block of GPIO exist.
config GPIO_CC2650_NAME config GPIO_CC2650_NAME
string string "GPIO driver name."
default "GPIO_0" default "GPIO_0"
prompt "GPIO driver name."
config GPIO_CC2650_INIT_PRIO config GPIO_CC2650_INIT_PRIO
int int "GPIO driver initialization priority."
default 40 default 40
prompt "GPIO driver initialization priority."
endif # GPIO_CC2650 endif # GPIO_CC2650

View file

@ -7,9 +7,8 @@
# #
menuconfig GPIO_DW menuconfig GPIO_DW
prompt "Designware GPIO" bool "Designware GPIO"
depends on GPIO depends on GPIO
bool
help help
Enable driver for Designware GPIO Enable driver for Designware GPIO
@ -19,9 +18,8 @@ config GPIO_DW_SHARED_IRQ
bool bool
config GPIO_DW_INIT_PRIORITY config GPIO_DW_INIT_PRIORITY
int int "Init priority"
default 60 default 60
prompt "Init priority"
help help
Device driver initialization priority. Device driver initialization priority.

View file

@ -15,8 +15,7 @@ menuconfig GPIO_PCAL9535A
if GPIO_PCAL9535A if GPIO_PCAL9535A
config SYS_LOG_GPIO_PCAL9535A_LEVEL config SYS_LOG_GPIO_PCAL9535A_LEVEL
int int "PCAL9535A driver log level"
prompt "PCAL9535A driver log level"
depends on GPIO_PCAL9535A && SYS_LOG depends on GPIO_PCAL9535A && SYS_LOG
default 0 default 0
help help
@ -35,9 +34,8 @@ config SYS_LOG_GPIO_PCAL9535A_LEVEL
- 4 DEBUG, write SYS_LOG_DBG in addition to previous levels - 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
config GPIO_PCAL9535A_INIT_PRIORITY config GPIO_PCAL9535A_INIT_PRIORITY
int int "Init priority"
default 70 default 70
prompt "Init priority"
help help
Device driver initialization priority. Device driver initialization priority.

View file

@ -23,16 +23,14 @@ menuconfig GPIO_QMSI_SS
if GPIO_QMSI || GPIO_QMSI_SS if GPIO_QMSI || GPIO_QMSI_SS
config GPIO_QMSI_INIT_PRIORITY config GPIO_QMSI_INIT_PRIORITY
int int "Init priority"
default 60 default 60
depends on GPIO_QMSI depends on GPIO_QMSI
prompt "Init priority"
help help
Device driver initialization priority. Device driver initialization priority.
config GPIO_QMSI_API_REENTRANCY config GPIO_QMSI_API_REENTRANCY
bool bool "GPIO driver API reentrancy"
prompt "GPIO driver API reentrancy"
depends on GPIO_QMSI depends on GPIO_QMSI
help help
Enable support for QMSI GPIO driver API reentrancy. Enable support for QMSI GPIO driver API reentrancy.

View file

@ -15,10 +15,9 @@ menuconfig GPIO_SCH
if GPIO_SCH if GPIO_SCH
config GPIO_SCH_INIT_PRIORITY config GPIO_SCH_INIT_PRIORITY
int int "Init priority"
depends on GPIO_SCH depends on GPIO_SCH
default 60 default 60
prompt "Init priority"
help help
Device driver initialization priority. Device driver initialization priority.

View file

@ -13,9 +13,8 @@ menuconfig GPIO_SX1509B
Enable driver for SX1509B I2C GPIO chip. Enable driver for SX1509B I2C GPIO chip.
config GPIO_SX1509B_INIT_PRIORITY config GPIO_SX1509B_INIT_PRIORITY
int int "Init priority"
default 70 default 70
prompt "Init priority"
help help
Device driver initialization priority. Device driver initialization priority.

View file

@ -8,15 +8,13 @@
menuconfig GROVE menuconfig GROVE
bool bool "Grove Device Drivers"
prompt "Grove Device Drivers"
help help
Check this box to enable the Seeed Grove device drivers Check this box to enable the Seeed Grove device drivers
config SYS_LOG_GROVE_LEVEL config SYS_LOG_GROVE_LEVEL
int int "Grove Log level"
prompt "Grove Log level"
depends on SYS_LOG && GROVE depends on SYS_LOG && GROVE
default 0 default 0
range 0 4 range 0 4
@ -30,9 +28,8 @@ config SYS_LOG_GROVE_LEVEL
4 DEBUG, write SYS_LOG_DBG in addition to previous levels 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
config GROVE_LCD_RGB config GROVE_LCD_RGB
bool bool "Enable the Seeed Grove LCD RGB Backlight"
depends on GROVE depends on GROVE
prompt "Enable the Seeed Grove LCD RGB Backlight"
help help
Setting this value will enable driver support for the Groove-LCD RGB Setting this value will enable driver support for the Groove-LCD RGB
Backlight. Backlight.
@ -46,24 +43,21 @@ config GROVE_LCD_RGB_I2C_MASTER_DEV_NAME
Grove LCD is connected. Grove LCD is connected.
config GROVE_LIGHT_SENSOR config GROVE_LIGHT_SENSOR
bool bool "Enable the Seeed Grove Light Sensor"
prompt "Enable the Seeed Grove Light Sensor"
depends on SENSOR && GROVE && ADC && NEWLIB_LIBC depends on SENSOR && GROVE && ADC && NEWLIB_LIBC
help help
Setting this value will enable driver support for the Grove Light Setting this value will enable driver support for the Grove Light
Sensor. Sensor.
config GROVE_LIGHT_SENSOR_NAME config GROVE_LIGHT_SENSOR_NAME
string string "Driver name"
prompt "Driver name"
depends on GROVE_LIGHT_SENSOR depends on GROVE_LIGHT_SENSOR
default "GROVE_LIGHT_SENSOR" default "GROVE_LIGHT_SENSOR"
help help
Specify the device name with which the sensor is identified. Specify the device name with which the sensor is identified.
config GROVE_LIGHT_SENSOR_ADC_DEV_NAME config GROVE_LIGHT_SENSOR_ADC_DEV_NAME
string string "ADC where Grove Light Sensor is connected"
prompt "ADC where Grove Light Sensor is connected"
depends on GROVE_LIGHT_SENSOR depends on GROVE_LIGHT_SENSOR
default "ADC_0" default "ADC_0"
help help
@ -71,8 +65,7 @@ config GROVE_LIGHT_SENSOR_ADC_DEV_NAME
is connected. is connected.
config GROVE_LIGHT_SENSOR_ADC_CHANNEL config GROVE_LIGHT_SENSOR_ADC_CHANNEL
int int "ADC channel used by Grove Light Sensor"
prompt "ADC channel used by Grove Light Sensor"
depends on GROVE_LIGHT_SENSOR depends on GROVE_LIGHT_SENSOR
default 10 default 10
help help
@ -80,16 +73,14 @@ config GROVE_LIGHT_SENSOR_ADC_CHANNEL
connected. connected.
config GROVE_TEMPERATURE_SENSOR config GROVE_TEMPERATURE_SENSOR
bool bool "Enable the Seeed Grove Temperature Sensor"
prompt "Enable the Seeed Grove Temperature Sensor"
depends on SENSOR && GROVE && ADC && NEWLIB_LIBC depends on SENSOR && GROVE && ADC && NEWLIB_LIBC
help help
Setting this value will enable driver support for the Grove Setting this value will enable driver support for the Grove
Temperature Sensor. Temperature Sensor.
config GROVE_TEMPERATURE_SENSOR_NAME config GROVE_TEMPERATURE_SENSOR_NAME
string string "Driver name"
prompt "Driver name"
depends on GROVE_TEMPERATURE_SENSOR depends on GROVE_TEMPERATURE_SENSOR
default "GROVE_TEMPERATURE_SENSOR" default "GROVE_TEMPERATURE_SENSOR"
help help
@ -104,22 +95,19 @@ choice
Choose the version of the Grove Temperature Sensor. Choose the version of the Grove Temperature Sensor.
config GROVE_TEMPERATURE_SENSOR_V1_0 config GROVE_TEMPERATURE_SENSOR_V1_0
bool bool "v1.0"
prompt "v1.0"
help help
Version 1.0 Version 1.0
config GROVE_TEMPERATURE_SENSOR_V1_X config GROVE_TEMPERATURE_SENSOR_V1_X
bool bool "v1.1/v1.2"
prompt "v1.1/v1.2"
help help
Version 1.1 or 1.2 Version 1.1 or 1.2
endchoice endchoice
config GROVE_TEMPERATURE_SENSOR_ADC_DEV_NAME config GROVE_TEMPERATURE_SENSOR_ADC_DEV_NAME
string string "ADC where Grove Temperature Sensor is connected"
prompt "ADC where Grove Temperature Sensor is connected"
depends on GROVE_TEMPERATURE_SENSOR depends on GROVE_TEMPERATURE_SENSOR
default "ADC_0" default "ADC_0"
help help
@ -127,8 +115,7 @@ config GROVE_TEMPERATURE_SENSOR_ADC_DEV_NAME
Sensor is connected. Sensor is connected.
config GROVE_TEMPERATURE_SENSOR_ADC_CHANNEL config GROVE_TEMPERATURE_SENSOR_ADC_CHANNEL
int int "ADC channel used by Grove Temperature Sensor"
prompt "ADC channel used by Grove Temperature Sensor"
depends on GROVE_TEMPERATURE_SENSOR depends on GROVE_TEMPERATURE_SENSOR
default 10 default 10
help help

View file

@ -8,8 +8,7 @@
# I2S Drivers # I2S Drivers
# #
menuconfig I2S menuconfig I2S
bool bool "I2S bus drivers"
prompt "I2S bus drivers"
help help
Enable support for the I2S (Inter-IC Sound) hardware bus. Enable support for the I2S (Inter-IC Sound) hardware bus.

View file

@ -7,16 +7,14 @@
# #
menuconfig SHARED_IRQ menuconfig SHARED_IRQ
bool bool "Shared interrupt driver"
prompt "Shared interrupt driver"
help help
Include shared interrupt support in system. Shared interrupt Include shared interrupt support in system. Shared interrupt
support is NOT required in most systems. If in doubt answer no. support is NOT required in most systems. If in doubt answer no.
config SHARED_IRQ_NUM_CLIENTS config SHARED_IRQ_NUM_CLIENTS
int int "The number of clients per instance"
depends on SHARED_IRQ depends on SHARED_IRQ
prompt "The number of clients per instance"
default 5 default 5
help help
Configures the maximum number of clients allowed per shared 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. this value to the lowest practical value.
config SHARED_IRQ_INIT_PRIORITY config SHARED_IRQ_INIT_PRIORITY
int int "Shared IRQ init priority"
depends on SHARED_IRQ depends on SHARED_IRQ
default 45 default 45
prompt "Shared IRQ init priority"
help help
Shared IRQ are initialized on POST_KERNEL init level. They Shared IRQ are initialized on POST_KERNEL init level. They
have to be initialized before any device that uses them. have to be initialized before any device that uses them.

View file

@ -1,6 +1,5 @@
menuconfig IPM menuconfig IPM
bool bool "IPM drivers"
prompt "IPM drivers"
help help
Include interrupt-based inter-processor mailboxes Include interrupt-based inter-processor mailboxes
drivers in system configuration drivers in system configuration

View file

@ -34,8 +34,7 @@
# SLIP options # SLIP options
# #
menuconfig SLIP menuconfig SLIP
bool bool "SLIP driver"
prompt "SLIP driver"
select UART_PIPE select UART_PIPE
select UART_INTERRUPT_DRIVEN select UART_INTERRUPT_DRIVEN
@ -58,8 +57,7 @@ config SLIP_MTU
does not use this value. does not use this value.
config SYS_LOG_SLIP_LEVEL config SYS_LOG_SLIP_LEVEL
int int "SLIP driver log level"
prompt "SLIP driver log level"
depends on SYS_LOG && SLIP depends on SYS_LOG && SLIP
default 0 default 0
range 0 4 range 0 4
@ -100,15 +98,13 @@ endif
# Net loopback options # Net loopback options
# #
menuconfig NET_LOOPBACK menuconfig NET_LOOPBACK
bool bool "Net loopback driver"
prompt "Net loopback driver"
select NET_L2_DUMMY select NET_L2_DUMMY
if NET_LOOPBACK if NET_LOOPBACK
config SYS_LOG_NET_LOOPBACK_LEVEL config SYS_LOG_NET_LOOPBACK_LEVEL
int int "Net loopback driver log level"
prompt "Net loopback driver log level"
depends on SYS_LOG && NET_LOOPBACK depends on SYS_LOG && NET_LOOPBACK
default 0 default 0
range 0 4 range 0 4

View file

@ -8,16 +8,14 @@
menuconfig PCI menuconfig PCI
bool bool "PCI Settings"
prompt "PCI Settings"
depends on X86 depends on X86
help help
This options enables support of PCI bus for device drivers. This options enables support of PCI bus for device drivers.
if PCI if PCI
config PCI_ENUMERATION config PCI_ENUMERATION
bool bool "Enable PCI device enumeration"
prompt "Enable PCI device enumeration"
help help
This option enables the PCI enumeration for device drivers. This option enables the PCI enumeration for device drivers.
This might be useful along with PCI_DEBUG to find out which 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. might be wise to disable this option to remove useless code.
config PCI_LEGACY_BRIDGE config PCI_LEGACY_BRIDGE
bool bool "PCI legacy bridge device support"
prompt "PCI legacy bridge device support"
help help
This option adds support for PCI legacy bridge device, that This option adds support for PCI legacy bridge device, that
allows direct setup of the PCI interrupt pin to IRQ number allows direct setup of the PCI interrupt pin to IRQ number
@ -54,8 +51,7 @@ config PCI_LEGACY_BRIDGE_DEVICE_ID
default 0 default 0
config PCI_DEBUG config PCI_DEBUG
bool bool "Enable PCI debugging"
prompt "Enable PCI debugging"
help help
This options enables PCI debugging functions This options enables PCI debugging functions

View file

@ -24,8 +24,7 @@ config PINMUX_NAME
The name of the pinmux driver. The name of the pinmux driver.
config PINMUX_INIT_PRIORITY config PINMUX_INIT_PRIORITY
int int "Init priority"
prompt "Init priority"
default 45 default 45
depends on PINMUX depends on PINMUX
help help

View file

@ -14,8 +14,7 @@ menuconfig PWM
if PWM if PWM
config SYS_LOG_PWM_LEVEL config SYS_LOG_PWM_LEVEL
int int "PWM Driver Log level"
prompt "PWM Driver Log level"
depends on SYS_LOG depends on SYS_LOG
default 0 default 0
range 0 4 range 0 4

View file

@ -6,8 +6,7 @@
# #
menuconfig PWM_IMX menuconfig PWM_IMX
bool bool "i.MX PWM Driver"
prompt "i.MX PWM Driver"
depends on PWM depends on PWM
help help
Enable support for i.MX pwm driver. Enable support for i.MX pwm driver.

View file

@ -6,8 +6,7 @@
# #
menuconfig PWM_MCUX_FTM menuconfig PWM_MCUX_FTM
bool bool "MCUX FTM PWM driver"
prompt "MCUX FTM PWM driver"
depends on HAS_MCUX_FTM depends on HAS_MCUX_FTM
help help
Enable support for mcux ftm pwm driver. Enable support for mcux ftm pwm driver.

View file

@ -25,8 +25,7 @@ config PWM_NRF5_SW_0_DEV_NAME
PWM driver. PWM driver.
config PWM_NRF5_SW_0_CLOCK_PRESCALER config PWM_NRF5_SW_0_CLOCK_PRESCALER
int int "Nordic Semiconductor nRF5x series S/W PWM Clock Prescaler"
prompt "Nordic Semiconductor nRF5x series S/W PWM Clock Prescaler"
default 0 default 0
range 0 9 range 0 9
help help

View file

@ -19,10 +19,9 @@ menuconfig PWM_PCA9685
if PWM_PCA9685 if PWM_PCA9685
config PWM_PCA9685_INIT_PRIORITY config PWM_PCA9685_INIT_PRIORITY
int int "Init priority"
depends on PWM_PCA9685 depends on PWM_PCA9685
default 70 default 70
prompt "Init priority"
help help
Device driver initialization priority. Device driver initialization priority.

View file

@ -29,8 +29,7 @@ config PWM_QMSI_NUM_PORTS
Specify how many PWM ports on the IP block. Specify how many PWM ports on the IP block.
config PWM_QMSI_API_REENTRANCY config PWM_QMSI_API_REENTRANCY
bool bool "PWM shim driver API reentrancy"
prompt "PWM shim driver API reentrancy"
depends on PWM_QMSI depends on PWM_QMSI
help help
Enable support for PWM shim driver API reentrancy. Enable support for PWM shim driver API reentrancy.

View file

@ -6,8 +6,7 @@
# #
menuconfig RTC_MCUX menuconfig RTC_MCUX
bool bool "MCUX RTC driver"
prompt "MCUX RTC driver"
depends on RTC && HAS_MCUX_RTC depends on RTC && HAS_MCUX_RTC
help help
Enable support for mcux rtc driver. Enable support for mcux rtc driver.

View file

@ -7,15 +7,13 @@ config RTC_QMSI
if RTC_QMSI if RTC_QMSI
config RTC_QMSI_API_REENTRANCY config RTC_QMSI_API_REENTRANCY
bool bool "RTC shim driver API reentrancy"
prompt "RTC shim driver API reentrancy"
help help
Enable support for RTC shim driver API reentrancy. Enable support for RTC shim driver API reentrancy.
config RTC_PRESCALER config RTC_PRESCALER
int int "Prescaler size"
default 1 default 1
prompt "Prescaler size"
help help
RTC prescaler used to determine ticks per second RTC prescaler used to determine ticks per second

View file

@ -7,8 +7,7 @@
# #
menuconfig SENSOR menuconfig SENSOR
bool bool "Sensor Drivers"
prompt "Sensor Drivers"
help help
Include sensor drivers in system config 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 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
config SENSOR_INIT_PRIORITY config SENSOR_INIT_PRIORITY
int int "Sensor init priority"
prompt "Sensor init priority"
default 90 default 90
help help
Sensor initialization priority. Sensor initialization priority.

View file

@ -6,8 +6,7 @@
# #
menuconfig ADT7420 menuconfig ADT7420
bool bool "ADT7420 Temperature Sensor"
prompt "ADT7420 Temperature Sensor"
depends on I2C depends on I2C
help help
Enable the driver for Analog Devices ADT7420 High-Accuracy Enable the driver for Analog Devices ADT7420 High-Accuracy
@ -18,8 +17,7 @@ if ADT7420
if !HAS_DTS_I2C_DEVICE if !HAS_DTS_I2C_DEVICE
config ADT7420_NAME config ADT7420_NAME
string string "Driver name"
prompt "Driver name"
default "ADT7420" default "ADT7420"
help help
Device name with which the ADT7420 sensor is identified. 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. 0x4B: A0 connected VDD and A1 connected to VDD.
config ADT7420_I2C_MASTER_DEV_NAME config ADT7420_I2C_MASTER_DEV_NAME
string string "I2C master where ADT7420 is connected"
prompt "I2C master where ADT7420 is connected"
default "I2C_0" default "I2C_0"
help help
Specify the device name of the I2C master device to which the Specify the device name of the I2C master device to which the

View file

@ -7,23 +7,20 @@
# #
menuconfig AK8975 menuconfig AK8975
bool bool "AK8975 Magnetometer"
prompt "AK8975 Magnetometer"
depends on I2C depends on I2C
help help
Enable driver for AK8975 magnetometer. Enable driver for AK8975 magnetometer.
config AK8975_NAME config AK8975_NAME
string string "Driver name"
prompt "Driver name"
default "AK8975" default "AK8975"
depends on AK8975 depends on AK8975
help help
Device name with which the AK8975 sensor is identified. Device name with which the AK8975 sensor is identified.
config AK8975_I2C_ADDR config AK8975_I2C_ADDR
hex hex "I2C address"
prompt "I2C address"
depends on AK8975 depends on AK8975
default 0x0C default 0x0C
range 0x0C 0x0F range 0x0C 0x0F
@ -39,8 +36,7 @@ config AK8975_I2C_ADDR
needs to be 0x0C. needs to be 0x0C.
config AK8975_I2C_MASTER_DEV_NAME config AK8975_I2C_MASTER_DEV_NAME
string string "I2C master where AK8975 is connected"
prompt "I2C master where AK8975 is connected"
depends on AK8975 depends on AK8975
default "I2C_0" default "I2C_0"
help help
@ -48,16 +44,14 @@ config AK8975_I2C_MASTER_DEV_NAME
AK8975 chip is connected. AK8975 chip is connected.
config MPU9150 config MPU9150
bool bool "Enable MPU9180 support"
prompt "Enable MPU9180 support"
depends on AK8975 depends on AK8975
help help
Enable this config option if the AK8975 sensor is part of a Enable this config option if the AK8975 sensor is part of a
MPU9150 chip. MPU9150 chip.
config MPU9150_I2C_ADDR config MPU9150_I2C_ADDR
hex hex "MPU9180 I2C address"
prompt "MPU9180 I2C address"
depends on AK8975 && MPU9150 && !MPU6050 depends on AK8975 && MPU9150 && !MPU6050
range 0x68 0x69 range 0x68 0x69
default 0x68 default 0x68

View file

@ -19,8 +19,7 @@ config APDS9960_I2C_DEV_NAME
chip is connected. chip is connected.
config APDS9960_DRV_NAME config APDS9960_DRV_NAME
string string "Driver name"
prompt "Driver name"
default "APDS9960" default "APDS9960"
depends on APDS9960 depends on APDS9960
help help

View file

@ -7,8 +7,7 @@
# #
menuconfig BMA280 menuconfig BMA280
bool bool "BMA280 Three Axis Accelerometer Family"
prompt "BMA280 Three Axis Accelerometer Family"
depends on I2C depends on I2C
help help
Enable driver for BMA280 I2C-based triaxial accelerometer sensor Enable driver for BMA280 I2C-based triaxial accelerometer sensor
@ -22,22 +21,19 @@ choice
Choose desired chip type from the BMA280 family. Choose desired chip type from the BMA280 family.
config BMA280_CHIP_BMA280 config BMA280_CHIP_BMA280
bool bool "BMA280"
prompt "BMA280"
help help
Choose this option to enable the BMA280 chip. Choose this option to enable the BMA280 chip.
config BMA280_CHIP_BMC150_ACCEL config BMA280_CHIP_BMC150_ACCEL
bool bool "BMC150_ACCEL"
prompt "BMC150_ACCEL"
help help
Choose this option to enable the accelerometer of the BMC150 chip. Choose this option to enable the accelerometer of the BMC150 chip.
endchoice endchoice
config BMA280_NAME config BMA280_NAME
string string "Driver name"
prompt "Driver name"
default "BMA280" if BMA280_CHIP_BMA280 default "BMA280" if BMA280_CHIP_BMA280
default "BMC150_ACCEL" if BMA280_CHIP_BMC150_ACCEL default "BMC150_ACCEL" if BMA280_CHIP_BMC150_ACCEL
depends on BMA280 depends on BMA280
@ -58,8 +54,7 @@ config BMA280_I2C_ADDR
0x19: Use if the SDO pin is pulled to VDDIO. 0x19: Use if the SDO pin is pulled to VDDIO.
config BMA280_I2C_MASTER_DEV_NAME config BMA280_I2C_MASTER_DEV_NAME
string string "I2C master device name"
prompt "I2C master device name"
depends on BMA280 depends on BMA280
default "I2C_0" default "I2C_0"
help help
@ -74,18 +69,15 @@ choice
Specify the type of triggering to be used by the driver. Specify the type of triggering to be used by the driver.
config BMA280_TRIGGER_NONE config BMA280_TRIGGER_NONE
bool bool "No trigger"
prompt "No trigger"
config BMA280_TRIGGER_GLOBAL_THREAD config BMA280_TRIGGER_GLOBAL_THREAD
bool bool "Use global thread"
prompt "Use global thread"
depends on GPIO depends on GPIO
select BMA280_TRIGGER select BMA280_TRIGGER
config BMA280_TRIGGER_OWN_THREAD config BMA280_TRIGGER_OWN_THREAD
bool bool "Use own thread"
prompt "Use own thread"
depends on GPIO depends on GPIO
select BMA280_TRIGGER select BMA280_TRIGGER
@ -96,8 +88,7 @@ config BMA280_TRIGGER
depends on BMA280 depends on BMA280
config BMA280_GPIO_DEV_NAME config BMA280_GPIO_DEV_NAME
string string "GPIO device"
prompt "GPIO device"
default "GPIO_0" default "GPIO_0"
depends on BMA280 && BMA280_TRIGGER depends on BMA280 && BMA280_TRIGGER
help help
@ -105,8 +96,7 @@ config BMA280_GPIO_DEV_NAME
are connected. are connected.
config BMA280_GPIO_PIN_NUM config BMA280_GPIO_PIN_NUM
int int "Interrupt GPIO pin number"
prompt "Interrupt GPIO pin number"
default 0 default 0
depends on BMA280 && BMA280_TRIGGER depends on BMA280 && BMA280_TRIGGER
help help
@ -114,16 +104,14 @@ config BMA280_GPIO_PIN_NUM
will be received. will be received.
config BMA280_THREAD_PRIORITY config BMA280_THREAD_PRIORITY
int int "Thread priority"
prompt "Thread priority"
depends on BMA280 && BMA280_TRIGGER_OWN_THREAD depends on BMA280 && BMA280_TRIGGER_OWN_THREAD
default 10 default 10
help help
Priority of thread used by the driver to handle interrupts. Priority of thread used by the driver to handle interrupts.
config BMA280_THREAD_STACK_SIZE config BMA280_THREAD_STACK_SIZE
int int "Thread stack size"
prompt "Thread stack size"
depends on BMA280 && BMA280_TRIGGER_OWN_THREAD depends on BMA280 && BMA280_TRIGGER_OWN_THREAD
default 1024 default 1024
help help
@ -137,20 +125,16 @@ choice
Measurement range for acceleration values. Measurement range for acceleration values.
config BMA280_PMU_RANGE_2G config BMA280_PMU_RANGE_2G
bool bool "+/-2g"
prompt "+/-2g"
config BMA280_PMU_RANGE_4G config BMA280_PMU_RANGE_4G
bool bool "+/-4g"
prompt "+/-4g"
config BMA280_PMU_RANGE_8G config BMA280_PMU_RANGE_8G
bool bool "+/-8g"
prompt "+/-8g"
config BMA280_PMU_RANGE_16G config BMA280_PMU_RANGE_16G
bool bool "+/-16g"
prompt "+/-16g"
endchoice endchoice
@ -162,35 +146,27 @@ choice
Bandwidth of filtered acceleration data. Bandwidth of filtered acceleration data.
config BMA280_PMU_BW_1 config BMA280_PMU_BW_1
bool bool "7.81Hz"
prompt "7.81Hz"
config BMA280_PMU_BW_2 config BMA280_PMU_BW_2
bool bool "15.63HZ"
prompt "15.63HZ"
config BMA280_PMU_BW_3 config BMA280_PMU_BW_3
bool bool "31.25Hz"
prompt "31.25Hz"
config BMA280_PMU_BW_4 config BMA280_PMU_BW_4
bool bool "62.5Hz"
prompt "62.5Hz"
config BMA280_PMU_BW_5 config BMA280_PMU_BW_5
bool bool "125Hz"
prompt "125Hz"
config BMA280_PMU_BW_6 config BMA280_PMU_BW_6
bool bool "250HZ"
prompt "250HZ"
config BMA280_PMU_BW_7 config BMA280_PMU_BW_7
bool bool "500Hz"
prompt "500Hz"
config BMA280_PMU_BW_8 config BMA280_PMU_BW_8
bool bool "unfiltered"
prompt "unfiltered"
endchoice endchoice

View file

@ -47,20 +47,16 @@ choice
frequency). frequency).
config BMC150_MAGN_PRESET_LOW_POWER config BMC150_MAGN_PRESET_LOW_POWER
bool bool "Low power (3, 3, 10)"
prompt "Low power (3, 3, 10)"
config BMC150_MAGN_PRESET_REGULAR config BMC150_MAGN_PRESET_REGULAR
bool bool "Regular (9, 15, 10)"
prompt "Regular (9, 15, 10)"
config BMC150_MAGN_PRESET_ENHANCED_REGULAR config BMC150_MAGN_PRESET_ENHANCED_REGULAR
bool bool "Enhanced regular (15, 27, 10)"
prompt "Enhanced regular (15, 27, 10)"
config BMC150_MAGN_PRESET_HIGH_ACCURACY config BMC150_MAGN_PRESET_HIGH_ACCURACY
bool bool "High accuracy (47, 83, 20)"
prompt "High accuracy (47, 83, 20)"
endchoice endchoice
@ -112,9 +108,8 @@ config BMC150_MAGN_GPIO_DRDY_DEV_NAME
is connected to. is connected to.
config BMC150_MAGN_GPIO_DRDY_INT_PIN config BMC150_MAGN_GPIO_DRDY_INT_PIN
int int "GPIO pin number for the data ready interrupt pin"
default 3 default 3
depends on BMC150_MAGN_TRIGGER_DRDY depends on BMC150_MAGN_TRIGGER_DRDY
prompt "GPIO pin number for the data ready interrupt pin"
help help
GPIO pin number for the data ready interrupt pin. GPIO pin number for the data ready interrupt pin.

View file

@ -58,8 +58,7 @@ choice
Specify the type of triggering to be used by the driver. Specify the type of triggering to be used by the driver.
config BMG160_TRIGGER_NONE config BMG160_TRIGGER_NONE
bool bool "No trigger"
prompt "No trigger"
config BMG160_TRIGGER_GLOBAL_THREAD config BMG160_TRIGGER_GLOBAL_THREAD
bool "Use global thread" bool "Use global thread"

View file

@ -47,8 +47,7 @@ choice
Specify the type of triggering to be used by the driver. Specify the type of triggering to be used by the driver.
config BMI160_TRIGGER_NONE config BMI160_TRIGGER_NONE
bool bool "No trigger"
prompt "No trigger"
config BMI160_TRIGGER_GLOBAL_THREAD config BMI160_TRIGGER_GLOBAL_THREAD
bool "Use global thread" bool "Use global thread"

View file

@ -7,8 +7,7 @@
# #
menuconfig CCS811 menuconfig CCS811
bool bool "CCS811 Digital Gas Sensor"
prompt "CCS811 Digital Gas Sensor"
depends on I2C depends on I2C
help help
Enable driver for CCS811 Gas sensors. Enable driver for CCS811 Gas sensors.
@ -16,16 +15,14 @@ menuconfig CCS811
if !HAS_DTS_I2C_DEVICE if !HAS_DTS_I2C_DEVICE
config CCS811_NAME config CCS811_NAME
string string "Driver name"
prompt "Driver name"
default "CCS811" default "CCS811"
depends on CCS811 depends on CCS811
help help
Device name with which the CCS811 sensor is identified. Device name with which the CCS811 sensor is identified.
config CCS811_I2C_ADDR config CCS811_I2C_ADDR
hex hex "I2C address for CCS811 Sensor"
prompt "I2C address for CCS811 Sensor"
depends on CCS811 depends on CCS811
range 0x5a 0x5b range 0x5a 0x5b
default "0x5b" default "0x5b"
@ -35,8 +32,7 @@ config CCS811_I2C_ADDR
0x5b: I2C_ADDR connected to VDD. 0x5b: I2C_ADDR connected to VDD.
config CCS811_I2C_MASTER_DEV_NAME config CCS811_I2C_MASTER_DEV_NAME
string string "I2C master where CCS811 is connected"
prompt "I2C master where CCS811 is connected"
depends on CCS811 depends on CCS811
default "I2C_1" default "I2C_1"
help help
@ -46,8 +42,7 @@ config CCS811_I2C_MASTER_DEV_NAME
endif endif
config CCS811_GPIO_DEV_NAME config CCS811_GPIO_DEV_NAME
string string "GPIO device"
prompt "GPIO device"
default "GPIOC" default "GPIOC"
depends on CCS811 depends on CCS811
help help
@ -55,15 +50,13 @@ config CCS811_GPIO_DEV_NAME
pin is connected. pin is connected.
config CCS811_GPIO_WAKEUP config CCS811_GPIO_WAKEUP
bool bool "Enable GPIO Wakeup for CCS811"
prompt "Enable GPIO Wakeup for CCS811"
depends on CCS811 depends on CCS811
help help
Enable GPIO Wakeup support for CCS811 Enable GPIO Wakeup support for CCS811
config CCS811_GPIO_WAKEUP_PIN_NUM config CCS811_GPIO_WAKEUP_PIN_NUM
int int "GPIO Wakeup pin number"
prompt "GPIO Wakeup pin number"
default 0 default 0
depends on CCS811 && CCS811_GPIO_WAKEUP depends on CCS811 && CCS811_GPIO_WAKEUP
help help
@ -71,15 +64,13 @@ config CCS811_GPIO_WAKEUP_PIN_NUM
is connected is connected
config CCS811_GPIO_RESET config CCS811_GPIO_RESET
bool bool "Enable GPIO Reset for CCS811"
prompt "Enable GPIO Reset for CCS811"
depends on CCS811 depends on CCS811
help help
Enable GPIO Reset support for CCS811 Enable GPIO Reset support for CCS811
config CCS811_GPIO_RESET_PIN_NUM config CCS811_GPIO_RESET_PIN_NUM
int int "GPIO Reset pin number"
prompt "GPIO Reset pin number"
default 0 default 0
depends on CCS811 && CCS811_GPIO_RESET depends on CCS811 && CCS811_GPIO_RESET
help help

View file

@ -7,8 +7,7 @@
# #
menuconfig DHT menuconfig DHT
bool bool "DHT Temperature and Humidity Sensor"
prompt "DHT Temperature and Humidity Sensor"
depends on GPIO depends on GPIO
help help
Enable driver for the DHT temperature and humidity sensor family. Enable driver for the DHT temperature and humidity sensor family.
@ -21,22 +20,19 @@ choice
Choose desired chip type from the DHT family. Choose desired chip type from the DHT family.
config DHT_CHIP_DHT11 config DHT_CHIP_DHT11
bool bool "DHT11"
prompt "DHT11"
help help
Choose this option to enable the DHT11 chip. Choose this option to enable the DHT11 chip.
config DHT_CHIP_DHT22 config DHT_CHIP_DHT22
bool bool "DHT22"
prompt "DHT22"
help help
Choose this option to enable the DHT22 chip. Choose this option to enable the DHT22 chip.
endchoice endchoice
config DHT_NAME config DHT_NAME
string string "Driver name"
prompt "Driver name"
default "DHT11" if DHT_CHIP_DHT11 default "DHT11" if DHT_CHIP_DHT11
default "DHT22" if DHT_CHIP_DHT22 default "DHT22" if DHT_CHIP_DHT22
depends on DHT depends on DHT
@ -44,8 +40,7 @@ config DHT_NAME
Device name with which the sensor is identified. Device name with which the sensor is identified.
config DHT_GPIO_DEV_NAME config DHT_GPIO_DEV_NAME
string string "GPIO device"
prompt "GPIO device"
default "GPIO_0" default "GPIO_0"
depends on DHT depends on DHT
help help
@ -53,8 +48,7 @@ config DHT_GPIO_DEV_NAME
is connected. is connected.
config DHT_GPIO_PIN_NUM config DHT_GPIO_PIN_NUM
int int "Interrupt GPIO pin number"
prompt "Interrupt GPIO pin number"
default 0 default 0
depends on DHT depends on DHT
help help

View file

@ -7,23 +7,20 @@
# #
menuconfig HDC1008 menuconfig HDC1008
bool bool "HDC1008 Temperature and Humidity Sensor"
prompt "HDC1008 Temperature and Humidity Sensor"
depends on I2C && GPIO depends on I2C && GPIO
help help
Enable driver for HDC1008 temperature and humidity sensors. Enable driver for HDC1008 temperature and humidity sensors.
config HDC1008_NAME config HDC1008_NAME
string string "Driver name"
prompt "Driver name"
default "HDC1008" default "HDC1008"
depends on HDC1008 depends on HDC1008
help help
Device name with which the HDC1008 sensor is identified. Device name with which the HDC1008 sensor is identified.
config HDC1008_I2C_ADDR config HDC1008_I2C_ADDR
hex hex "I2C Address for HDC1008"
prompt "I2C Address for HDC1008"
depends on HDC1008 depends on HDC1008
default "0x40" default "0x40"
help help
@ -33,8 +30,7 @@ config HDC1008_I2C_ADDR
0x43: A0 connected VDD and A1 connected to VDD. 0x43: A0 connected VDD and A1 connected to VDD.
config HDC1008_I2C_MASTER_DEV_NAME config HDC1008_I2C_MASTER_DEV_NAME
string string "I2C master where HDC1008 is connected"
prompt "I2C master where HDC1008 is connected"
depends on HDC1008 depends on HDC1008
default "I2C_0" default "I2C_0"
help help
@ -42,8 +38,7 @@ config HDC1008_I2C_MASTER_DEV_NAME
HDC1008 chip is connected. HDC1008 chip is connected.
config HDC1008_GPIO_DEV_NAME config HDC1008_GPIO_DEV_NAME
string string "GPIO device"
prompt "GPIO device"
default "GPIO_0" default "GPIO_0"
depends on HDC1008 depends on HDC1008
help help
@ -51,8 +46,7 @@ config HDC1008_GPIO_DEV_NAME
pin is connected. pin is connected.
config HDC1008_GPIO_PIN_NUM config HDC1008_GPIO_PIN_NUM
int int "Interrupt GPIO pin number"
prompt "Interrupt GPIO pin number"
default 0 default 0
depends on HDC1008 depends on HDC1008
help help

View file

@ -5,23 +5,20 @@
# #
menuconfig HMC5883L menuconfig HMC5883L
bool bool "HMC5883L magnetometer"
prompt "HMC5883L magnetometer"
depends on I2C depends on I2C
help help
Enable driver for HMC5883L I2C-based magnetometer. Enable driver for HMC5883L I2C-based magnetometer.
config HMC5883L_NAME config HMC5883L_NAME
string string "Driver name"
prompt "Driver name"
default "HMC5883L" default "HMC5883L"
depends on HMC5883L depends on HMC5883L
help help
Device name with which the HMC5883L sensor is identified. Device name with which the HMC5883L sensor is identified.
config HMC5883L_I2C_MASTER_DEV_NAME config HMC5883L_I2C_MASTER_DEV_NAME
string string "I2C master where HMC5883L is connected"
prompt "I2C master where HMC5883L is connected"
depends on HMC5883L depends on HMC5883L
default "I2C_0" default "I2C_0"
help help
@ -36,18 +33,15 @@ choice
Specify the type of triggering to be used by the driver. Specify the type of triggering to be used by the driver.
config HMC5883L_TRIGGER_NONE config HMC5883L_TRIGGER_NONE
bool bool "No trigger"
prompt "No trigger"
config HMC5883L_TRIGGER_GLOBAL_THREAD config HMC5883L_TRIGGER_GLOBAL_THREAD
bool bool "Use global thread"
prompt "Use global thread"
depends on GPIO depends on GPIO
select HMC5883L_TRIGGER select HMC5883L_TRIGGER
config HMC5883L_TRIGGER_OWN_THREAD config HMC5883L_TRIGGER_OWN_THREAD
bool bool "Use own thread"
prompt "Use own thread"
depends on GPIO depends on GPIO
select HMC5883L_TRIGGER select HMC5883L_TRIGGER
@ -58,8 +52,7 @@ config HMC5883L_TRIGGER
depends on HMC5883L depends on HMC5883L
config HMC5883L_GPIO_DEV_NAME config HMC5883L_GPIO_DEV_NAME
string string "GPIO device"
prompt "GPIO device"
default "GPIO_0" default "GPIO_0"
depends on HMC5883L && HMC5883L_TRIGGER depends on HMC5883L && HMC5883L_TRIGGER
help help
@ -67,8 +60,7 @@ config HMC5883L_GPIO_DEV_NAME
pin is connected. pin is connected.
config HMC5883L_GPIO_PIN_NUM config HMC5883L_GPIO_PIN_NUM
int int "Interrupt GPIO pin number"
prompt "Interrupt GPIO pin number"
default 0 default 0
depends on HMC5883L && HMC5883L_TRIGGER depends on HMC5883L && HMC5883L_TRIGGER
help help
@ -76,24 +68,21 @@ config HMC5883L_GPIO_PIN_NUM
HMC5883L chip will be received. HMC5883L chip will be received.
config HMC5883L_THREAD_PRIORITY config HMC5883L_THREAD_PRIORITY
int int "Thread priority"
prompt "Thread priority"
depends on HMC5883L && HMC5883L_TRIGGER_OWN_THREAD depends on HMC5883L && HMC5883L_TRIGGER_OWN_THREAD
default 10 default 10
help help
Priority of thread used by the driver to handle interrupts. Priority of thread used by the driver to handle interrupts.
config HMC5883L_THREAD_STACK_SIZE config HMC5883L_THREAD_STACK_SIZE
int int "Thread stack size"
prompt "Thread stack size"
depends on HMC5883L && HMC5883L_TRIGGER_OWN_THREAD depends on HMC5883L && HMC5883L_TRIGGER_OWN_THREAD
default 1024 default 1024
help help
Stack size of thread used by the driver to handle interrupts. Stack size of thread used by the driver to handle interrupts.
config HMC5883L_ODR config HMC5883L_ODR
string string "Output data rate"
prompt "Output data rate"
depends on HMC5883L depends on HMC5883L
default "15" default "15"
help help
@ -102,8 +91,7 @@ config HMC5883L_ODR
and 75. and 75.
config HMC5883L_FS config HMC5883L_FS
string string "Full-scale range"
prompt "Full-scale range"
depends on HMC5883L depends on HMC5883L
default "1.3" default "1.3"
help help

View file

@ -5,8 +5,7 @@
# #
menuconfig HTS221 menuconfig HTS221
bool bool "HTS221 temperature and humidity sensor"
prompt "HTS221 temperature and humidity sensor"
depends on I2C depends on I2C
help help
Enable driver for HTS221 I2C-based temperature and humidity sensor. Enable driver for HTS221 I2C-based temperature and humidity sensor.
@ -14,16 +13,14 @@ menuconfig HTS221
if !HAS_DTS_I2C_DEVICE if !HAS_DTS_I2C_DEVICE
config HTS221_NAME config HTS221_NAME
string string "Driver name"
prompt "Driver name"
default "HTS221" default "HTS221"
depends on HTS221 depends on HTS221
help help
Device name with which the HTS221 sensor is identified. Device name with which the HTS221 sensor is identified.
config HTS221_I2C_MASTER_DEV_NAME config HTS221_I2C_MASTER_DEV_NAME
string string "I2C master where HTS221 is connected"
prompt "I2C master where HTS221 is connected"
depends on HTS221 depends on HTS221
default "I2C_0" default "I2C_0"
help help
@ -40,18 +37,15 @@ choice
Specify the type of triggering to be used by the driver. Specify the type of triggering to be used by the driver.
config HTS221_TRIGGER_NONE config HTS221_TRIGGER_NONE
bool bool "No trigger"
prompt "No trigger"
config HTS221_TRIGGER_GLOBAL_THREAD config HTS221_TRIGGER_GLOBAL_THREAD
bool bool "Use global thread"
prompt "Use global thread"
depends on GPIO depends on GPIO
select HTS221_TRIGGER select HTS221_TRIGGER
config HTS221_TRIGGER_OWN_THREAD config HTS221_TRIGGER_OWN_THREAD
bool bool "Use own thread"
prompt "Use own thread"
depends on GPIO depends on GPIO
select HTS221_TRIGGER select HTS221_TRIGGER
@ -62,8 +56,7 @@ config HTS221_TRIGGER
depends on HTS221 depends on HTS221
config HTS221_GPIO_DEV_NAME config HTS221_GPIO_DEV_NAME
string string "GPIO device"
prompt "GPIO device"
default "GPIO_0" default "GPIO_0"
depends on HTS221 && HTS221_TRIGGER depends on HTS221 && HTS221_TRIGGER
help help
@ -71,8 +64,7 @@ config HTS221_GPIO_DEV_NAME
is connected. is connected.
config HTS221_GPIO_PIN_NUM config HTS221_GPIO_PIN_NUM
int int "Interrupt GPIO pin number"
prompt "Interrupt GPIO pin number"
default 0 default 0
depends on HTS221 && HTS221_TRIGGER depends on HTS221 && HTS221_TRIGGER
help help
@ -80,24 +72,21 @@ config HTS221_GPIO_PIN_NUM
chip will be received. chip will be received.
config HTS221_THREAD_PRIORITY config HTS221_THREAD_PRIORITY
int int "Thread priority"
prompt "Thread priority"
depends on HTS221 && HTS221_TRIGGER_OWN_THREAD depends on HTS221 && HTS221_TRIGGER_OWN_THREAD
default 10 default 10
help help
Priority of thread used by the driver to handle interrupts. Priority of thread used by the driver to handle interrupts.
config HTS221_THREAD_STACK_SIZE config HTS221_THREAD_STACK_SIZE
int int "Thread stack size"
prompt "Thread stack size"
depends on HTS221 && HTS221_TRIGGER_OWN_THREAD depends on HTS221 && HTS221_TRIGGER_OWN_THREAD
default 1024 default 1024
help help
Stack size of thread used by the driver to handle interrupts. Stack size of thread used by the driver to handle interrupts.
config HTS221_ODR config HTS221_ODR
string string "Output data rate"
prompt "Output data rate"
depends on HTS221 depends on HTS221
default "1" default "1"
help help

View file

@ -7,23 +7,20 @@
# #
menuconfig ISL29035 menuconfig ISL29035
bool bool "ISL29035 light sensor"
prompt "ISL29035 light sensor"
depends on I2C depends on I2C
help help
Enable driver for the ISL29035 light sensor. Enable driver for the ISL29035 light sensor.
config ISL29035_NAME config ISL29035_NAME
string string "Driver name"
prompt "Driver name"
default "ISL29035" default "ISL29035"
depends on ISL29035 depends on ISL29035
help help
Device name with which the ISL29035 sensor is identified. Device name with which the ISL29035 sensor is identified.
config ISL29035_I2C_MASTER_DEV_NAME config ISL29035_I2C_MASTER_DEV_NAME
string string "I2C Master"
prompt "I2C Master"
depends on ISL29035 depends on ISL29035
default "I2C_0" default "I2C_0"
help help
@ -31,8 +28,7 @@ config ISL29035_I2C_MASTER_DEV_NAME
chip is connected. chip is connected.
config ISL29035_THREAD_PRIORITY config ISL29035_THREAD_PRIORITY
int int "Thread priority"
prompt "Thread priority"
depends on ISL29035 depends on ISL29035
default 10 default 10
help help
@ -47,20 +43,16 @@ choice
resolution. resolution.
config ISL29035_LUX_RANGE_1K config ISL29035_LUX_RANGE_1K
bool bool "1000"
prompt "1000"
config ISL29035_LUX_RANGE_4K config ISL29035_LUX_RANGE_4K
bool bool "4000"
prompt "4000"
config ISL29035_LUX_RANGE_16K config ISL29035_LUX_RANGE_16K
bool bool "16000"
prompt "16000"
config ISL29035_LUX_RANGE_64K config ISL29035_LUX_RANGE_64K
bool bool "64000"
prompt "64000"
endchoice endchoice
@ -73,20 +65,16 @@ choice
Lower integration time values mean lower ADC resolution. Lower integration time values mean lower ADC resolution.
config ISL29035_INTEGRATION_TIME_26 config ISL29035_INTEGRATION_TIME_26
bool bool "0.0256 ms"
prompt "0.0256 ms"
config ISL29035_INTEGRATION_TIME_410 config ISL29035_INTEGRATION_TIME_410
bool bool "0.41 ms"
prompt "0.41 ms"
config ISL29035_INTEGRATION_TIME_6500 config ISL29035_INTEGRATION_TIME_6500
bool bool "6.5 ms"
prompt "6.5 ms"
config ISL29035_INTEGRATION_TIME_105K config ISL29035_INTEGRATION_TIME_105K
bool bool "105 ms"
prompt "105 ms"
endchoice endchoice
@ -99,14 +87,12 @@ choice
configured either for either ambient light or infrared sensing. configured either for either ambient light or infrared sensing.
config ISL29035_MODE_ALS config ISL29035_MODE_ALS
bool bool "ambient light"
prompt "ambient light"
help help
Sensing mode for ambient light spectrum. Sensing mode for ambient light spectrum.
config ISL29035_MODE_IR config ISL29035_MODE_IR
bool bool "infrared"
prompt "infrared"
help help
Sensing mode for infrared spectrum. Sensing mode for infrared spectrum.
@ -121,18 +107,15 @@ choice
Only available for ambient light sensing mode. Only available for ambient light sensing mode.
config ISL29035_TRIGGER_NONE config ISL29035_TRIGGER_NONE
bool bool "No trigger"
prompt "No trigger"
config ISL29035_TRIGGER_GLOBAL_THREAD config ISL29035_TRIGGER_GLOBAL_THREAD
bool bool "Use global thread"
prompt "Use global thread"
depends on GPIO depends on GPIO
select ISL29035_TRIGGER select ISL29035_TRIGGER
config ISL29035_TRIGGER_OWN_THREAD config ISL29035_TRIGGER_OWN_THREAD
bool bool "Use own thread"
prompt "Use own thread"
depends on GPIO depends on GPIO
select ISL29035_TRIGGER select ISL29035_TRIGGER
@ -143,8 +126,7 @@ config ISL29035_TRIGGER
depends on ISL29035 depends on ISL29035
config ISL29035_GPIO_DEV_NAME config ISL29035_GPIO_DEV_NAME
string string "GPIO device"
prompt "GPIO device"
default "GPIO_0" default "GPIO_0"
depends on ISL29035 && ISL29035_TRIGGER depends on ISL29035 && ISL29035_TRIGGER
help help
@ -152,8 +134,7 @@ config ISL29035_GPIO_DEV_NAME
pin is connected. pin is connected.
config ISL29035_GPIO_PIN_NUM config ISL29035_GPIO_PIN_NUM
int int "GPIO pin number"
prompt "GPIO pin number"
default 0 default 0
depends on ISL29035 && ISL29035_TRIGGER depends on ISL29035 && ISL29035_TRIGGER
help help
@ -161,16 +142,14 @@ config ISL29035_GPIO_PIN_NUM
connected. connected.
config ISL29035_THREAD_PRIORITY config ISL29035_THREAD_PRIORITY
int int "Thread priority"
prompt "Thread priority"
depends on ISL29035 && ISL29035_TRIGGER_OWN_THREAD depends on ISL29035 && ISL29035_TRIGGER_OWN_THREAD
default 10 default 10
help help
Priority of thread used by the driver to handle interrupts. Priority of thread used by the driver to handle interrupts.
config ISL29035_THREAD_STACK_SIZE config ISL29035_THREAD_STACK_SIZE
int int "Thread stack size"
prompt "Thread stack size"
depends on ISL29035 && ISL29035_TRIGGER_OWN_THREAD depends on ISL29035 && ISL29035_TRIGGER_OWN_THREAD
default 1024 default 1024
help help
@ -186,19 +165,15 @@ choice
to be triggered. to be triggered.
config ISL29035_INT_PERSIST_1 config ISL29035_INT_PERSIST_1
bool bool "1"
prompt "1"
config ISL29035_INT_PERSIST_4 config ISL29035_INT_PERSIST_4
bool bool "4"
prompt "4"
config ISL29035_INT_PERSIST_8 config ISL29035_INT_PERSIST_8
bool bool "8"
prompt "8"
config ISL29035_INT_PERSIST_16 config ISL29035_INT_PERSIST_16
bool bool "16"
prompt "16"
endchoice endchoice

View file

@ -7,8 +7,7 @@
# #
menuconfig LIS2DH menuconfig LIS2DH
bool bool "LIS2DH Three Axis Accelerometer"
prompt "LIS2DH Three Axis Accelerometer"
depends on I2C || SPI depends on I2C || SPI
help help
Enable driver for LIS2DH SPI/I2C-based triaxial accelerometer sensor. 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. 0x19: Choose this option if the SDO pin is pulled to VDDIO.
config LIS2DH_I2C_MASTER_DEV_NAME config LIS2DH_I2C_MASTER_DEV_NAME
string string "I2C master where LIS2DH is connected"
prompt "I2C master where LIS2DH is connected"
depends on LIS2DH && LIS2DH_BUS_I2C depends on LIS2DH && LIS2DH_BUS_I2C
default "I2C_0" default "I2C_0"
help help

View file

@ -7,23 +7,20 @@
# #
menuconfig LIS3DH menuconfig LIS3DH
bool bool "LIS3DH Three Axis Accelerometer"
prompt "LIS3DH Three Axis Accelerometer"
depends on I2C depends on I2C
help help
Enable driver for LIS3DH I2C-based triaxial accelerometer sensor. Enable driver for LIS3DH I2C-based triaxial accelerometer sensor.
config LIS3DH_NAME config LIS3DH_NAME
string string "Driver name"
prompt "Driver name"
default "LIS3DH" default "LIS3DH"
depends on LIS3DH depends on LIS3DH
help help
Device name with which the LIS3DH sensor is identified. Device name with which the LIS3DH sensor is identified.
config LIS3DH_I2C_ADDR config LIS3DH_I2C_ADDR
hex hex "LIS3DH I2C address"
prompt "LIS3DH I2C address"
depends on LIS3DH depends on LIS3DH
default 0x18 default 0x18
help help
@ -33,8 +30,7 @@ config LIS3DH_I2C_ADDR
0x19: Choose this option if the SDO pin is pulled to VDDIO. 0x19: Choose this option if the SDO pin is pulled to VDDIO.
config LIS3DH_I2C_MASTER_DEV_NAME config LIS3DH_I2C_MASTER_DEV_NAME
string string "I2C master where LIS3DH is connected"
prompt "I2C master where LIS3DH is connected"
depends on LIS3DH depends on LIS3DH
default "I2C_0" default "I2C_0"
help help
@ -49,18 +45,15 @@ choice
Specify the type of triggering to be used by the driver. Specify the type of triggering to be used by the driver.
config LIS3DH_TRIGGER_NONE config LIS3DH_TRIGGER_NONE
bool bool "No trigger"
prompt "No trigger"
config LIS3DH_TRIGGER_GLOBAL_THREAD config LIS3DH_TRIGGER_GLOBAL_THREAD
bool bool "Use global thread"
prompt "Use global thread"
depends on GPIO depends on GPIO
select LIS3DH_TRIGGER select LIS3DH_TRIGGER
config LIS3DH_TRIGGER_OWN_THREAD config LIS3DH_TRIGGER_OWN_THREAD
bool bool "Use own thread"
prompt "Use own thread"
depends on GPIO depends on GPIO
select LIS3DH_TRIGGER select LIS3DH_TRIGGER
@ -71,8 +64,7 @@ config LIS3DH_TRIGGER
depends on LIS3DH depends on LIS3DH
config LIS3DH_GPIO_DEV_NAME config LIS3DH_GPIO_DEV_NAME
string string "GPIO device"
prompt "GPIO device"
default "GPIO_0" default "GPIO_0"
depends on LIS3DH && LIS3DH_TRIGGER depends on LIS3DH && LIS3DH_TRIGGER
help help
@ -80,8 +72,7 @@ config LIS3DH_GPIO_DEV_NAME
are connected. are connected.
config LIS3DH_GPIO_PIN_NUM config LIS3DH_GPIO_PIN_NUM
int int "Interrupt GPIO pin number"
prompt "Interrupt GPIO pin number"
default 0 default 0
depends on LIS3DH && LIS3DH_TRIGGER depends on LIS3DH && LIS3DH_TRIGGER
help help
@ -89,16 +80,14 @@ config LIS3DH_GPIO_PIN_NUM
chip will be received. chip will be received.
config LIS3DH_THREAD_PRIORITY config LIS3DH_THREAD_PRIORITY
int int "Thread priority"
prompt "Thread priority"
depends on LIS3DH && LIS3DH_TRIGGER_OWN_THREAD depends on LIS3DH && LIS3DH_TRIGGER_OWN_THREAD
default 10 default 10
help help
Priority of thread used by the driver to handle interrupts. Priority of thread used by the driver to handle interrupts.
config LIS3DH_THREAD_STACK_SIZE config LIS3DH_THREAD_STACK_SIZE
int int "Thread stack size"
prompt "Thread stack size"
depends on LIS3DH && LIS3DH_TRIGGER_OWN_THREAD depends on LIS3DH && LIS3DH_TRIGGER_OWN_THREAD
default 1024 default 1024
help help
@ -112,20 +101,16 @@ choice
Measurement full scale range for acceleration values. Measurement full scale range for acceleration values.
config LIS3DH_ACCEL_RANGE_2G config LIS3DH_ACCEL_RANGE_2G
bool bool "+/-2g"
prompt "+/-2g"
config LIS3DH_ACCEL_RANGE_4G config LIS3DH_ACCEL_RANGE_4G
bool bool "+/-4g"
prompt "+/-4g"
config LIS3DH_ACCEL_RANGE_8G config LIS3DH_ACCEL_RANGE_8G
bool bool "+/-8g"
prompt "+/-8g"
config LIS3DH_ACCEL_RANGE_16G config LIS3DH_ACCEL_RANGE_16G
bool bool "+/-16g"
prompt "+/-16g"
endchoice endchoice
@ -137,12 +122,10 @@ choice
Choose between normal or low power operation mode for chip. Choose between normal or low power operation mode for chip.
config LIS3DH_POWER_MODE_NORMAL config LIS3DH_POWER_MODE_NORMAL
bool bool "normal"
prompt "normal"
config LIS3DH_POWER_MODE_LOW config LIS3DH_POWER_MODE_LOW
bool bool "low"
prompt "low"
endchoice endchoice
@ -154,46 +137,36 @@ choice
Data rate frequency of acceleration data. Data rate frequency of acceleration data.
config LIS3DH_ODR_1 config LIS3DH_ODR_1
bool bool "1Hz"
prompt "1Hz"
config LIS3DH_ODR_2 config LIS3DH_ODR_2
bool bool "10Hz"
prompt "10Hz"
config LIS3DH_ODR_3 config LIS3DH_ODR_3
bool bool "25Hz"
prompt "25Hz"
config LIS3DH_ODR_4 config LIS3DH_ODR_4
bool bool "50Hz"
prompt "50Hz"
config LIS3DH_ODR_5 config LIS3DH_ODR_5
bool bool "100Hz"
prompt "100Hz"
config LIS3DH_ODR_6 config LIS3DH_ODR_6
bool bool "200Hz"
prompt "200Hz"
config LIS3DH_ODR_7 config LIS3DH_ODR_7
bool bool "400Hz"
prompt "400Hz"
config LIS3DH_ODR_8 config LIS3DH_ODR_8
bool bool "1.6KHz"
prompt "1.6KHz"
depends on LIS3DH_POWER_MODE_LOW depends on LIS3DH_POWER_MODE_LOW
config LIS3DH_ODR_9_NORMAL config LIS3DH_ODR_9_NORMAL
bool bool "1.25KHz"
prompt "1.25KHz"
depends on LIS3DH_POWER_MODE_NORMAL depends on LIS3DH_POWER_MODE_NORMAL
config LIS3DH_ODR_9_LOW config LIS3DH_ODR_9_LOW
bool bool "5KHz"
prompt "5KHz"
depends on LIS3DH_POWER_MODE_LOW depends on LIS3DH_POWER_MODE_LOW
endchoice endchoice

View file

@ -5,8 +5,7 @@
# #
menuconfig LIS3MDL menuconfig LIS3MDL
bool bool "LIS3MDL magnetometer"
prompt "LIS3MDL magnetometer"
depends on I2C depends on I2C
help help
Enable driver for LIS3MDL I2C-based magnetometer. Enable driver for LIS3MDL I2C-based magnetometer.
@ -14,16 +13,14 @@ menuconfig LIS3MDL
if !HAS_DTS_I2C_DEVICE if !HAS_DTS_I2C_DEVICE
config LIS3MDL_NAME config LIS3MDL_NAME
string string "Driver name"
prompt "Driver name"
default "LIS3MDL" default "LIS3MDL"
depends on LIS3MDL depends on LIS3MDL
help help
Device name with which the LIS3MDL sensor is identified. Device name with which the LIS3MDL sensor is identified.
config LIS3MDL_I2C_ADDR config LIS3MDL_I2C_ADDR
hex hex "I2C address"
prompt "I2C address"
depends on LIS3MDL depends on LIS3MDL
default 0x1C default 0x1C
help help
@ -32,8 +29,7 @@ config LIS3MDL_I2C_ADDR
is pulled to VDD. is pulled to VDD.
config LIS3MDL_I2C_MASTER_DEV_NAME config LIS3MDL_I2C_MASTER_DEV_NAME
string string "I2C master where LIS3MDL is connected"
prompt "I2C master where LIS3MDL is connected"
depends on LIS3MDL depends on LIS3MDL
default "I2C_0" default "I2C_0"
help help
@ -50,18 +46,15 @@ choice
Specify the type of triggering to be used by the driver. Specify the type of triggering to be used by the driver.
config LIS3MDL_TRIGGER_NONE config LIS3MDL_TRIGGER_NONE
bool bool "No trigger"
prompt "No trigger"
config LIS3MDL_TRIGGER_GLOBAL_THREAD config LIS3MDL_TRIGGER_GLOBAL_THREAD
bool bool "Use global thread"
prompt "Use global thread"
depends on GPIO depends on GPIO
select LIS3MDL_TRIGGER select LIS3MDL_TRIGGER
config LIS3MDL_TRIGGER_OWN_THREAD config LIS3MDL_TRIGGER_OWN_THREAD
bool bool "Use own thread"
prompt "Use own thread"
depends on GPIO depends on GPIO
select LIS3MDL_TRIGGER select LIS3MDL_TRIGGER
@ -72,8 +65,7 @@ config LIS3MDL_TRIGGER
depends on LIS3MDL depends on LIS3MDL
config LIS3MDL_GPIO_DEV_NAME config LIS3MDL_GPIO_DEV_NAME
string string "GPIO device"
prompt "GPIO device"
default "GPIO_0" default "GPIO_0"
depends on LIS3MDL && LIS3MDL_TRIGGER depends on LIS3MDL && LIS3MDL_TRIGGER
help help
@ -81,8 +73,7 @@ config LIS3MDL_GPIO_DEV_NAME
are connected. are connected.
config LIS3MDL_GPIO_PIN_NUM config LIS3MDL_GPIO_PIN_NUM
int int "Interrupt GPIO pin number"
prompt "Interrupt GPIO pin number"
default 0 default 0
depends on LIS3MDL && LIS3MDL_TRIGGER depends on LIS3MDL && LIS3MDL_TRIGGER
help help
@ -90,24 +81,21 @@ config LIS3MDL_GPIO_PIN_NUM
chip will be received. chip will be received.
config LIS3MDL_THREAD_PRIORITY config LIS3MDL_THREAD_PRIORITY
int int "Thread priority"
prompt "Thread priority"
depends on LIS3MDL && LIS3MDL_TRIGGER_OWN_THREAD depends on LIS3MDL && LIS3MDL_TRIGGER_OWN_THREAD
default 10 default 10
help help
Priority of thread used by the driver to handle interrupts. Priority of thread used by the driver to handle interrupts.
config LIS3MDL_THREAD_STACK_SIZE config LIS3MDL_THREAD_STACK_SIZE
int int "Thread stack size"
prompt "Thread stack size"
depends on LIS3MDL && LIS3MDL_TRIGGER_OWN_THREAD depends on LIS3MDL && LIS3MDL_TRIGGER_OWN_THREAD
default 1024 default 1024
help help
Stack size of thread used by the driver to handle interrupts. Stack size of thread used by the driver to handle interrupts.
config LIS3MDL_ODR config LIS3MDL_ODR
string string "Output data rate"
prompt "Output data rate"
depends on LIS3MDL depends on LIS3MDL
default "0.625" default "0.625"
help help
@ -116,8 +104,7 @@ config LIS3MDL_ODR
40, 80, 155, 300, 560 and 1000. 40, 80, 155, 300, 560 and 1000.
config LIS3MDL_FS config LIS3MDL_FS
int int "Full-scale range"
prompt "Full-scale range"
depends on LIS3MDL depends on LIS3MDL
default 4 default 4
help help

View file

@ -5,8 +5,7 @@
# #
menuconfig LPS22HB menuconfig LPS22HB
bool bool "LPS22HB pressure and temperature"
prompt "LPS22HB pressure and temperature"
depends on I2C depends on I2C
help help
Enable driver for LPS22HB I2C-based pressure and temperature Enable driver for LPS22HB I2C-based pressure and temperature
@ -15,16 +14,14 @@ menuconfig LPS22HB
if !HAS_DTS_I2C_DEVICE if !HAS_DTS_I2C_DEVICE
config LPS22HB_DEV_NAME config LPS22HB_DEV_NAME
string string "Device name"
prompt "Device name"
default "LPS22HB" default "LPS22HB"
depends on LPS22HB depends on LPS22HB
help help
Device name used for LPS22HB sensor identification. Device name used for LPS22HB sensor identification.
config LPS22HB_I2C_ADDR config LPS22HB_I2C_ADDR
hex hex "I2C address"
prompt "I2C address"
depends on LPS22HB depends on LPS22HB
default 0x5D default 0x5D
range 0x5C 0x5D range 0x5C 0x5D
@ -34,8 +31,7 @@ config LPS22HB_I2C_ADDR
pin is pulled to VDD. pin is pulled to VDD.
config LPS22HB_I2C_MASTER_DEV_NAME config LPS22HB_I2C_MASTER_DEV_NAME
string string "I2C master where LPS22HB is connected"
prompt "I2C master where LPS22HB is connected"
depends on LPS22HB depends on LPS22HB
default I2C_0_NAME default I2C_0_NAME
help help
@ -48,8 +44,7 @@ menu "Attributes"
depends on LPS22HB depends on LPS22HB
config LPS22HB_SAMPLING_RATE config LPS22HB_SAMPLING_RATE
int int "Output data rate"
prompt "Output data rate"
depends on LPS22HB depends on LPS22HB
default 25 default 25
help help

View file

@ -5,8 +5,7 @@
# #
menuconfig LPS25HB menuconfig LPS25HB
bool bool "LPS25HB pressure and temperature"
prompt "LPS25HB pressure and temperature"
depends on I2C depends on I2C
help help
Enable driver for LPS25HB I2C-based pressure and temperature Enable driver for LPS25HB I2C-based pressure and temperature
@ -15,16 +14,14 @@ menuconfig LPS25HB
if !HAS_DTS_I2C_DEVICE if !HAS_DTS_I2C_DEVICE
config LPS25HB_DEV_NAME config LPS25HB_DEV_NAME
string string "Device name"
prompt "Device name"
default "lps25hb" default "lps25hb"
depends on LPS25HB depends on LPS25HB
help help
Device name with which the LPS25HB sensor is identified. Device name with which the LPS25HB sensor is identified.
config LPS25HB_I2C_ADDR config LPS25HB_I2C_ADDR
hex hex "I2C address"
prompt "I2C address"
depends on LPS25HB depends on LPS25HB
default "0x5C" default "0x5C"
help help
@ -33,8 +30,7 @@ config LPS25HB_I2C_ADDR
pin is pulled to VDD. pin is pulled to VDD.
config LPS25HB_I2C_MASTER_DEV_NAME config LPS25HB_I2C_MASTER_DEV_NAME
string string "I2C master where LPS25HB is connected"
prompt "I2C master where LPS25HB is connected"
depends on LPS25HB depends on LPS25HB
default "I2C_0" default "I2C_0"
help help
@ -47,8 +43,7 @@ menu "Attributes"
depends on LPS25HB depends on LPS25HB
config LPS25HB_SAMPLING_RATE config LPS25HB_SAMPLING_RATE
int int "Output data rate"
prompt "Output data rate"
depends on LPS25HB depends on LPS25HB
default 25 default 25
help help

View file

@ -22,8 +22,7 @@ config LSM6DS0_DEV_NAME
default "lsm6ds0" default "lsm6ds0"
config LSM6DS0_I2C_ADDR config LSM6DS0_I2C_ADDR
hex hex "LSM6DS0 I2C address"
prompt "LSM6DS0 I2C address"
depends on LSM6DS0 depends on LSM6DS0
default 0x6B default 0x6B
help help
@ -100,8 +99,7 @@ menu "Attributes"
depends on LSM6DS0 depends on LSM6DS0
config LSM6DS0_GYRO_FULLSCALE config LSM6DS0_GYRO_FULLSCALE
int int "Gyroscope full-scale range"
prompt "Gyroscope full-scale range"
depends on LSM6DS0 depends on LSM6DS0
default 245 default 245
help help
@ -110,8 +108,7 @@ config LSM6DS0_GYRO_FULLSCALE
second. Valid values are 245, 500 and 2000. second. Valid values are 245, 500 and 2000.
config LSM6DS0_GYRO_SAMPLING_RATE config LSM6DS0_GYRO_SAMPLING_RATE
int int "Output data rate"
prompt "Output data rate"
depends on LSM6DS0 depends on LSM6DS0
default 15 default 15
help help
@ -121,8 +118,7 @@ config LSM6DS0_GYRO_SAMPLING_RATE
952. 952.
config LSM6DS0_ACCEL_FULLSCALE config LSM6DS0_ACCEL_FULLSCALE
int int "Accelerometer full-scale range"
prompt "Accelerometer full-scale range"
depends on LSM6DS0 depends on LSM6DS0
default 2 default 2
help help
@ -131,8 +127,7 @@ config LSM6DS0_ACCEL_FULLSCALE
are 2, 4, 8 and 16. are 2, 4, 8 and 16.
config LSM6DS0_ACCEL_SAMPLING_RATE config LSM6DS0_ACCEL_SAMPLING_RATE
int int "Output data rate"
prompt "Output data rate"
depends on LSM6DS0 depends on LSM6DS0
default 10 default 10
help help

View file

@ -38,8 +38,7 @@ config LSM6DSL_DEV_NAME
if !HAS_DTS_I2C_DEVICE if !HAS_DTS_I2C_DEVICE
config LSM6DSL_I2C_ADDR config LSM6DSL_I2C_ADDR
hex hex "LSM6DSL I2C address"
prompt "LSM6DSL I2C address"
depends on LSM6DSL && LSM6DSL_I2C depends on LSM6DSL && LSM6DSL_I2C
default 0x6A default 0x6A
range 0x6A 0x6B range 0x6A 0x6B
@ -119,18 +118,15 @@ choice LSM6DSL_TRIGGER_MODE
Specify the type of triggering to be used by the driver. Specify the type of triggering to be used by the driver.
config LSM6DSL_TRIGGER_NONE config LSM6DSL_TRIGGER_NONE
bool bool "No trigger"
prompt "No trigger"
config LSM6DSL_TRIGGER_GLOBAL_THREAD config LSM6DSL_TRIGGER_GLOBAL_THREAD
bool bool "Use global thread"
prompt "Use global thread"
depends on GPIO depends on GPIO
select LSM6DSL_TRIGGER select LSM6DSL_TRIGGER
config LSM6DSL_TRIGGER_OWN_THREAD config LSM6DSL_TRIGGER_OWN_THREAD
bool bool "Use own thread"
prompt "Use own thread"
depends on GPIO depends on GPIO
select LSM6DSL_TRIGGER select LSM6DSL_TRIGGER
@ -143,16 +139,14 @@ config LSM6DSL_TRIGGER
if !HAS_DTS_SPI_PINS if !HAS_DTS_SPI_PINS
config LSM6DSL_GPIO_DEV_NAME config LSM6DSL_GPIO_DEV_NAME
string string "GPIO device"
prompt "GPIO device"
depends on LSM6DSL && LSM6DSL_TRIGGER depends on LSM6DSL && LSM6DSL_TRIGGER
help help
The device name of the GPIO device to which the LSM6DSL interrupt pin The device name of the GPIO device to which the LSM6DSL interrupt pin
is connected. is connected.
config LSM6DSL_GPIO_PIN_NUM config LSM6DSL_GPIO_PIN_NUM
int int "Interrupt GPIO pin number"
prompt "Interrupt GPIO pin number"
depends on LSM6DSL && LSM6DSL_TRIGGER depends on LSM6DSL && LSM6DSL_TRIGGER
help help
The number of the GPIO on which the interrupt signal from the LSM6DSL 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 endif #HAS_DTS_SPI_DEVICE
config LSM6DSL_THREAD_PRIORITY config LSM6DSL_THREAD_PRIORITY
int int "Thread priority"
prompt "Thread priority"
depends on LSM6DSL && LSM6DSL_TRIGGER_OWN_THREAD depends on LSM6DSL && LSM6DSL_TRIGGER_OWN_THREAD
default 10 default 10
help help
Priority of thread used by the driver to handle interrupts. Priority of thread used by the driver to handle interrupts.
config LSM6DSL_THREAD_STACK_SIZE config LSM6DSL_THREAD_STACK_SIZE
int int "Thread stack size"
prompt "Thread stack size"
depends on LSM6DSL && LSM6DSL_TRIGGER_OWN_THREAD depends on LSM6DSL && LSM6DSL_TRIGGER_OWN_THREAD
default 1024 default 1024
help help
@ -213,8 +205,7 @@ menu "Attributes"
depends on LSM6DSL depends on LSM6DSL
config LSM6DSL_GYRO_FS config LSM6DSL_GYRO_FS
int int "Gyroscope full-scale range"
prompt "Gyroscope full-scale range"
depends on LSM6DSL depends on LSM6DSL
default 0 default 0
help help
@ -249,8 +240,7 @@ config LSM6DSL_GYRO_ODR
10: 6660Hz 10: 6660Hz
config LSM6DSL_ACCEL_FS config LSM6DSL_ACCEL_FS
int int "Accelerometer full-scale range"
prompt "Accelerometer full-scale range"
depends on LSM6DSL depends on LSM6DSL
default 0 default 0
help help

View file

@ -18,8 +18,7 @@ config LSM9DS0_GYRO_DEV_NAME
default "lsm9ds0_gyro" default "lsm9ds0_gyro"
config LSM9DS0_GYRO_I2C_ADDR config LSM9DS0_GYRO_I2C_ADDR
hex hex "LSM9DS0_GYRO I2C slave address"
prompt "LSM9DS0_GYRO I2C slave address"
default 0x6A default 0x6A
depends on LSM9DS0_GYRO depends on LSM9DS0_GYRO
help help
@ -47,16 +46,13 @@ choice
Specify the default full-scale. Specify the default full-scale.
config LSM9DS0_GYRO_FULLSCALE_245 config LSM9DS0_GYRO_FULLSCALE_245
bool bool "245 DPS"
prompt "245 DPS"
config LSM9DS0_GYRO_FULLSCALE_500 config LSM9DS0_GYRO_FULLSCALE_500
bool bool "500 DPS"
prompt "500 DPS"
config LSM9DS0_GYRO_FULLSCALE_2000 config LSM9DS0_GYRO_FULLSCALE_2000
bool bool "2000 DPS"
prompt "2000 DPS"
endchoice endchoice
@ -74,20 +70,16 @@ choice
Specify the default sampling rate frequency. Specify the default sampling rate frequency.
config LSM9DS0_GYRO_SAMPLING_RATE_95 config LSM9DS0_GYRO_SAMPLING_RATE_95
bool bool "95 Hz"
prompt "95 Hz"
config LSM9DS0_GYRO_SAMPLING_RATE_190 config LSM9DS0_GYRO_SAMPLING_RATE_190
bool bool "190 Hz"
prompt "190 Hz"
config LSM9DS0_GYRO_SAMPLING_RATE_380 config LSM9DS0_GYRO_SAMPLING_RATE_380
bool bool "380 Hz"
prompt "380 Hz"
config LSM9DS0_GYRO_SAMPLING_RATE_760 config LSM9DS0_GYRO_SAMPLING_RATE_760
bool bool "760 Hz"
prompt "760 Hz"
endchoice endchoice
@ -123,7 +115,6 @@ config LSM9DS0_GYRO_GPIO_DRDY_DEV_NAME
is connected to. is connected to.
config LSM9DS0_GYRO_GPIO_DRDY_INT_PIN config LSM9DS0_GYRO_GPIO_DRDY_INT_PIN
int int "GPIO pin number for the data ready interrupt pin"
default 3 default 3
depends on LSM9DS0_GYRO_TRIGGER_DRDY depends on LSM9DS0_GYRO_TRIGGER_DRDY
prompt "GPIO pin number for the data ready interrupt pin"

View file

@ -70,48 +70,37 @@ choice
Specify the default sampling rate frequency for accelerometer. Specify the default sampling rate frequency for accelerometer.
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_0 config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_0
bool bool "0 Hz (power down)"
prompt "0 Hz (power down)"
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_3_125 config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_3_125
bool bool "3.125 Hz"
prompt "3.125 Hz"
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_6_25 config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_6_25
bool bool "6.25 Hz"
prompt "6.25 Hz"
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_12_5 config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_12_5
bool bool "12.5 Hz"
prompt "12.5 Hz"
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_25 config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_25
bool bool "25 Hz"
prompt "25 Hz"
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_50 config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_50
bool bool "50 Hz"
prompt "50 Hz"
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_100 config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_100
bool bool "100 Hz"
prompt "100 Hz"
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_200 config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_200
bool bool "200 Hz"
prompt "200 Hz"
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_400 config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_400
bool bool "400 Hz"
prompt "400 Hz"
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_800 config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_800
bool bool "800 Hz"
prompt "800 Hz"
config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_1600 config LSM9DS0_MFD_ACCEL_SAMPLING_RATE_1600
bool bool "1600 Hz"
prompt "1600 Hz"
endchoice endchoice
@ -130,24 +119,19 @@ choice
Specify the default full-scale for accelerometer. Specify the default full-scale for accelerometer.
config LSM9DS0_MFD_ACCEL_FULL_SCALE_2 config LSM9DS0_MFD_ACCEL_FULL_SCALE_2
bool bool "2G"
prompt "2G"
config LSM9DS0_MFD_ACCEL_FULL_SCALE_4 config LSM9DS0_MFD_ACCEL_FULL_SCALE_4
bool bool "4G"
prompt "4G"
config LSM9DS0_MFD_ACCEL_FULL_SCALE_6 config LSM9DS0_MFD_ACCEL_FULL_SCALE_6
bool bool "6G"
prompt "6G"
config LSM9DS0_MFD_ACCEL_FULL_SCALE_8 config LSM9DS0_MFD_ACCEL_FULL_SCALE_8
bool bool "8G"
prompt "8G"
config LSM9DS0_MFD_ACCEL_FULL_SCALE_16 config LSM9DS0_MFD_ACCEL_FULL_SCALE_16
bool bool "16G"
prompt "16G"
endchoice endchoice
@ -181,28 +165,22 @@ choice
Specify the default sampling rate frequency for magnetometer. Specify the default sampling rate frequency for magnetometer.
config LSM9DS0_MFD_MAGN_SAMPLING_RATE_3_125 config LSM9DS0_MFD_MAGN_SAMPLING_RATE_3_125
bool bool "3.125 Hz"
prompt "3.125 Hz"
config LSM9DS0_MFD_MAGN_SAMPLING_RATE_6_25 config LSM9DS0_MFD_MAGN_SAMPLING_RATE_6_25
bool bool "6.25 Hz"
prompt "6.25 Hz"
config LSM9DS0_MFD_MAGN_SAMPLING_RATE_12_5 config LSM9DS0_MFD_MAGN_SAMPLING_RATE_12_5
bool bool "12.5 Hz"
prompt "12.5 Hz"
config LSM9DS0_MFD_MAGN_SAMPLING_RATE_25 config LSM9DS0_MFD_MAGN_SAMPLING_RATE_25
bool bool "25 Hz"
prompt "25 Hz"
config LSM9DS0_MFD_MAGN_SAMPLING_RATE_50 config LSM9DS0_MFD_MAGN_SAMPLING_RATE_50
bool bool "50 Hz"
prompt "50 Hz"
config LSM9DS0_MFD_MAGN_SAMPLING_RATE_100 config LSM9DS0_MFD_MAGN_SAMPLING_RATE_100
bool bool "100 Hz"
prompt "100 Hz"
endchoice endchoice
@ -221,20 +199,16 @@ choice
Specify the default full-scale for magnetometer. Specify the default full-scale for magnetometer.
config LSM9DS0_MFD_MAGN_FULL_SCALE_2 config LSM9DS0_MFD_MAGN_FULL_SCALE_2
bool bool "2 Gauss"
prompt "2 Gauss"
config LSM9DS0_MFD_MAGN_FULL_SCALE_4 config LSM9DS0_MFD_MAGN_FULL_SCALE_4
bool bool "4 Gauss"
prompt "4 Gauss"
config LSM9DS0_MFD_MAGN_FULL_SCALE_8 config LSM9DS0_MFD_MAGN_FULL_SCALE_8
bool bool "8 Gauss"
prompt "8 Gauss"
config LSM9DS0_MFD_MAGN_FULL_SCALE_12 config LSM9DS0_MFD_MAGN_FULL_SCALE_12
bool bool "12 Gauss"
prompt "12 Gauss"
endchoice endchoice

View file

@ -6,8 +6,7 @@
# #
menuconfig MAX30101 menuconfig MAX30101
bool bool "MAX30101 Pulse Oximeter and Heart Rate Sensor"
prompt "MAX30101 Pulse Oximeter and Heart Rate Sensor"
depends on I2C depends on I2C
if MAX30101 if MAX30101
@ -15,13 +14,11 @@ if MAX30101
if !HAS_DTS_I2C_DEVICE if !HAS_DTS_I2C_DEVICE
config MAX30101_NAME config MAX30101_NAME
string string "Driver name"
prompt "Driver name"
default "MAX30101" default "MAX30101"
config MAX30101_I2C_NAME config MAX30101_I2C_NAME
string string "I2C device name"
prompt "I2C device name"
default "I2C_0" default "I2C_0"
endif # !HAS_DTS_I2C_DEVICE endif # !HAS_DTS_I2C_DEVICE

View file

@ -7,15 +7,13 @@
# #
menuconfig MAX44009 menuconfig MAX44009
bool bool "MAX44009 Light Sensor"
prompt "MAX44009 Light Sensor"
depends on I2C depends on I2C
help help
Enable driver for MAX44009 light sensors. Enable driver for MAX44009 light sensors.
config MAX44009_DRV_NAME config MAX44009_DRV_NAME
string string "Driver name"
prompt "Driver name"
default "MAX44009" default "MAX44009"
depends on MAX44009 depends on MAX44009
help help
@ -23,8 +21,7 @@ config MAX44009_DRV_NAME
config MAX44009_I2C_ADDR config MAX44009_I2C_ADDR
hex hex "MAX44009 I2C address"
prompt "MAX44009 I2C address"
depends on MAX44009 depends on MAX44009
default "0x4a" default "0x4a"
help help
@ -34,8 +31,7 @@ config MAX44009_I2C_ADDR
0x4b: A0 connected to VCC. 0x4b: A0 connected to VCC.
config MAX44009_I2C_DEV_NAME config MAX44009_I2C_DEV_NAME
string string "I2C master where MAX44009 is connected"
prompt "I2C master where MAX44009 is connected"
depends on MAX44009 depends on MAX44009
default "I2C_0" default "I2C_0"
help help

View file

@ -24,8 +24,7 @@ config MMA8451Q_I2C_NAME
default I2C_0_NAME default I2C_0_NAME
config MMA8451Q_I2C_ADDRESS config MMA8451Q_I2C_ADDRESS
hex hex "I2C address for MMA8451Q Sensor"
prompt "I2C address for MMA8451Q Sensor"
depends on MMA8451Q depends on MMA8451Q
default 0x1D default 0x1D
help help

View file

@ -7,23 +7,20 @@
# #
menuconfig MPU6050 menuconfig MPU6050
bool bool "MPU6050 Six-Axis Motion Tracking Device"
prompt "MPU6050 Six-Axis Motion Tracking Device"
depends on I2C depends on I2C
help help
Enable driver for MPU6050 I2C-based six-axis motion tracking device. Enable driver for MPU6050 I2C-based six-axis motion tracking device.
config MPU6050_NAME config MPU6050_NAME
string string "Driver name"
prompt "Driver name"
default "MPU6050" default "MPU6050"
depends on MPU6050 depends on MPU6050
help help
Device name with which the MPU6050 sensor is identified. Device name with which the MPU6050 sensor is identified.
config MPU6050_I2C_ADDR config MPU6050_I2C_ADDR
hex hex "I2C address"
prompt "I2C address"
depends on MPU6050 depends on MPU6050
default 0x68 default 0x68
range 0x68 0x69 range 0x68 0x69
@ -33,8 +30,7 @@ config MPU6050_I2C_ADDR
is pulled to VDD. is pulled to VDD.
config MPU6050_I2C_MASTER_DEV_NAME config MPU6050_I2C_MASTER_DEV_NAME
string string "I2C master where MPU6050 is connected"
prompt "I2C master where MPU6050 is connected"
depends on MPU6050 depends on MPU6050
default "I2C_0" default "I2C_0"
help help
@ -49,18 +45,15 @@ choice
Specify the type of triggering to be used by the driver. Specify the type of triggering to be used by the driver.
config MPU6050_TRIGGER_NONE config MPU6050_TRIGGER_NONE
bool bool "No trigger"
prompt "No trigger"
config MPU6050_TRIGGER_GLOBAL_THREAD config MPU6050_TRIGGER_GLOBAL_THREAD
bool bool "Use global thread"
prompt "Use global thread"
depends on GPIO depends on GPIO
select MPU6050_TRIGGER select MPU6050_TRIGGER
config MPU6050_TRIGGER_OWN_THREAD config MPU6050_TRIGGER_OWN_THREAD
bool bool "Use own thread"
prompt "Use own thread"
depends on GPIO depends on GPIO
select MPU6050_TRIGGER select MPU6050_TRIGGER
@ -71,8 +64,7 @@ config MPU6050_TRIGGER
depends on MPU6050 depends on MPU6050
config MPU6050_GPIO_DEV_NAME config MPU6050_GPIO_DEV_NAME
string string "GPIO device"
prompt "GPIO device"
default "GPIO_0" default "GPIO_0"
depends on MPU6050 && MPU6050_TRIGGER depends on MPU6050 && MPU6050_TRIGGER
help help
@ -80,8 +72,7 @@ config MPU6050_GPIO_DEV_NAME
is connected. is connected.
config MPU6050_GPIO_PIN_NUM config MPU6050_GPIO_PIN_NUM
int int "Interrupt GPIO pin number"
prompt "Interrupt GPIO pin number"
default 0 default 0
depends on MPU6050 && MPU6050_TRIGGER depends on MPU6050 && MPU6050_TRIGGER
help help
@ -89,24 +80,21 @@ config MPU6050_GPIO_PIN_NUM
chip will be received. chip will be received.
config MPU6050_THREAD_PRIORITY config MPU6050_THREAD_PRIORITY
int int "Thread priority"
prompt "Thread priority"
depends on MPU6050 && MPU6050_TRIGGER_OWN_THREAD depends on MPU6050 && MPU6050_TRIGGER_OWN_THREAD
default 10 default 10
help help
Priority of thread used by the driver to handle interrupts. Priority of thread used by the driver to handle interrupts.
config MPU6050_THREAD_STACK_SIZE config MPU6050_THREAD_STACK_SIZE
int int "Thread stack size"
prompt "Thread stack size"
depends on MPU6050 && MPU6050_TRIGGER_OWN_THREAD depends on MPU6050 && MPU6050_TRIGGER_OWN_THREAD
default 1024 default 1024
help help
Stack size of thread used by the driver to handle interrupts. Stack size of thread used by the driver to handle interrupts.
config MPU6050_ACCEL_FS config MPU6050_ACCEL_FS
int int "Accelerometer full-scale range"
prompt "Accelerometer full-scale range"
depends on MPU6050 depends on MPU6050
default 2 default 2
help help
@ -115,8 +103,7 @@ config MPU6050_ACCEL_FS
values are 2, 4, 8 and 16. values are 2, 4, 8 and 16.
config MPU6050_GYRO_FS config MPU6050_GYRO_FS
int int "Gyroscope full-scale range"
prompt "Gyroscope full-scale range"
depends on MPU6050 depends on MPU6050
default 250 default 250
help help

View file

@ -7,15 +7,13 @@
# #
menuconfig TEMP_NRF5 menuconfig TEMP_NRF5
bool bool "nRF5 Temperature Sensor"
prompt "nRF5 Temperature Sensor"
depends on SOC_FAMILY_NRF depends on SOC_FAMILY_NRF
help help
Enable driver for nRF5 temperature sensor. Enable driver for nRF5 temperature sensor.
config TEMP_NRF5_NAME config TEMP_NRF5_NAME
string string "Driver name"
prompt "Driver name"
default "TEMP_0" default "TEMP_0"
depends on TEMP_NRF5 depends on TEMP_NRF5
help help

View file

@ -7,15 +7,13 @@
# #
menuconfig SHT3XD menuconfig SHT3XD
bool bool "SHT3xD Temperature and Humidity Sensor"
prompt "SHT3xD Temperature and Humidity Sensor"
depends on I2C depends on I2C
help help
Enable driver for SHT3xD temperature and humidity sensors. Enable driver for SHT3xD temperature and humidity sensors.
config SHT3XD_NAME config SHT3XD_NAME
string string "Driver name"
prompt "Driver name"
default "SHT3XD" default "SHT3XD"
depends on SHT3XD depends on SHT3XD
help help
@ -32,8 +30,7 @@ config SHT3XD_I2C_ADDR
0x45: Choose this option if the ADDR pin is connected to VDD. 0x45: Choose this option if the ADDR pin is connected to VDD.
config SHT3XD_I2C_MASTER_DEV_NAME config SHT3XD_I2C_MASTER_DEV_NAME
string string "I2C master where SHT3xD is connected"
prompt "I2C master where SHT3xD is connected"
depends on SHT3XD depends on SHT3XD
default "I2C_0" default "I2C_0"
help help
@ -48,18 +45,15 @@ choice
Specify the type of triggering to be used by the driver. Specify the type of triggering to be used by the driver.
config SHT3XD_TRIGGER_NONE config SHT3XD_TRIGGER_NONE
bool bool "No trigger"
prompt "No trigger"
config SHT3XD_TRIGGER_GLOBAL_THREAD config SHT3XD_TRIGGER_GLOBAL_THREAD
bool bool "Use global thread"
prompt "Use global thread"
depends on GPIO depends on GPIO
select SHT3XD_TRIGGER select SHT3XD_TRIGGER
config SHT3XD_TRIGGER_OWN_THREAD config SHT3XD_TRIGGER_OWN_THREAD
bool bool "Use own thread"
prompt "Use own thread"
depends on GPIO depends on GPIO
select SHT3XD_TRIGGER select SHT3XD_TRIGGER
@ -70,8 +64,7 @@ config SHT3XD_TRIGGER
depends on SHT3XD depends on SHT3XD
config SHT3XD_GPIO_DEV_NAME config SHT3XD_GPIO_DEV_NAME
string string "GPIO device"
prompt "GPIO device"
default "GPIO_0" default "GPIO_0"
depends on SHT3XD && SHT3XD_TRIGGER depends on SHT3XD && SHT3XD_TRIGGER
help help
@ -79,8 +72,7 @@ config SHT3XD_GPIO_DEV_NAME
pins are connected. pins are connected.
config SHT3XD_GPIO_PIN_NUM config SHT3XD_GPIO_PIN_NUM
int int "Interrupt GPIO pin number"
prompt "Interrupt GPIO pin number"
default 0 default 0
depends on SHT3XD && SHT3XD_TRIGGER depends on SHT3XD && SHT3XD_TRIGGER
help help
@ -88,16 +80,14 @@ config SHT3XD_GPIO_PIN_NUM
SHT3xD chip will be received. SHT3xD chip will be received.
config SHT3XD_THREAD_PRIORITY config SHT3XD_THREAD_PRIORITY
int int "Thread priority"
prompt "Thread priority"
depends on SHT3XD && SHT3XD_TRIGGER_OWN_THREAD depends on SHT3XD && SHT3XD_TRIGGER_OWN_THREAD
default 10 default 10
help help
Priority of thread used by the driver to handle interrupts. Priority of thread used by the driver to handle interrupts.
config SHT3XD_THREAD_STACK_SIZE config SHT3XD_THREAD_STACK_SIZE
int int "Thread stack size"
prompt "Thread stack size"
depends on SHT3XD && SHT3XD_TRIGGER_OWN_THREAD depends on SHT3XD && SHT3XD_TRIGGER_OWN_THREAD
default 1024 default 1024
help help
@ -112,16 +102,13 @@ choice
noise level and energy consumption. noise level and energy consumption.
config SHT3XD_REPEATABILITY_LOW config SHT3XD_REPEATABILITY_LOW
bool bool "low"
prompt "low"
config SHT3XD_REPEATABILITY_MEDIUM config SHT3XD_REPEATABILITY_MEDIUM
bool bool "medium"
prompt "medium"
config SHT3XD_REPEATABILITY_HIGH config SHT3XD_REPEATABILITY_HIGH
bool bool "high"
prompt "high"
endchoice endchoice
@ -133,23 +120,18 @@ choice
Number of measurements per second. Number of measurements per second.
config SHT3XD_MPS_05 config SHT3XD_MPS_05
bool bool "0.5"
prompt "0.5"
config SHT3XD_MPS_1 config SHT3XD_MPS_1
bool bool "1"
prompt "1"
config SHT3XD_MPS_2 config SHT3XD_MPS_2
bool bool "2"
prompt "2"
config SHT3XD_MPS_4 config SHT3XD_MPS_4
bool bool "4"
prompt "4"
config SHT3XD_MPS_10 config SHT3XD_MPS_10
bool bool "10"
prompt "10"
endchoice endchoice

View file

@ -33,10 +33,9 @@ config SX9500_I2C_DEV_NAME
connected. connected.
config SX9500_PROX_CHANNEL config SX9500_PROX_CHANNEL
int int "Proximity channel to use"
default 3 default 3
depends on SX9500 depends on SX9500
prompt "Proximity channel to use"
help help
The SX9500 offers 4 separate proximity channels. Choose which one The SX9500 offers 4 separate proximity channels. Choose which one
you are using. Valid numbers are 0 to 3. you are using. Valid numbers are 0 to 3.

View file

@ -5,23 +5,20 @@
# #
menuconfig TH02 menuconfig TH02
bool bool "TH02 Temperature Sensor"
prompt "TH02 Temperature Sensor"
depends on I2C depends on I2C
help help
Enable driver for the TH02 temperature sensor. Enable driver for the TH02 temperature sensor.
if TH02 if TH02
config TH02_NAME config TH02_NAME
string string "Driver name"
prompt "Driver name"
default "TH02" default "TH02"
help help
Device name with which the TH02 sensor is identified. Device name with which the TH02 sensor is identified.
config TH02_I2C_MASTER_DEV_NAME config TH02_I2C_MASTER_DEV_NAME
string string "I2C Master"
prompt "I2C Master"
default "I2C_0" default "I2C_0"
help help
The device name of the I2C master device to which the TH02 The device name of the I2C master device to which the TH02

View file

@ -7,23 +7,20 @@
# #
menuconfig TMP007 menuconfig TMP007
bool bool "TMP007 Infrared Thermopile Sensor"
prompt "TMP007 Infrared Thermopile Sensor"
depends on I2C depends on I2C
help help
Enable driver for TMP007 infrared thermopile sensors. Enable driver for TMP007 infrared thermopile sensors.
config TMP007_NAME config TMP007_NAME
string string "Driver name"
prompt "Driver name"
default "TMP007" default "TMP007"
depends on TMP007 depends on TMP007
help help
Device name with which the TMP007 sensor is identified. Device name with which the TMP007 sensor is identified.
config TMP007_I2C_ADDR config TMP007_I2C_ADDR
hex hex "I2C address for TMP006 Sensor"
prompt "I2C address for TMP006 Sensor"
depends on TMP007 depends on TMP007
default "0x40" default "0x40"
help help
@ -39,8 +36,7 @@ config TMP007_I2C_ADDR
0x47: A0 connected SCL and A1 connected to VDD. 0x47: A0 connected SCL and A1 connected to VDD.
config TMP007_I2C_MASTER_DEV_NAME config TMP007_I2C_MASTER_DEV_NAME
string string "I2C master where TMP007 is connected"
prompt "I2C master where TMP007 is connected"
depends on TMP007 depends on TMP007
default "I2C_0" default "I2C_0"
help help
@ -55,18 +51,15 @@ choice
Specify the type of triggering to be used by the driver. Specify the type of triggering to be used by the driver.
config TMP007_TRIGGER_NONE config TMP007_TRIGGER_NONE
bool bool "No trigger"
prompt "No trigger"
config TMP007_TRIGGER_GLOBAL_THREAD config TMP007_TRIGGER_GLOBAL_THREAD
bool bool "Use global thread"
prompt "Use global thread"
depends on GPIO depends on GPIO
select TMP007_TRIGGER select TMP007_TRIGGER
config TMP007_TRIGGER_OWN_THREAD config TMP007_TRIGGER_OWN_THREAD
bool bool "Use own thread"
prompt "Use own thread"
depends on GPIO depends on GPIO
select TMP007_TRIGGER select TMP007_TRIGGER
@ -77,8 +70,7 @@ config TMP007_TRIGGER
depends on TMP007 depends on TMP007
config TMP007_GPIO_DEV_NAME config TMP007_GPIO_DEV_NAME
string string "GPIO device"
prompt "GPIO device"
default "GPIO_0" default "GPIO_0"
depends on TMP007 && TMP007_TRIGGER depends on TMP007 && TMP007_TRIGGER
help help
@ -86,8 +78,7 @@ config TMP007_GPIO_DEV_NAME
(alert) pin is connected. (alert) pin is connected.
config TMP007_GPIO_PIN_NUM config TMP007_GPIO_PIN_NUM
int int "Interrupt GPIO pin number"
prompt "Interrupt GPIO pin number"
default 0 default 0
depends on TMP007 && TMP007_TRIGGER depends on TMP007 && TMP007_TRIGGER
help help
@ -95,16 +86,14 @@ config TMP007_GPIO_PIN_NUM
TMP007 chip will be received. TMP007 chip will be received.
config TMP007_THREAD_PRIORITY config TMP007_THREAD_PRIORITY
int int "Thread priority"
prompt "Thread priority"
depends on TMP007 && TMP007_TRIGGER_OWN_THREAD depends on TMP007 && TMP007_TRIGGER_OWN_THREAD
default 10 default 10
help help
Priority of thread used by the driver to handle interrupts. Priority of thread used by the driver to handle interrupts.
config TMP007_THREAD_STACK_SIZE config TMP007_THREAD_STACK_SIZE
int int "Thread stack size"
prompt "Thread stack size"
depends on TMP007 && TMP007_TRIGGER_OWN_THREAD depends on TMP007 && TMP007_TRIGGER_OWN_THREAD
default 1024 default 1024
help help

View file

@ -7,8 +7,7 @@
# #
menuconfig TMP112 menuconfig TMP112
bool bool "TMP112 Temperature Sensor"
prompt "TMP112 Temperature Sensor"
depends on I2C depends on I2C
help help
Enable the driver for Texas Instruments TMP112 High-Accuracy Digital Enable the driver for Texas Instruments TMP112 High-Accuracy Digital
@ -18,8 +17,7 @@ menuconfig TMP112
been successfully tested with this driver. been successfully tested with this driver.
config TMP112_NAME config TMP112_NAME
string string "Driver name"
prompt "Driver name"
default "TMP112" default "TMP112"
depends on TMP112 depends on TMP112
help help
@ -39,8 +37,7 @@ config TMP112_I2C_ADDR
config TMP112_I2C_MASTER_DEV_NAME config TMP112_I2C_MASTER_DEV_NAME
string string "I2C master where TMP112 is connected"
prompt "I2C master where TMP112 is connected"
depends on TMP112 depends on TMP112
default "I2C_0" default "I2C_0"
help help

View file

@ -7,8 +7,7 @@
# #
menuconfig VL53L0X menuconfig VL53L0X
bool bool "VL53L0X time of flight sensor"
prompt "VL53L0X time of flight sensor"
depends on SENSOR && I2C depends on SENSOR && I2C
select HAS_STLIB select HAS_STLIB
help help
@ -17,24 +16,21 @@ menuconfig VL53L0X
if !HAS_DTS_I2C_DEVICE if !HAS_DTS_I2C_DEVICE
config VL53L0X_NAME config VL53L0X_NAME
string string "Driver name"
prompt "Driver name"
default "VL53L0X" default "VL53L0X"
depends on VL53L0X depends on VL53L0X
help help
Device name with which the VL53L0X sensor is identified. Device name with which the VL53L0X sensor is identified.
config VL53L0X_I2C_ADDR config VL53L0X_I2C_ADDR
hex hex "Vl53l0x I2C address"
prompt "Vl53l0x I2C address"
default 0x29 default 0x29
depends on VL53L0X depends on VL53L0X
help help
address of the i2c used for the vl53l0x sensor address of the i2c used for the vl53l0x sensor
config VL53L0X_I2C_MASTER_DEV_NAME config VL53L0X_I2C_MASTER_DEV_NAME
string string "I2C master where VL53L0X is connected"
prompt "I2C master where VL53L0X is connected"
depends on VL53L0X depends on VL53L0X
default "I2C_0" default "I2C_0"
help help
@ -50,8 +46,7 @@ config VL53L0X_XSHUT_CONTROL_ENABLE
Enable it if XSHUT pin is controlled by host. Enable it if XSHUT pin is controlled by host.
config VL53L0X_XSHUT_GPIO_DEV_NAME config VL53L0X_XSHUT_GPIO_DEV_NAME
string string "GPIO device"
prompt "GPIO device"
default "GPIO_6" default "GPIO_6"
depends on VL53L0X_XSHUT_CONTROL_ENABLE depends on VL53L0X_XSHUT_CONTROL_ENABLE
help help
@ -59,8 +54,7 @@ config VL53L0X_XSHUT_GPIO_DEV_NAME
is connected. is connected.
config VL53L0X_XSHUT_GPIO_PIN_NUM config VL53L0X_XSHUT_GPIO_PIN_NUM
int int "Interrupt GPIO pin number"
prompt "Interrupt GPIO pin number"
default 6 default 6
depends on VL53L0X_XSHUT_CONTROL_ENABLE depends on VL53L0X_XSHUT_CONTROL_ENABLE
help help
@ -68,8 +62,7 @@ config VL53L0X_XSHUT_GPIO_PIN_NUM
is connected. is connected.
config VL53L0X_PROXIMITY_THRESHOLD config VL53L0X_PROXIMITY_THRESHOLD
int int "Proximity threshold in millimeters"
prompt "Proximity threshold in millimeters"
default 100 default 100
depends on VL53L0X depends on VL53L0X
help help

View file

@ -7,8 +7,7 @@
# #
menuconfig SERIAL menuconfig SERIAL
bool bool "Serial Drivers"
prompt "Serial Drivers"
help help
Enable options for serial drivers. Enable options for serial drivers.
@ -30,8 +29,7 @@ config SERIAL_SUPPORT_INTERRUPT
to signal that the driver and hardware supports interrupts. to signal that the driver and hardware supports interrupts.
config UART_INTERRUPT_DRIVEN config UART_INTERRUPT_DRIVEN
bool bool "Enable UART Interrupt support"
prompt "Enable UART Interrupt support"
depends on SERIAL_SUPPORT_INTERRUPT depends on SERIAL_SUPPORT_INTERRUPT
help help
This option enables interrupt support for UART allowing console This option enables interrupt support for UART allowing console

View file

@ -14,8 +14,7 @@ config UART_NSIM_PORT_0_NAME
struct. struct.
config UART_NSIM_PORT_0_BASE_ADDR config UART_NSIM_PORT_0_BASE_ADDR
hex hex "Port 0 Register Address"
prompt "Port 0 Register Address"
default 0x00000000 default 0x00000000
depends on UART_NSIM depends on UART_NSIM
help help

View file

@ -103,8 +103,7 @@ config LOAPIC_TIMER_IRQ_PRIORITY
This options specifies the IRQ priority used by the LOAPIC timer. This options specifies the IRQ priority used by the LOAPIC timer.
config TSC_CYCLES_PER_SEC config TSC_CYCLES_PER_SEC
int int "Frequency of x86 CPU timestamp counter"
prompt "Frequency of x86 CPU timestamp counter"
default 0 default 0
depends on LOAPIC_TIMER depends on LOAPIC_TIMER
help help

View file

@ -12,8 +12,7 @@ config USB_DEVICE_DRIVER
bool bool
config USB_DW config USB_DW
bool bool "Designware USB Device Controller Driver"
prompt "Designware USB Device Controller Driver"
select USB_DEVICE_DRIVER select USB_DEVICE_DRIVER
help help
Designware USB Device Controller Driver. Designware USB Device Controller Driver.
@ -25,15 +24,13 @@ config USB_DW_IRQ_PRI
USB interrupt priority. USB interrupt priority.
config USB_DW_USB_2_0 config USB_DW_USB_2_0
bool bool "DesignWare Controller and PHY support for USB specification 2.0"
prompt "DesignWare Controller and PHY support for USB specification 2.0"
depends on USB_DW depends on USB_DW
help help
Indicates whether or not USB specification version 2.0 is supported Indicates whether or not USB specification version 2.0 is supported
config USB_DC_STM32 config USB_DC_STM32
bool bool "USB device controller driver for STM32 devices"
prompt "USB device controller driver for STM32 devices"
depends on SOC_FAMILY_STM32 depends on SOC_FAMILY_STM32
select USB_DEVICE_DRIVER select USB_DEVICE_DRIVER
select USE_STM32_LL_USB if !SOC_SERIES_STM32F0X && !SOC_SERIES_STM32F3X && !SOC_SERIES_STM32L0X select USE_STM32_LL_USB if !SOC_SERIES_STM32F0X && !SOC_SERIES_STM32F3X && !SOC_SERIES_STM32L0X
@ -45,16 +42,14 @@ config USB_DC_STM32
processors. processors.
config USB_DC_SAM0 config USB_DC_SAM0
bool bool "SAM0 series USB Device Controller driver"
prompt "SAM0 series USB Device Controller driver"
depends on SOC_FAMILY_SAM0 depends on SOC_FAMILY_SAM0
select USB_DEVICE_DRIVER select USB_DEVICE_DRIVER
help help
SAM0 family USB device controller Driver. SAM0 family USB device controller Driver.
config USB_NRF52840 config USB_NRF52840
bool bool "Nordic Semiconductor nRF52840 USB Device Controller Driver"
prompt "Nordic Semiconductor nRF52840 USB Device Controller Driver"
depends on SOC_NRF52840 depends on SOC_NRF52840
select USB_DEVICE_DRIVER select USB_DEVICE_DRIVER
select HAS_DTS_USB select HAS_DTS_USB
@ -62,15 +57,13 @@ config USB_NRF52840
nRF52840 USB Device Controller Driver nRF52840 USB Device Controller Driver
config USB_KINETIS config USB_KINETIS
bool bool "Kinetis USB Device Controller Driver"
prompt "Kinetis USB Device Controller Driver"
select USB_DEVICE_DRIVER select USB_DEVICE_DRIVER
help help
Kinetis USB Device Controller Driver. Kinetis USB Device Controller Driver.
config SYS_LOG_USB_DRIVER_LEVEL config SYS_LOG_USB_DRIVER_LEVEL
int int "USB driver log level"
prompt "USB driver log level"
depends on SYS_LOG depends on SYS_LOG
default 0 default 0
help help

View file

@ -7,8 +7,7 @@
# #
menuconfig WATCHDOG menuconfig WATCHDOG
bool bool "Watchdog Support"
prompt "Watchdog Support"
help help
Include support for watchdogs. Include support for watchdogs.
@ -25,14 +24,12 @@ config WDT_0_NAME
endif # HAS_DTS_WDT endif # HAS_DTS_WDT
config WDT_DISABLE_AT_BOOT config WDT_DISABLE_AT_BOOT
bool bool "Disable at boot"
prompt "Disable at boot"
help help
Disable watchdog at Zephyr system startup. Disable watchdog at Zephyr system startup.
config SYS_LOG_WDT_LEVEL config SYS_LOG_WDT_LEVEL
int int "Watchdog Driver Log level"
prompt "Watchdog Driver Log level"
depends on SYS_LOG depends on SYS_LOG
default 0 default 0
range 0 4 range 0 4
@ -49,8 +46,7 @@ config HAS_WDT_MULTISTAGE
bool bool
config WDT_MULTISTAGE config WDT_MULTISTAGE
bool bool "Enable multistage timeouts"
prompt "Enable multistage timeouts"
depends on HAS_WDT_MULTISTAGE depends on HAS_WDT_MULTISTAGE
help help
Enable multistage operation of watchdog timeouts. Enable multistage operation of watchdog timeouts.

View file

@ -20,8 +20,7 @@ config WDT_0_IRQ_PRI
Watchdog interrupt priority Watchdog interrupt priority
config WDT_QMSI_API_REENTRANCY config WDT_QMSI_API_REENTRANCY
bool bool "WDT shim driver API reentrancy"
prompt "WDT shim driver API reentrancy"
depends on WDT_QMSI depends on WDT_QMSI
help help
Enable support for WDT shim driver API reentrancy. Enable support for WDT shim driver API reentrancy.

View file

@ -10,8 +10,7 @@ config HAS_SEGGER_RTT
if HAS_SEGGER_RTT if HAS_SEGGER_RTT
config SEGGER_SYSTEMVIEW config SEGGER_SYSTEMVIEW
bool bool "Segger SystemView support"
prompt "Segger SystemView support"
select RTT_CONSOLE select RTT_CONSOLE
config SEGGER_RTT_MAX_NUM_UP_BUFFERS config SEGGER_RTT_MAX_NUM_UP_BUFFERS

Some files were not shown because too many files have changed in this diff Show more