kconfig: fix help syntax and add spaces

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-12-13 10:08:21 -05:00 committed by Kumar Gala
parent 112800d6c1
commit 429c2a4d9d
72 changed files with 1465 additions and 1465 deletions

View file

@ -42,42 +42,42 @@ config HW_STACK_PROTECTION
bool "Hardware Stack Protection" bool "Hardware Stack Protection"
depends on ARCH_HAS_STACK_PROTECTION depends on ARCH_HAS_STACK_PROTECTION
help help
Select this option to enable hardware-based platform features to Select this option to enable hardware-based platform features to
catch stack overflows when the system is running in privileged catch stack overflows when the system is running in privileged
mode. If CONFIG_USERSPACE is not enabled, the system is always mode. If CONFIG_USERSPACE is not enabled, the system is always
running in privileged mode. running in privileged mode.
Note that this does not necessarily prevent corruption and assertions Note that this does not necessarily prevent corruption and assertions
about the overall system state when a fault is triggered cannot be about the overall system state when a fault is triggered cannot be
made. made.
config USERSPACE config USERSPACE
bool "User mode threads (EXPERIMENTAL)" bool "User mode threads (EXPERIMENTAL)"
depends on ARCH_HAS_USERSPACE depends on ARCH_HAS_USERSPACE
help help
When enabled, threads may be created or dropped down to user mode, When enabled, threads may be created or dropped down to user mode,
which has significantly restricted permissions and must interact which has significantly restricted permissions and must interact
with the kernel via system calls. See Zephyr documentation for more with the kernel via system calls. See Zephyr documentation for more
details about this feature. details about this feature.
If a user thread overflows its stack, this will be caught and the If a user thread overflows its stack, this will be caught and the
kernel itself will be shielded from harm. Enabling this option kernel itself will be shielded from harm. Enabling this option
may or may not catch stack overflows when the system is in may or may not catch stack overflows when the system is in
privileged mode or handling a system call; to ensure these are always privileged mode or handling a system call; to ensure these are always
caught, enable CONFIG_HW_STACK_PROTECTION. caught, enable CONFIG_HW_STACK_PROTECTION.
This feature is under heavy development and APIs related to it are This feature is under heavy development and APIs related to it are
subject to change, even if declared non-private. subject to change, even if declared non-private.
config MAX_THREAD_BYTES config MAX_THREAD_BYTES
int "Bytes to use when tracking object thread permissions" int "Bytes to use when tracking object thread permissions"
default 2 default 2
depends on USERSPACE depends on USERSPACE
help help
Every kernel object will have an associated bitfield to store Every kernel object will have an associated bitfield to store
thread permissions for that object. This controls the size of the thread permissions for that object. This controls the size of the
bitfield (in bytes) and imposes a limit on how many threads can bitfield (in bytes) and imposes a limit on how many threads can
be created in the system. be created in the system.
config SIMPLE_FATAL_ERROR_HANDLER config SIMPLE_FATAL_ERROR_HANDLER
prompt "Simple system fatal error handler" prompt "Simple system fatal error handler"
@ -85,10 +85,10 @@ config SIMPLE_FATAL_ERROR_HANDLER
default n default n
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
instead of aborting the faulting thread, and does not print anything, instead of aborting the faulting thread, and does not print anything,
for footprint-concerned systems. Only enable this option if you do not for footprint-concerned systems. Only enable this option if you do not
want debug capabilities in case of system fatal error. want debug capabilities in case of system fatal error.
menu "Interrupt Configuration" menu "Interrupt Configuration"
# #
@ -99,9 +99,9 @@ config GEN_ISR_TABLES
prompt "Use generated IRQ tables" prompt "Use generated IRQ tables"
default n default n
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
@ -109,12 +109,12 @@ config GEN_IRQ_VECTOR_TABLE
default y default y
depends on GEN_ISR_TABLES depends on GEN_ISR_TABLES
help help
This option controls whether a platform using gen_isr_tables This option controls whether a platform using gen_isr_tables
needs an interrupt vector table created. Only disable this if the needs an interrupt vector table created. Only disable this if the
platform does not use a vector table at all, or requires the vector platform does not use a vector table at all, or requires the vector
table to be in a format that is not an array of function pointers table to be in a format that is not an array of function pointers
indexed by IRQ line. In the latter case, the vector table must be indexed by IRQ line. In the latter case, the vector table must be
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
@ -122,22 +122,22 @@ config GEN_SW_ISR_TABLE
default y default y
depends on GEN_ISR_TABLES depends on GEN_ISR_TABLES
help help
This option controls whether a platform using gen_isr_tables This option controls whether a platform using gen_isr_tables
needs a software ISR table table created. This is an array of struct needs a software ISR table table created. This is an array of struct
_isr_table_entry containing the interrupt service routine and supplied _isr_table_entry containing the interrupt service routine and supplied
parameter. parameter.
config GEN_IRQ_START_VECTOR config GEN_IRQ_START_VECTOR
int int
default 0 default 0
depends on GEN_ISR_TABLES depends on GEN_ISR_TABLES
help help
On some architectures, part of the vector table may be reserved for On some architectures, part of the vector table may be reserved for
system exceptions and is declared separately from the tables system exceptions and is declared separately from the tables
created by gen_isr_tables.py. When creating these tables, this value created by gen_isr_tables.py. When creating these tables, this value
will be subtracted from CONFIG_NUM_IRQS to properly size them. will be subtracted from CONFIG_NUM_IRQS to properly size them.
This is a hidden option which needs to be set per architecture and This is a hidden option which needs to be set per architecture and
left alone. left alone.
config IRQ_OFFLOAD config IRQ_OFFLOAD
@ -172,24 +172,24 @@ config SYS_POWER_LOW_POWER_STATE_SUPPORTED
bool bool
default n default n
help help
This option signifies that the target supports the SYS_POWER_LOW_POWER_STATE This option signifies that the target supports the SYS_POWER_LOW_POWER_STATE
configuration option. configuration option.
config SYS_POWER_DEEP_SLEEP_SUPPORTED config SYS_POWER_DEEP_SLEEP_SUPPORTED
# Hidden # Hidden
bool bool
default n default n
help help
This option signifies that the target supports the SYS_POWER_DEEP_SLEEP This option signifies that the target supports the SYS_POWER_DEEP_SLEEP
configuration option. configuration option.
config BOOTLOADER_CONTEXT_RESTORE_SUPPORTED config BOOTLOADER_CONTEXT_RESTORE_SUPPORTED
# Hidden # Hidden
bool bool
default n default n
help help
This option signifies that the target has options of bootloaders This option signifies that the target has options of bootloaders
that support context restore upon resume from deep sleep that support context restore upon resume from deep sleep
# End hidden CPU family configs # End hidden CPU family configs
@ -217,11 +217,11 @@ config FLOAT
prompt "Floating point registers" prompt "Floating point registers"
default n default n
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.
Disabling this option means that any thread that uses a Disabling this option means that any thread that uses a
floating point register will get a fatal exception. floating point register will get a fatal exception.
config FP_SHARING config FP_SHARING
bool bool
@ -229,8 +229,8 @@ config FP_SHARING
depends on FLOAT depends on FLOAT
default n default n
help help
This option allows multiple threads to use the floating point This option allows multiple threads to use the floating point
registers. registers.
endmenu endmenu
@ -248,38 +248,38 @@ config FLASH_HAS_PAGE_LAYOUT
config ARCH config ARCH
string string
help help
System architecture string. System architecture string.
config SOC config SOC
string string
help help
SoC name which can be found under arch/<arch>/soc/<soc name>. SoC name which can be found under arch/<arch>/soc/<soc name>.
This option holds the directory name used by the build system to locate This option holds the directory name used by the build system to locate
the correct linker and header files for the SoC. This option will go away the correct linker and header files for the SoC. This option will go away
once all SoCs are using family/series structure. once all SoCs are using family/series structure.
config SOC_SERIES config SOC_SERIES
string string
help help
SoC series name which can be found under arch/<arch>/soc/<family>/<series>. SoC series name which can be found under arch/<arch>/soc/<family>/<series>.
This option holds the directory name used by the build system to locate This option holds the directory name used by the build system to locate
the correct linker and header files. the correct linker and header files.
config SOC_FAMILY config SOC_FAMILY
string string
help help
SoC family name which can be found under arch/<arch>/soc/<family>. SoC family name which can be found under arch/<arch>/soc/<family>.
This option holds the directory name used by the build system to locate This option holds the directory name used by the build system to locate
the correct linker and header files. the correct linker and header files.
config BOARD config BOARD
string string
help help
This option holds the name of the board and is used to locate the files This option holds the name of the board and is used to locate the files
related to the board in the source tree (under boards/). related to the board in the source tree (under boards/).
The Board is the first location where we search for a linker.ld file, The Board is the first location where we search for a linker.ld file,
if not found we look for the linker file in if not found we look for the linker file in
arch/<arch>/soc/<family>/<series> arch/<arch>/soc/<family>/<series>
source "arch/*/Kconfig" source "arch/*/Kconfig"

View file

@ -32,7 +32,7 @@ config CPU_ARCEM4
select CPU_ARCV2 select CPU_ARCV2
select ATOMIC_OPERATIONS_C select ATOMIC_OPERATIONS_C
help help
This option signifies the use of an ARC EM4 CPU This option signifies the use of an ARC EM4 CPU
endmenu endmenu
@ -82,12 +82,12 @@ config RGF_NUM_BANKS
range 1 2 range 1 2
default 2 default 2
help help
The ARC CPU can be configured to have more than one register The ARC CPU can be configured to have more than one register
bank. If fast interrupts are supported (FIRQ), the 2nd bank. If fast interrupts are supported (FIRQ), the 2nd
register bank, in the set, will be used by FIRQ interrupts. register bank, in the set, will be used by FIRQ interrupts.
If fast interrupts are supported but there is only 1 If fast interrupts are supported but there is only 1
register bank, the fast interrupt handler must save register bank, the fast interrupt handler must save
and restore general purpose registers. and restore general purpose registers.
config ARC_FIRQ config ARC_FIRQ
bool bool
@ -114,15 +114,15 @@ config FAULT_DUMP
default 2 default 2
range 0 2 range 0 2
help help
Different levels for display information when a fault occurs. Different levels for display information when a fault occurs.
2: The default. Display specific and verbose information. Consumes 2: The default. Display specific and verbose information. Consumes
the most memory (long strings). the most memory (long strings).
1: Display general and short information. Consumes less memory 1: Display general and short information. Consumes less memory
(short strings). (short strings).
0: Off. 0: Off.
config XIP config XIP
default n if NSIM default n if NSIM
@ -139,15 +139,15 @@ config HARVARD
bool bool
default n default n
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" prompt "Code Density Option"
bool bool
default n default n
help help
Enable code density option to get better code density Enable code density option to get better code density
config ARC_HAS_SECURE config ARC_HAS_SECURE
bool bool
@ -175,58 +175,58 @@ if !HAS_DTS
config ICCM_SIZE config ICCM_SIZE
int "ICCM Size in kB" int "ICCM Size in kB"
help help
This option specifies the size of the ICCM in kB. It is normally set by This option specifies the size of the ICCM in kB. It is normally set by
the board's defconfig file and the user should generally avoid modifying the board's defconfig file and the user should generally avoid modifying
it via the menu configuration. it via the menu configuration.
config ICCM_BASE_ADDRESS config ICCM_BASE_ADDRESS
hex "ICCM Base Address" hex "ICCM Base Address"
help help
This option specifies the base address of the ICCM on the board. It is This option specifies the base address of the ICCM on the board. It is
normally set by the board's defconfig file and the user should generally normally set by the board's defconfig file and the user should generally
avoid modifying it via the menu configuration. avoid modifying it via the menu configuration.
config DCCM_SIZE config DCCM_SIZE
int "DCCM Size in kB" int "DCCM Size in kB"
help help
This option specifies the size of the DCCM in kB. It is normally set by This option specifies the size of the DCCM in kB. It is normally set by
the board's defconfig file and the user should generally avoid modifying the board's defconfig file and the user should generally avoid modifying
it via the menu configuration. it via the menu configuration.
config DCCM_BASE_ADDRESS config DCCM_BASE_ADDRESS
hex "DCCM Base Address" hex "DCCM Base Address"
help help
This option specifies the base address of the DCCM on the board. It is This option specifies the base address of the DCCM on the board. It is
normally set by the board's defconfig file and the user should generally normally set by the board's defconfig file and the user should generally
avoid modifying it via the menu configuration. avoid modifying it via the menu configuration.
config SRAM_SIZE config SRAM_SIZE
int "SRAM Size in kB" int "SRAM Size in kB"
help help
This option specifies the size of the SRAM in kB. It is normally set by This option specifies the size of the SRAM in kB. It is normally set by
the board's defconfig file and the user should generally avoid modifying the board's defconfig file and the user should generally avoid modifying
it via the menu configuration. it via the menu configuration.
config SRAM_BASE_ADDRESS config SRAM_BASE_ADDRESS
hex "SRAM Base Address" hex "SRAM Base Address"
help help
This option specifies the base address of the SRAM on the board. It is This option specifies the base address of the SRAM on the board. It is
normally set by the board's defconfig file and the user should generally normally set by the board's defconfig file and the user should generally
avoid modifying it via the menu configuration. avoid modifying it via the menu configuration.
config FLASH_SIZE config FLASH_SIZE
int "Flash Size in kB" int "Flash Size in kB"
help help
This option specifies the size of the flash in kB. It is normally set by This option specifies the size of the flash in kB. It is normally set by
the board's defconfig file and the user should generally avoid modifying the board's defconfig file and the user should generally avoid modifying
it via the menu configuration. it via the menu configuration.
config FLASH_BASE_ADDRESS config FLASH_BASE_ADDRESS
hex "Flash Base Address" hex "Flash Base Address"
help help
This option specifies the base address of the flash on the board. It is This option specifies the base address of the flash on the board. It is
normally set by the board's defconfig file and the user should generally normally set by the board's defconfig file and the user should generally
avoid modifying it via the menu configuration. avoid modifying it via the menu configuration.
endif endif
config CACHE_LINE_SIZE_DETECT config CACHE_LINE_SIZE_DETECT
@ -234,21 +234,21 @@ config CACHE_LINE_SIZE_DETECT
prompt "Detect d-cache line size at runtime" prompt "Detect d-cache line size at runtime"
default n default n
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
and a slightly increased boot time. and a slightly increased boot time.
If the CPU's d-cache line size is known in advance, disable this If the CPU's d-cache line size is known in advance, disable this
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
prompt "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.
Detect automatically at runtime by selecting CACHE_LINE_SIZE_DETECT. Detect automatically at runtime by selecting CACHE_LINE_SIZE_DETECT.
config ARCH_CACHE_FLUSH_DETECT config ARCH_CACHE_FLUSH_DETECT
bool bool
@ -259,10 +259,10 @@ config CACHE_FLUSHING
default n default n
prompt "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.
If the d-cache is present, set this to y. If the d-cache is present, set this to y.
If the d-cache is NOT present, set this to n. If the d-cache is NOT present, set this to n.
endmenu endmenu

View file

@ -11,8 +11,8 @@ config ARC_MPU_VER
range 2 4 range 2 4
default 2 default 2
help help
ARC MPU has several versions. For MPU v2, the minimum region is 2048 bytes; ARC MPU has several versions. For MPU v2, the minimum region is 2048 bytes;
For MPU v3, the minimum region is 32 bytes For MPU v3, the minimum region is 32 bytes
config ARC_CORE_MPU config ARC_CORE_MPU
bool "ARC Core MPU functionalities" bool "ARC Core MPU functionalities"

View file

@ -11,8 +11,8 @@ config QUARK_SE_SS_IPM_IRQ_PRI
int "IPM interrupt priority" int "IPM interrupt priority"
default 1 default 1
help help
Priority level for interrupts coming in from the inter-processor Priority level for interrupts coming in from the inter-processor
mailboxes. mailboxes.
endif # IPM endif # IPM
endif # SOC_QUARK_SE_C1000_SS endif # SOC_QUARK_SE_C1000_SS

View file

@ -11,7 +11,7 @@ config CPU_CORTEX
# Omit prompt to signify "hidden" option # Omit prompt to signify "hidden" option
default n default n
help help
This option signifies the use of a CPU of the Cortex family. This option signifies the use of a CPU of the Cortex family.
config CPU_CORTEX_M config CPU_CORTEX_M
bool bool
@ -25,30 +25,30 @@ config CPU_CORTEX_M
select ARCH_HAS_STACK_PROTECTION if ARM_CORE_MPU select ARCH_HAS_STACK_PROTECTION if ARM_CORE_MPU
select ARCH_HAS_USERSPACE if ARM_CORE_MPU select ARCH_HAS_USERSPACE if ARM_CORE_MPU
help help
This option signifies the use of a CPU of the Cortex-M family. This option signifies the use of a CPU of the Cortex-M family.
config CPU_HAS_SYSTICK config CPU_HAS_SYSTICK
bool bool
# Omit prompt to signify "hidden" option # Omit prompt to signify "hidden" option
default n default n
help help
This option is enabled when the CPU has systick timer implemented. This option is enabled when the CPU has systick timer implemented.
config ARM_STACK_PROTECTION config ARM_STACK_PROTECTION
bool bool
default y if HW_STACK_PROTECTION default y if HW_STACK_PROTECTION
select MPU_STACK_GUARD if ARM_CORE_MPU select MPU_STACK_GUARD if ARM_CORE_MPU
help help
This option enables MPU stack guard to cause a system fatal error This option enables MPU stack guard to cause a system fatal error
if the bounds of the current process stack are overflowed. if the bounds of the current process stack are overflowed.
config ARM_USERSPACE config ARM_USERSPACE
bool bool
default y if USERSPACE default y if USERSPACE
help help
This option enables APIs to drop a thread's privileges, supporting This option enables APIs to drop a thread's privileges, supporting
user-level threads that are protected from each other and from user-level threads that are protected from each other and from
crashing the kernel. crashing the kernel.
menu "Architectue Floating Point Options" menu "Architectue Floating Point Options"
depends on CPU_HAS_FPU depends on CPU_HAS_FPU
@ -62,16 +62,16 @@ config FP_HARDABI
bool "Floating point Hard ABI" bool "Floating point Hard ABI"
depends on FLOAT depends on FLOAT
help help
This option selects the Floating point ABI in which hardware floating This option selects the Floating point ABI in which hardware floating
point instructions are generated and uses FPU-specific calling point instructions are generated and uses FPU-specific calling
conventions conventions
config FP_SOFTABI config FP_SOFTABI
bool "Floating point Soft ABI" bool "Floating point Soft ABI"
depends on FLOAT depends on FLOAT
help help
This option selects the Floating point ABI in which hardware floating This option selects the Floating point ABI in which hardware floating
point instructions are generated but soft-float calling conventions. point instructions are generated but soft-float calling conventions.
endchoice endchoice

View file

@ -11,44 +11,44 @@ config ISA_THUMB2
# Omit prompt to signify "hidden" option # Omit prompt to signify "hidden" option
default n default n
help help
From: http://www.arm.com/products/processors/technologies/instruction-set-architectures.php From: http://www.arm.com/products/processors/technologies/instruction-set-architectures.php
Thumb-2 technology is the instruction set underlying the ARM Cortex Thumb-2 technology is the instruction set underlying the ARM Cortex
architecture which provides enhanced levels of performance, energy architecture which provides enhanced levels of performance, energy
efficiency, and code density for a wide range of embedded efficiency, and code density for a wide range of embedded
applications. applications.
Thumb-2 technology builds on the success of Thumb, the innovative Thumb-2 technology builds on the success of Thumb, the innovative
high code density instruction set for ARM microprocessor cores, to high code density instruction set for ARM microprocessor cores, to
increase the power of the ARM microprocessor core available to increase the power of the ARM microprocessor core available to
developers of low cost, high performance systems. developers of low cost, high performance systems.
The technology is backwards compatible with existing ARM and Thumb The technology is backwards compatible with existing ARM and Thumb
solutions, while significantly extending the features available to solutions, while significantly extending the features available to
the Thumb instructions set. This allows more of the application to the Thumb instructions set. This allows more of the application to
benefit from the best in class code density of Thumb. benefit from the best in class code density of Thumb.
For performance optimized code Thumb-2 technology uses 31 percent For performance optimized code Thumb-2 technology uses 31 percent
less memory to reduce system cost, while providing up to 38 percent less memory to reduce system cost, while providing up to 38 percent
higher performance than existing high density code, which can be used higher performance than existing high density code, which can be used
to prolong battery-life or to enrich the product feature set. Thumb-2 to prolong battery-life or to enrich the product feature set. Thumb-2
technology is featured in the processor, and in all ARMv7 technology is featured in the processor, and in all ARMv7
architecture-based processors. architecture-based processors.
config CPU_CORTEX_M_HAS_BASEPRI config CPU_CORTEX_M_HAS_BASEPRI
bool bool
# Omit prompt to signify "hidden" option # Omit prompt to signify "hidden" option
default n default n
help help
This option signifies the CPU has the BASEPRI register. This option signifies the CPU has the BASEPRI register.
config CPU_CORTEX_M_HAS_PROGRAMMABLE_FAULT_PRIOS config CPU_CORTEX_M_HAS_PROGRAMMABLE_FAULT_PRIOS
bool bool
# Omit prompt to signify "hidden" option # Omit prompt to signify "hidden" option
default n default n
help help
This option signifies the CPU faults other than the hard fault, and This option signifies the CPU faults other than the hard fault, and
needs to reserve a priority for them. needs to reserve a priority for them.
config ARMV6_M config ARMV6_M
bool bool
@ -57,7 +57,7 @@ config ARMV6_M
select ATOMIC_OPERATIONS_C select ATOMIC_OPERATIONS_C
select ISA_THUMB2 select ISA_THUMB2
help help
This option signifies the use of an ARMv6-M processor implementation. This option signifies the use of an ARMv6-M processor implementation.
config ARMV7_M config ARMV7_M
bool bool
@ -68,35 +68,35 @@ config ARMV7_M
select CPU_CORTEX_M_HAS_BASEPRI select CPU_CORTEX_M_HAS_BASEPRI
select CPU_CORTEX_M_HAS_PROGRAMMABLE_FAULT_PRIOS select CPU_CORTEX_M_HAS_PROGRAMMABLE_FAULT_PRIOS
help help
This option signifies the use of an ARMv7-M processor implementation. This option signifies the use of an ARMv7-M processor implementation.
config CPU_CORTEX_M0 config CPU_CORTEX_M0
bool bool
# Omit prompt to signify "hidden" option # Omit prompt to signify "hidden" option
select ARMV6_M select ARMV6_M
help help
This option signifies the use of a Cortex-M0 CPU This option signifies the use of a Cortex-M0 CPU
config CPU_CORTEX_M0PLUS config CPU_CORTEX_M0PLUS
bool bool
# Omit prompt to signify "hidden" option # Omit prompt to signify "hidden" option
select ARMV6_M select ARMV6_M
help help
This option signifies the use of a Cortex-M0+ CPU This option signifies the use of a Cortex-M0+ CPU
config CPU_CORTEX_M3 config CPU_CORTEX_M3
bool bool
# Omit prompt to signify "hidden" option # Omit prompt to signify "hidden" option
select ARMV7_M select ARMV7_M
help help
This option signifies the use of a Cortex-M3 CPU This option signifies the use of a Cortex-M3 CPU
config CPU_CORTEX_M4 config CPU_CORTEX_M4
bool bool
# Omit prompt to signify "hidden" option # Omit prompt to signify "hidden" option
select ARMV7_M select ARMV7_M
help help
This option signifies the use of a Cortex-M4 CPU This option signifies the use of a Cortex-M4 CPU
config CPU_CORTEX_M7 config CPU_CORTEX_M7
bool bool
@ -104,7 +104,7 @@ config CPU_CORTEX_M7
select ARMV7_M select ARMV7_M
default n default n
help help
This option signifies the use of a Cortex-M7 CPU This option signifies the use of a Cortex-M7 CPU
menu "ARM Cortex-M options" menu "ARM Cortex-M options"
depends on CPU_CORTEX_M depends on CPU_CORTEX_M
@ -117,17 +117,17 @@ config DATA_ENDIANNESS_LITTLE
bool bool
default y default y
help help
This is driven by the processor implementation, since it is fixed in This is driven by the processor implementation, since it is fixed in
hardware. The board should set this value to 'n' if the data is hardware. The board should set this value to 'n' if the data is
implemented as big endian. implemented as big endian.
config STACK_ALIGN_DOUBLE_WORD config STACK_ALIGN_DOUBLE_WORD
bool bool
prompt "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
@ -135,10 +135,10 @@ config RUNTIME_NMI
select REBOOT select REBOOT
default n default n
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
loop if triggered. This fills the requirement that there must be an loop if triggered. This fills the requirement that there must be an
NMI handler installed when the CPU boots. If a custom handler is NMI handler installed when the CPU boots. If a custom handler is
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
@ -146,15 +146,15 @@ config FAULT_DUMP
default 2 default 2
range 0 2 range 0 2
help help
Different levels for display information when a fault occurs. Different levels for display information when a fault occurs.
2: The default. Display specific and verbose information. Consumes 2: The default. Display specific and verbose information. Consumes
the most memory (long strings). the most memory (long strings).
1: Display general and short information. Consumes less memory 1: Display general and short information. Consumes less memory
(short strings). (short strings).
0: Off. 0: Off.
config XIP config XIP
default y default y
@ -172,15 +172,15 @@ config ZERO_LATENCY_IRQS
default n default n
depends on CPU_CORTEX_M_HAS_BASEPRI depends on CPU_CORTEX_M_HAS_BASEPRI
help help
Interrupt locking is done by setting exception masking to priority Interrupt locking is done by setting exception masking to priority
one, thus allowing exception of priority zero to still come in. By one, thus allowing exception of priority zero to still come in. By
default, the kernel verifies, via __ASSERT() statements, that the default, the kernel verifies, via __ASSERT() statements, that the
interrupt priority is not set to zero when either connecting them or interrupt priority is not set to zero when either connecting them or
setting their priority. Enabling this option disables the check, setting their priority. Enabling this option disables the check,
thus allowing setting the priority of interrupts to zero. thus allowing setting the priority of interrupts to zero.
Note that this is a somewhat dangerous option: ISRs of priority zero Note that this is a somewhat dangerous option: ISRs of priority zero
interrupts cannot use any kernel functionality. interrupts cannot use any kernel functionality.
config ARCH_HAS_THREAD_ABORT config ARCH_HAS_THREAD_ABORT
bool bool

View file

@ -28,7 +28,7 @@ config CPU_NIOS2_GEN2
default y default y
select BUILD_OUTPUT_HEX select BUILD_OUTPUT_HEX
help help
This option signifies the use of a Nios II Gen 2 CPU This option signifies the use of a Nios II Gen 2 CPU
endmenu endmenu
@ -64,20 +64,20 @@ config INCLUDE_RESET_VECTOR
bool "Include Reset vector" bool "Include Reset vector"
default y default y
help help
Include the reset vector stub, which enables instruction/data caches Include the reset vector stub, which enables instruction/data caches
and then jumps to __start. This code is typically located at the very and then jumps to __start. This code is typically located at the very
beginning of flash memory. You may need to omit this if using the beginning of flash memory. You may need to omit this if using the
nios2-download tool since it refuses to load data anywhere other than nios2-download tool since it refuses to load data anywhere other than
RAM. RAM.
config EXTRA_EXCEPTION_INFO config EXTRA_EXCEPTION_INFO
bool "Extra exception debug information" bool "Extra exception debug information"
default n default n
help help
Have exceptions print additional useful debugging information in Have exceptions print additional useful debugging information in
human-readable form, at the expense of code size. For example, human-readable form, at the expense of code size. For example,
the cause code for an exception will be supplemented by a string the cause code for an exception will be supplemented by a string
describing what that cause code means. describing what that cause code means.
choice choice
prompt "Global Pointer options" prompt "Global Pointer options"
@ -86,28 +86,28 @@ default GP_GLOBAL
config GP_NONE config GP_NONE
bool "No global pointer" bool "No global pointer"
help help
Do not use global pointer relative offsets at all Do not use global pointer relative offsets at all
config GP_LOCAL config GP_LOCAL
bool "Local data global pointer references" bool "Local data global pointer references"
help help
Use global pointer relative offsets for small globals declared in the Use global pointer relative offsets for small globals declared in the
same C file as the code that uses it. same C file as the code that uses it.
config GP_GLOBAL config GP_GLOBAL
bool "Global data global pointer references" bool "Global data global pointer references"
help help
Use global pointer relative offsets for small globals declared Use global pointer relative offsets for small globals declared
anywhere in the executable. Note that if any small globals that are put anywhere in the executable. Note that if any small globals that are put
in alternate sections (such as _k_task_list_ptr) they must be declared in alternate sections (such as _k_task_list_ptr) they must be declared
in headers with proper __attribute__((section)) or the linker will in headers with proper __attribute__((section)) or the linker will
error out. error out.
config GP_ALL_DATA config GP_ALL_DATA
bool "All data global pointer references" bool "All data global pointer references"
help help
Use GP relative access for all data in the program, not just Use GP relative access for all data in the program, not just
small data. Use this if your board has 64K or less of RAM. small data. Use this if your board has 64K or less of RAM.
endchoice endchoice

View file

@ -27,35 +27,35 @@ config INCLUDE_RESET_VECTOR
bool "Include Reset vector" bool "Include Reset vector"
default n default n
help help
Include the reset vector stub that inits CPU and then jumps to __start Include the reset vector stub that inits CPU and then jumps to __start
config RISCV_SOC_CONTEXT_SAVE config RISCV_SOC_CONTEXT_SAVE
bool "Enable SOC-based context saving in IRQ handler" bool "Enable SOC-based context saving in IRQ handler"
default n default n
help help
Enable SOC-based context saving, for SOCS which require saving of Enable SOC-based context saving, for SOCS which require saving of
extra registers when entering an interrupt/exception extra registers when entering an interrupt/exception
config RISCV_SOC_INTERRUPT_INIT config RISCV_SOC_INTERRUPT_INIT
bool "Enable SOC-based interrupt initialization" bool "Enable SOC-based interrupt initialization"
default n default n
help help
Enable SOC-based interrupt initialization Enable SOC-based interrupt initialization
(call soc_interrupt_init, within _IntLibInit when enabled) (call soc_interrupt_init, within _IntLibInit when enabled)
config RISCV_GENERIC_TOOLCHAIN config RISCV_GENERIC_TOOLCHAIN
bool "Compile using generic riscv32 toolchain" bool "Compile using generic riscv32 toolchain"
default y default y
help help
Compile using generic riscv32 toolchain. Compile using generic riscv32 toolchain.
Allow SOCs that have custom extended riscv ISA to still Allow SOCs that have custom extended riscv ISA to still
compile with generic riscv32 toolchain. compile with generic riscv32 toolchain.
config RISCV_HAS_CPU_IDLE config RISCV_HAS_CPU_IDLE
bool "Does SOC has CPU IDLE instruction" bool "Does SOC has CPU IDLE instruction"
default n default n
help help
Does SOC has CPU IDLE instruction Does SOC has CPU IDLE instruction
config GEN_ISR_TABLES config GEN_ISR_TABLES
default y default y

View file

@ -21,7 +21,7 @@ config RISCV_HAS_PLIC
default n default n
depends on SOC_FAMILY_RISCV_PRIVILEGE depends on SOC_FAMILY_RISCV_PRIVILEGE
help help
Does the SOC provide support for a Platform Level Interrupt Controller Does the SOC provide support for a Platform Level Interrupt Controller
source "arch/riscv32/soc/riscv-privilege/*/Kconfig.soc" source "arch/riscv32/soc/riscv-privilege/*/Kconfig.soc"

View file

@ -37,7 +37,7 @@ config CPU_ATOM
select ARCH_HAS_STACK_PROTECTION if X86_MMU select ARCH_HAS_STACK_PROTECTION if X86_MMU
select ARCH_HAS_USERSPACE if X86_MMU select ARCH_HAS_USERSPACE if X86_MMU
help help
This option signifies the use of a CPU from the Atom family. This option signifies the use of a CPU from the Atom family.
config CPU_MINUTEIA config CPU_MINUTEIA
# Hidden # Hidden
@ -45,7 +45,7 @@ config CPU_MINUTEIA
select ARCH_HAS_USERSPACE if X86_MMU select ARCH_HAS_USERSPACE if X86_MMU
bool bool
help help
This option signifies the use of a CPU from the Minute IA family. This option signifies the use of a CPU from the Minute IA family.
menu "Processor Capabilities" menu "Processor Capabilities"
@ -54,12 +54,12 @@ config X86_IAMCU
default n default n
prompt "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
improvements. Great care needs to be taken if you have assembly code improvements. Great care needs to be taken if you have assembly code
that will be called from C or C code called from assembly code, the that will be called from C or C code called from assembly code, the
assembly code will need to be updated to conform to the new calling assembly code will need to be updated to conform to the new calling
convention. If in doubt say N convention. If in doubt say N
menu "Memory Management" menu "Memory Management"
config X86_MMU config X86_MMU
@ -67,8 +67,8 @@ config X86_MMU
default n default n
prompt "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
@ -76,23 +76,23 @@ config X86_PAE_MODE
default n default n
prompt "Enable PAE page tables" 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.
So any Page Table Entry (PTE) that sets the XD bit will have all So any Page Table Entry (PTE) that sets the XD bit will have all
instruction fetches disabled in that 4KB region. The amount of RAM instruction fetches disabled in that 4KB region. The amount of RAM
needed for PAE tables is more than twice that of 32-Bit paging needed for PAE tables is more than twice that of 32-Bit paging
because each PAE entry is 64bits wide. because each PAE entry is 64bits wide.
Note: Do not enable in RAM constrained devices. Note: Do not enable in RAM constrained devices.
endmenu endmenu
config X86_ENABLE_TSS config X86_ENABLE_TSS
bool bool
help help
This hidden option enables defining a Task State Segment (TSS) for This hidden option enables defining a Task State Segment (TSS) for
kernel execution. This is needed to handle double-faults or kernel execution. This is needed to handle double-faults or
do privilege elevation. It also defines a special TSS and handler do privilege elevation. It also defines a special TSS and handler
for correctly handling double-fault exceptions, instead of just for correctly handling double-fault exceptions, instead of just
letting the system triple-fault and reset. letting the system triple-fault and reset.
config X86_STACK_PROTECTION config X86_STACK_PROTECTION
bool bool
@ -101,9 +101,9 @@ config X86_STACK_PROTECTION
select GDT_DYNAMIC select GDT_DYNAMIC
select X86_ENABLE_TSS select X86_ENABLE_TSS
help help
This option leverages the MMU to cause a system fatal error if the This option leverages the MMU to cause a system fatal error if the
bounds of the current process stack are overflowed. This is done bounds of the current process stack are overflowed. This is done
by preceding all stack areas with a 4K guard page. by preceding all stack areas with a 4K guard page.
config X86_USERSPACE config X86_USERSPACE
bool bool
@ -113,9 +113,9 @@ config X86_USERSPACE
select GDT_DYNAMIC select GDT_DYNAMIC
select X86_ENABLE_TSS select X86_ENABLE_TSS
help help
This option enables APIs to drop a thread's privileges down to ring 3, This option enables APIs to drop a thread's privileges down to ring 3,
supporting user-level threads that are protected from each other and supporting user-level threads that are protected from each other and
from crashing the kernel. from crashing the kernel.
menu "Architecture Floating Point Options" menu "Architecture Floating Point Options"
depends on CPU_HAS_FPU depends on CPU_HAS_FPU
@ -126,7 +126,7 @@ config SSE
depends on FLOAT depends on FLOAT
default n default n
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
@ -134,15 +134,15 @@ config SSE_FP_MATH
depends on SSE depends on SSE
default n default n
help help
This option allows the compiler to generate SSEx instructions for This option allows the compiler to generate SSEx instructions for
performing floating point math. This can greatly improve performance performing floating point math. This can greatly improve performance
when exactly the same operations are to be performed on multiple when exactly the same operations are to be performed on multiple
data objects; however, it can also significantly reduce performance data objects; however, it can also significantly reduce performance
when preemptive task switches occur because of the larger register when preemptive task switches occur because of the larger register
set that must be saved and restored. set that must be saved and restored.
Disabling this option means that the compiler utilizes only the Disabling this option means that the compiler utilizes only the
x87 instruction set for floating point operations. x87 instruction set for floating point operations.
endmenu endmenu
choice choice
@ -154,7 +154,7 @@ config REBOOT_RST_CNT
bool bool
prompt "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.
endchoice endchoice
@ -163,8 +163,8 @@ config ISA_IA32
bool bool
default y default y
help help
This option signifies the use of a CPU based on the Intel IA-32 This option signifies the use of a CPU based on the Intel IA-32
instruction set architecture. instruction set architecture.
config IA32_LEGACY_IO_PORTS config IA32_LEGACY_IO_PORTS
bool bool
@ -172,26 +172,26 @@ config IA32_LEGACY_IO_PORTS
default n default n
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
than memory access, so they should be used in last resort. than memory access, so they should be used in last resort.
config CMOV config CMOV
def_bool n def_bool n
help help
This option signifies the use of an Intel CPU that supports This option signifies the use of an Intel CPU that supports
the CMOV instruction. the CMOV instruction.
config CACHE_LINE_SIZE_DETECT config CACHE_LINE_SIZE_DETECT
bool bool
prompt "Detect cache line size at runtime" prompt "Detect cache line size at runtime"
default y default y
help help
This option enables querying the CPUID register for finding the cache line This option enables querying the CPUID register for finding the cache line
size at the expense of taking more memory and code and a slightly increased size at the expense of taking more memory and code and a slightly increased
boot time. boot time.
If the CPU's cache line size is known in advance, disable this option and If the CPU's cache line size is known in advance, disable this option and
manually enter the value for CACHE_LINE_SIZE. manually enter the value for CACHE_LINE_SIZE.
config CACHE_LINE_SIZE config CACHE_LINE_SIZE
int int
@ -200,9 +200,9 @@ config CACHE_LINE_SIZE
default 64 if CPU_ATOM default 64 if CPU_ATOM
default 0 default 0
help help
Size in bytes of a CPU cache line. Size in bytes of a CPU cache line.
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
@ -210,12 +210,12 @@ config CLFLUSH_INSTRUCTION_SUPPORTED
depends on !CLFLUSH_DETECT && CACHE_FLUSHING depends on !CLFLUSH_DETECT && CACHE_FLUSHING
default n default n
help help
An implementation of sys_cache_flush() that uses CLFLUSH is made An implementation of sys_cache_flush() that uses CLFLUSH is made
available, instead of the one using WBINVD. available, instead of the one using WBINVD.
This option should only be enabled if it is known in advance that the This option should only be enabled if it is known in advance that the
CPU supports the CLFLUSH instruction. It disables runtime detection of CPU supports the CLFLUSH instruction. It disables runtime detection of
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
@ -223,15 +223,15 @@ config CLFLUSH_DETECT
depends on CACHE_FLUSHING depends on CACHE_FLUSHING
default n default n
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
CPU supports the CLFLUSH instruction or not. CPU supports the CLFLUSH instruction or not.
The CPU is queried at boot time to determine which of the multiple The CPU is queried at boot time to determine which of the multiple
implementations of sys_cache_flush() linked into the image is the implementations of sys_cache_flush() linked into the image is the
correct one to use. correct one to use.
If the CPU's support (or lack thereof) of CLFLUSH is known in advance, then If the CPU's support (or lack thereof) of CLFLUSH is known in advance, then
disable this option and set CLFLUSH_INSTRUCTION_SUPPORTED as appropriate. disable this option and set CLFLUSH_INSTRUCTION_SUPPORTED as appropriate.
config ARCH_CACHE_FLUSH_DETECT config ARCH_CACHE_FLUSH_DETECT
bool bool
@ -243,24 +243,24 @@ config CACHE_FLUSHING
default n default n
prompt "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
runtime. runtime.
config PIC_DISABLE config PIC_DISABLE
bool "Disable PIC" bool "Disable PIC"
default n default n
help help
This option disables all interrupts on the PIC This option disables all interrupts on the PIC
config X86_KERNEL_OOPS config X86_KERNEL_OOPS
bool "Enable handling of kernel oops as an exception" bool "Enable handling of kernel oops as an exception"
default y default y
help help
Enable handling of k_oops() API as a CPU exception, which will provide Enable handling of k_oops() API as a CPU exception, which will provide
extra debugging information such as program counter and register extra debugging information such as program counter and register
values when the oops is triggered. Requires an entry in the IDT. values when the oops is triggered. Requires an entry in the IDT.
config X86_KERNEL_OOPS_VECTOR config X86_KERNEL_OOPS_VECTOR
int "IDT vector to use for kernel oops" int "IDT vector to use for kernel oops"
@ -269,10 +269,10 @@ config X86_KERNEL_OOPS_VECTOR
range 32 255 range 32 255
depends on X86_KERNEL_OOPS depends on X86_KERNEL_OOPS
help help
Specify the IDT vector to use for the kernel oops exception handler. Specify the IDT vector to use for the kernel oops exception handler.
The default should be fine for most arches, but on systems like MVIC The default should be fine for most arches, but on systems like MVIC
where there is a fixed IRQ-to-vector mapping another value may be where there is a fixed IRQ-to-vector mapping another value may be
needed to avoid collision. needed to avoid collision.
config IRQ_OFFLOAD_VECTOR config IRQ_OFFLOAD_VECTOR
int "IDT vector to use for IRQ offload" int "IDT vector to use for IRQ offload"
@ -281,10 +281,10 @@ config IRQ_OFFLOAD_VECTOR
range 32 255 range 32 255
depends on IRQ_OFFLOAD depends on IRQ_OFFLOAD
help help
Specify the IDT vector to use for the IRQ offload interrupt handler. Specify the IDT vector to use for the IRQ offload interrupt handler.
The default should be fine for most arches, but on systems like MVIC The default should be fine for most arches, but on systems like MVIC
where there is a fixed IRQ-to-vector mapping another value may be where there is a fixed IRQ-to-vector mapping another value may be
needed to avoid collision. needed to avoid collision.
config XIP config XIP
@ -294,8 +294,8 @@ config X86_FIXED_IRQ_MAPPING
bool bool
default n default n
help help
Specify whether the current interrupt controller in use has a fixed Specify whether the current interrupt controller in use has a fixed
mapping between IDT vectors and IRQ lines. mapping between IDT vectors and IRQ lines.
endmenu endmenu

View file

@ -11,7 +11,7 @@ config NESTED_INTERRUPTS
prompt "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
@ -19,10 +19,10 @@ config EXCEPTION_DEBUG
default y default y
depends on PRINTK depends on PRINTK
help help
Install handlers for various CPU exception/trap vectors to Install handlers for various CPU exception/trap vectors to
make debugging them easier, at a small expense in code size. make debugging them easier, at a small expense in code size.
This prints out the specific exception vector and any associated This prints out the specific exception vector and any associated
error codes. error codes.
menu "Memory Layout Options" menu "Memory Layout Options"
@ -32,9 +32,9 @@ config IDT_NUM_VECTORS
default 256 default 256
range 32 256 range 32 256
help help
This option specifies the number of interrupt vector entries in the This option specifies the number of interrupt vector entries in the
Interrupt Descriptor Table (IDT). By default all 256 vectors are Interrupt Descriptor Table (IDT). By default all 256 vectors are
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
@ -42,18 +42,18 @@ config MAX_IRQ_LINES
default 128 default 128
range 0 256 range 0 256
help help
This option specifies the number of IRQ lines in the system. This option specifies the number of IRQ lines in the system.
It can be tuned to save some bytes in ROM, as it determines the It can be tuned to save some bytes in ROM, as it determines the
size of the _irq_to_interrupt_vector_table, which is used at runtime size of the _irq_to_interrupt_vector_table, which is used at runtime
to program to the PIC the association between vectors and to program to the PIC the association between vectors and
interrupts. interrupts.
if !HAS_DTS if !HAS_DTS
config PHYS_LOAD_ADDR config PHYS_LOAD_ADDR
hex "Physical load address" hex "Physical load address"
# Default value must be supplied by platform # Default value must be supplied by platform
help help
This option specifies the physical address where the kernel is loaded. This option specifies the physical address where the kernel is loaded.
endif endif
if !HAS_DTS if !HAS_DTS
@ -61,39 +61,39 @@ config PHYS_RAM_ADDR
hex "Physical RAM address" hex "Physical RAM address"
# Default value must be supplied by platform # Default value must be supplied by platform
help help
This option specifies the physical RAM address of the selected SoC. This option specifies the physical RAM address of the selected SoC.
endif endif
config RAM_SIZE config RAM_SIZE
int "Amount of RAM given to the kernel (in kB)" int "Amount of RAM given to the kernel (in kB)"
help help
This option specifies the amount of RAM given to the kernel. It must This option specifies the amount of RAM given to the kernel. It must
not exceed the amount available on the target. When running an XIP not exceed the amount available on the target. When running an XIP
kernel, it must be large enough to contain the data, bss and noinit kernel, it must be large enough to contain the data, bss and noinit
sections. When not running an XIP kernel, it must be large enough to sections. When not running an XIP kernel, it must be large enough to
contain the full image. contain the full image.
The default value is specified by the board. The default value is specified by the board.
config ROM_SIZE config ROM_SIZE
int "Amount of ROM given to the kernel (in kB)" if XIP int "Amount of ROM given to the kernel (in kB)" if XIP
help help
This option specifies the amount of ROM given to the kernel. It must This option specifies the amount of ROM given to the kernel. It must
not exceed the amount available on the target. It must also be large not exceed the amount available on the target. It must also be large
enough to contain the full image. enough to contain the full image.
The default value is specified by the board. The default value is specified by the board.
config SET_GDT config SET_GDT
bool bool
prompt "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,
this may conflict with some security scenarios where the GDT is this may conflict with some security scenarios where the GDT is
already appropriately set by an earlier bootloader stage, in which already appropriately set by an earlier bootloader stage, in which
case this should be disabled. If disabled, the global _gdt pointer case this should be disabled. If disabled, the global _gdt pointer
will not be available. will not be available.
config GDT_DYNAMIC config GDT_DYNAMIC
bool bool
@ -101,7 +101,7 @@ config GDT_DYNAMIC
depends on SET_GDT depends on SET_GDT
default n default n
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
be modified at runtime at the expense of some memory. be modified at runtime at the expense of some memory.
endmenu endmenu

View file

@ -12,15 +12,15 @@ config BSP_SHARED_GDT_RAM_ADDR
hex "Address of the shared RAM with the QMSI Bootloader" hex "Address of the shared RAM with the QMSI Bootloader"
default 0x00281FE0 default 0x00281FE0
help help
Address of the memory shared between the BSP and the Bootloader in order Address of the memory shared between the BSP and the Bootloader in order
to store the GDT. to store the GDT.
config BSP_SHARED_GDT_RAM_SIZE config BSP_SHARED_GDT_RAM_SIZE
hex "Size of the shared RAM with the QMSI Bootloader" hex "Size of the shared RAM with the QMSI Bootloader"
depends on !SET_GDT depends on !SET_GDT
default 0x20 default 0x20
help help
Size of the memory shared between the BSP and the Bootloader in order Size of the memory shared between the BSP and the Bootloader in order
to store the GDT. to store the GDT.
endif #SOC_QUARK_D2000_X86 endif #SOC_QUARK_D2000_X86

View file

@ -12,21 +12,21 @@ config EOI_FORWARDING_BUG
bool bool
default y default y
help help
Quark SE LOAPIC has issues with forwarding EOI to the IOAPIC for level Quark SE LOAPIC has issues with forwarding EOI to the IOAPIC for level
triggered interrupts, this is a SW workaround. triggered interrupts, this is a SW workaround.
config SS_RESET_VECTOR config SS_RESET_VECTOR
hex "Sensor Subsystem Reset Vector" hex "Sensor Subsystem Reset Vector"
default 0x40000000 default 0x40000000
help help
Sensor subsystem reset vector. This value is needed to init the ARC Sensor subsystem reset vector. This value is needed to init the ARC
system on the SoC. system on the SoC.
config ARC_INIT config ARC_INIT
bool "Quark SE ARC Kickoff" bool "Quark SE ARC Kickoff"
default n default n
help help
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
@ -34,45 +34,45 @@ config SYS_LOG_ARC_INIT_LEVEL
depends on SYS_LOG depends on SYS_LOG
default 0 default 0
help help
Sets log level for the boot initialization and boot process of the sensor Sets log level for the boot initialization and boot process of the sensor
sub-system. sub-system.
Levels are: Levels are:
- 0 OFF, do not write - 0 OFF, do not write
- 1 ERROR, only write SYS_LOG_ERR - 1 ERROR, only write SYS_LOG_ERR
- 2 WARNING, write SYS_LOG_WRN in addition to previous level - 2 WARNING, write SYS_LOG_WRN in addition to previous level
- 3 INFO, write SYS_LOG_INF in addition to previous levels - 3 INFO, write SYS_LOG_INF in addition to previous levels
- 4 DEBUG, write SYS_LOG_DBG in addition to previous levels - 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
config ARC_GDB_ENABLE config ARC_GDB_ENABLE
bool "Allows the usage of GDB with the ARC processor." bool "Allows the usage of GDB with the ARC processor."
depends on ARC_INIT depends on ARC_INIT
default n default n
help help
This option will stop the master processor from boot-strapping This option will stop the master processor from boot-strapping
the ARC slave processor. This will allow GDB to halt and the ARC slave processor. This will allow GDB to halt and
engage the ARC processor to proceed step by step execution. engage the ARC processor to proceed step by step execution.
if IPM if IPM
config QUARK_SE_IPM_IRQ_PRI config QUARK_SE_IPM_IRQ_PRI
int "IPM interrupt priority" int "IPM interrupt priority"
default 2 default 2
help help
Priority level for interrupts coming in from the inter-processor Priority level for interrupts coming in from the inter-processor
mailboxes. mailboxes.
if IPM_CONSOLE_RECEIVER if IPM_CONSOLE_RECEIVER
config QUARK_SE_IPM_CONSOLE_RING_BUF_SIZE32 config QUARK_SE_IPM_CONSOLE_RING_BUF_SIZE32
int "IPM Console Ring Buffer Size" int "IPM Console Ring Buffer Size"
default 256 default 256
help help
Size of the buffer for the console receiver, for incoming Size of the buffer for the console receiver, for incoming
console messages from the ARC side. Must be a power of 2. console messages from the ARC side. Must be a power of 2.
endif endif
endif endif
@ -80,28 +80,28 @@ config BSP_SHARED_RESTORE_INFO_RAM_ADDR
hex "Address of the restore information in RAM shared with the QMSI Bootloader" hex "Address of the restore information in RAM shared with the QMSI Bootloader"
default 0xA8013FDC default 0xA8013FDC
help help
Address of the memory shared between the BSP and the Bootloader in order Address of the memory shared between the BSP and the Bootloader in order
to store restore information. to store restore information.
config BSP_SHARED_RESTORE_INFO_SIZE config BSP_SHARED_RESTORE_INFO_SIZE
hex "Size of the restore information in RAM shared with the QMSI Bootloader" hex "Size of the restore information in RAM shared with the QMSI Bootloader"
default 0x4 default 0x4
help help
Size of the memory shared between the BSP and the Bootloader in order Size of the memory shared between the BSP and the Bootloader in order
to store restore information. to store restore information.
config BSP_SHARED_GDT_RAM_ADDR config BSP_SHARED_GDT_RAM_ADDR
hex "Address of the GDT in RAM shared with the QMSI Bootloader" hex "Address of the GDT in RAM shared with the QMSI Bootloader"
default 0xA8013FE0 default 0xA8013FE0
help help
Address of the memory shared between the BSP and the Bootloader in order Address of the memory shared between the BSP and the Bootloader in order
to store the GDT. to store the GDT.
config BSP_SHARED_GDT_RAM_SIZE config BSP_SHARED_GDT_RAM_SIZE
hex "Size of the GDT in RAM shared with the QMSI Bootloader" hex "Size of the GDT in RAM shared with the QMSI Bootloader"
default 0x20 default 0x20
help help
Size of the memory shared between the BSP and the Bootloader in order Size of the memory shared between the BSP and the Bootloader in order
to store the GDT. to store the GDT.
endif #SOC_QUARK_SE_C1000_X86 endif #SOC_QUARK_SE_C1000_X86

View file

@ -28,42 +28,42 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
default 2000000 default 2000000
range 1000000 1000000000 range 1000000 1000000000
help help
This option specifies hardware clock. This option specifies hardware clock.
config XTENSA_NO_IPC config XTENSA_NO_IPC
bool "Core has no IPC support" bool "Core has no IPC support"
select ATOMIC_OPERATIONS_C select ATOMIC_OPERATIONS_C
default n default n
help help
Uncheck this if you core does not implement "SCOMPARE1" register and "s32c1i" Uncheck this if you core does not implement "SCOMPARE1" register and "s32c1i"
instruction. instruction.
config SW_ISR_TABLE config SW_ISR_TABLE
bool bool
prompt "Enable software interrupt handler table" prompt "Enable software interrupt handler table"
default y default y
help help
Enable an interrupt handler table implemented in software. This Enable an interrupt handler table implemented in software. This
table, unlike ISRs connected directly in the vector table, allow table, unlike ISRs connected directly in the vector table, allow
a parameter to be passed to the interrupt handlers. Also, invoking a parameter to be passed to the interrupt handlers. Also, invoking
the exception/interrupt exit stub is automatically done. the exception/interrupt exit stub is automatically done.
config XTENSA_RESET_VECTOR config XTENSA_RESET_VECTOR
bool bool
prompt "Build reset vector code" prompt "Build reset vector code"
default y default y
help help
This option controls whether the initial reset vector code is built. This option controls whether the initial reset vector code is built.
This is always needed for the simulator. Real boards may already This is always needed for the simulator. Real boards may already
implement this in boot ROM. implement this in boot ROM.
config XTENSA_USE_CORE_CRT1 config XTENSA_USE_CORE_CRT1
bool bool
prompt "Use crt1.S from core" prompt "Use crt1.S from core"
default y default y
help help
SoC or boards might define their own __start by setting this setting SoC or boards might define their own __start by setting this setting
to false. to false.
menu "Specific core configuration" menu "Specific core configuration"

View file

@ -2,10 +2,10 @@
config BOARD_DEPRECATED config BOARD_DEPRECATED
string string
help help
This hidden option is set in the board configuration and indicates This hidden option is set in the board configuration and indicates
the Zephyr release that the board configuration will be removed. the Zephyr release that the board configuration will be removed.
When set, any build for that board will generate a clearly visible When set, any build for that board will generate a clearly visible
deprecation warning. deprecation warning.
config QEMU_TARGET config QEMU_TARGET
bool bool

View file

@ -14,49 +14,49 @@ config PINMUX_GALILEO_EXP0_NAME
depends on PINMUX && BOARD_GALILEO depends on PINMUX && BOARD_GALILEO
default "EXP0" default "EXP0"
help help
The name of the GPIO expander labeled as EXP0 in the schematic. The name of the GPIO expander labeled as EXP0 in the schematic.
config PINMUX_GALILEO_EXP1_NAME config PINMUX_GALILEO_EXP1_NAME
string "Name of the GPIO expander 1" string "Name of the GPIO expander 1"
depends on PINMUX && BOARD_GALILEO depends on PINMUX && BOARD_GALILEO
default "EXP1" default "EXP1"
help help
The name of the GPIO expander labeled as EXP1 in the schematic. The name of the GPIO expander labeled as EXP1 in the schematic.
config PINMUX_GALILEO_EXP2_NAME config PINMUX_GALILEO_EXP2_NAME
string "Name of the GPIO expander 2" string "Name of the GPIO expander 2"
depends on PINMUX && BOARD_GALILEO depends on PINMUX && BOARD_GALILEO
default "EXP2" default "EXP2"
help help
The name of the GPIO expander labeled as EXP2 in the schematic. The name of the GPIO expander labeled as EXP2 in the schematic.
config PINMUX_GALILEO_PWM0_NAME config PINMUX_GALILEO_PWM0_NAME
string "Name of the PWM LED expander 0" string "Name of the PWM LED expander 0"
depends on PINMUX && BOARD_GALILEO depends on PINMUX && BOARD_GALILEO
default "PWM0" default "PWM0"
help help
The name of the PWM LED expander labeled as PWM0 in the schematic. The name of the PWM LED expander labeled as PWM0 in the schematic.
config PINMUX_GALILEO_GPIO_DW_NAME config PINMUX_GALILEO_GPIO_DW_NAME
string "Name of the DesignWare GPIO" string "Name of the DesignWare GPIO"
depends on PINMUX && BOARD_GALILEO depends on PINMUX && BOARD_GALILEO
default "GPIO_0" default "GPIO_0"
help help
The name of the DesignWare GPIO with GPIO<0>..GPIO<7> in the schematic. The name of the DesignWare GPIO with GPIO<0>..GPIO<7> in the schematic.
config PINMUX_GALILEO_GPIO_INTEL_CW_NAME config PINMUX_GALILEO_GPIO_INTEL_CW_NAME
string "Name of the Legacy Bridge Core Well GPIO" string "Name of the Legacy Bridge Core Well GPIO"
depends on PINMUX && BOARD_GALILEO depends on PINMUX && BOARD_GALILEO
default "GPIO_M0" default "GPIO_M0"
help help
The name of the Legacy Bridge Core Well GPIO with GPIO<8>..GPIO<9> The name of the Legacy Bridge Core Well GPIO with GPIO<8>..GPIO<9>
in the schematic. in the schematic.
config PINMUX_GALILEO_GPIO_INTEL_RW_NAME config PINMUX_GALILEO_GPIO_INTEL_RW_NAME
string "Name of the Legacy Bridge Resume Well GPIO" string "Name of the Legacy Bridge Resume Well GPIO"
depends on PINMUX && BOARD_GALILEO depends on PINMUX && BOARD_GALILEO
default "GPIO_M1" default "GPIO_M1"
help help
The name of the Legacy Bridge Resume Well GPIO with The name of the Legacy Bridge Resume Well GPIO with
GPIO_SUS<0>..GPIO_SUS<5> in the schematic. GPIO_SUS<0>..GPIO_SUS<5> in the schematic.
endif endif

View file

@ -7,6 +7,6 @@ config XTENSA_XTSC_INC
string "Xtensa XTSC extension include file" string "Xtensa XTSC extension include file"
depends on SIMULATOR_XTENSA depends on SIMULATOR_XTENSA
help help
If you want to use xtsc-run with an extended core, then you can put here the If you want to use xtsc-run with an extended core, then you can put here the
path to the include file of the extension model. This path can either be path to the include file of the extension model. This path can either be
absolute or relative to the execution directory. absolute or relative to the execution directory.

View file

@ -17,15 +17,15 @@ config CONSOLE_INPUT_MAX_LINE_LEN
int "Console maximum input line length" int "Console maximum input line length"
default 128 default 128
help help
This option can be used to modify the maximum length a console input This option can be used to modify the maximum length a console input
can be. can be.
config CONSOLE_HAS_DRIVER config CONSOLE_HAS_DRIVER
bool bool
default n default n
help help
This is an option to be enabled by console drivers to signal This is an option to be enabled by console drivers to signal
that some kind of console exists. that some kind of console exists.
config CONSOLE_HANDLER config CONSOLE_HANDLER
bool bool
@ -34,8 +34,8 @@ config CONSOLE_HANDLER
select UART_INTERRUPT_DRIVEN select UART_INTERRUPT_DRIVEN
default n default n
help help
This option enables console input handler allowing to write simple This option enables console input handler allowing to write simple
interaction between serial console and the OS. interaction between serial console and the OS.
config UART_CONSOLE config UART_CONSOLE
bool bool
@ -44,8 +44,8 @@ config UART_CONSOLE
depends on SERIAL && SERIAL_HAS_DRIVER depends on SERIAL && SERIAL_HAS_DRIVER
select CONSOLE_HAS_DRIVER select CONSOLE_HAS_DRIVER
help help
Enable this option to use one UART for console. Make sure Enable this option to use one UART for console. Make sure
CONFIG_UART_CONSOLE_ON_DEV_NAME is also set correctly. CONFIG_UART_CONSOLE_ON_DEV_NAME is also set correctly.
if !HAS_DTS if !HAS_DTS
config UART_CONSOLE_ON_DEV_NAME config UART_CONSOLE_ON_DEV_NAME
@ -53,8 +53,8 @@ config UART_CONSOLE_ON_DEV_NAME
default "UART_0" default "UART_0"
depends on UART_CONSOLE depends on UART_CONSOLE
help help
This option specifies the name of UART device to be used for This option specifies the name of UART device to be used for
UART console. UART console.
endif endif
config UART_CONSOLE_INIT_PRIORITY config UART_CONSOLE_INIT_PRIORITY
@ -73,11 +73,11 @@ config UART_CONSOLE_DEBUG_SERVER_HOOKS
default n default n
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
handling of traffic that goes through the console logic. The debug handling of traffic that goes through the console logic. The debug
server looks at characters received and decides to handle them itself if server looks at characters received and decides to handle them itself if
they are some sort of control characters, or let the regular console they are some sort of control characters, or let the regular console
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 USB_UART_CONSOLE config USB_UART_CONSOLE
bool bool
@ -87,11 +87,11 @@ config USB_UART_CONSOLE
select USB_CDC_ACM select USB_CDC_ACM
default n default n
help help
Enable this option to use the USB UART for console output. The output Enable this option to use the USB UART for console output. The output
can be viewed from the USB host via /dev/ttyACM* port. Note that console can be viewed from the USB host via /dev/ttyACM* port. Note that console
inputs from the USB UART are not functional yet. Also since the USB inputs from the USB UART are not functional yet. Also since the USB
layer currently doesn't support multiple interfaces, this shouldn't be layer currently doesn't support multiple interfaces, this shouldn't be
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
@ -99,9 +99,9 @@ config USB_UART_DTR_WAIT
default n default n
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
waits until the DTR is asserted by the host. waits until the DTR is asserted by the host.
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
@ -109,17 +109,17 @@ config RAM_CONSOLE
select CONSOLE_HAS_DRIVER select CONSOLE_HAS_DRIVER
default n default n
help help
Emit console messages to a RAM buffer "ram_console" which can Emit console messages to a RAM buffer "ram_console" which can
be examined at runtime with a debugger. Useful in board bring-up be examined at runtime with a debugger. Useful in board bring-up
if there aren't any working serial drivers. if there aren't any working serial drivers.
config RAM_CONSOLE_BUFFER_SIZE config RAM_CONSOLE_BUFFER_SIZE
int "Ram Console buffer size" int "Ram Console buffer size"
default 1024 default 1024
depends on RAM_CONSOLE depends on RAM_CONSOLE
help help
Size of the RAM console buffer. Messages will wrap around if the Size of the RAM console buffer. Messages will wrap around if the
length is exceeded. length is exceeded.
config RTT_CONSOLE config RTT_CONSOLE
bool bool
@ -128,9 +128,9 @@ config RTT_CONSOLE
select CONSOLE_HAS_DRIVER select CONSOLE_HAS_DRIVER
default n default n
help help
Emit console messages to a RAM buffer that is then read by the Emit console messages to a RAM buffer that is then read by the
Segger J-Link software and displayed on a computer in real-time. Segger J-Link software and displayed on a computer in real-time.
Requires support for Segger J-Link on the companion IC onboard. Requires support for Segger J-Link on the companion IC onboard.
config IPM_CONSOLE_SENDER config IPM_CONSOLE_SENDER
bool bool
@ -138,7 +138,7 @@ config IPM_CONSOLE_SENDER
select CONSOLE_HAS_DRIVER select CONSOLE_HAS_DRIVER
default n default n
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
@ -146,7 +146,7 @@ config IPM_CONSOLE_RECEIVER
select RING_BUFFER select RING_BUFFER
default n default n
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
@ -154,9 +154,9 @@ config IPM_CONSOLE_STACK_SIZE
depends on IPM_CONSOLE_RECEIVER depends on IPM_CONSOLE_RECEIVER
default 512 default 512
help help
Each instance of the IPM console receiver driver creates a worker Each instance of the IPM console receiver driver creates a worker
thread to print out incoming messages from the remote CPU. Specify the thread to print out incoming messages from the remote CPU. Specify the
stack size for these threads here. stack size for these threads here.
config IPM_CONSOLE_INIT_PRIORITY config IPM_CONSOLE_INIT_PRIORITY
int int
@ -174,10 +174,10 @@ config UART_PIPE
select UART_INTERRUPT_DRIVEN select UART_INTERRUPT_DRIVEN
default n default n
help help
Enable pipe UART driver. This driver allows application to communicate Enable pipe UART driver. This driver allows application to communicate
over UART with custom defined protocol. Driver doesn't inspect received over UART with custom defined protocol. Driver doesn't inspect received
data (as contrary to console UART driver) and all aspects of received data (as contrary to console UART driver) and all aspects of received
protocol data are handled by application provided callback. protocol data are handled by application provided callback.
if !HAS_DTS if !HAS_DTS
config UART_PIPE_ON_DEV_NAME config UART_PIPE_ON_DEV_NAME
@ -185,8 +185,8 @@ config UART_PIPE_ON_DEV_NAME
default "UART_0" default "UART_0"
depends on UART_PIPE depends on UART_PIPE
help help
This option specifies the name of UART device to be used This option specifies the name of UART device to be used
for pipe UART. for pipe UART.
endif endif
config XTENSA_SIM_CONSOLE config XTENSA_SIM_CONSOLE
@ -196,7 +196,7 @@ config XTENSA_SIM_CONSOLE
select CONSOLE_HAS_DRIVER select CONSOLE_HAS_DRIVER
default y default y
help help
Use simulator console to print messages. Use simulator console to print messages.
config XTENSA_CONSOLE_INIT_PRIORITY config XTENSA_CONSOLE_INIT_PRIORITY
int int

View file

@ -20,26 +20,26 @@ config CRYPTO_INIT_PRIORITY
int "Crypto devices init priority" int "Crypto devices init priority"
default 90 default 90
help help
Crypto devices initialization priority. Crypto devices initialization priority.
config SYS_LOG_CRYPTO_LEVEL config SYS_LOG_CRYPTO_LEVEL
int "Crypto drivers log level" int "Crypto drivers log level"
default 0 default 0
depends on SYS_LOG depends on SYS_LOG
help help
Sets log level for crypto drivers Sets log level for crypto drivers
Levels are: Levels are:
- 0 OFF, do not write - 0 OFF, do not write
- 1 ERROR, only write SYS_LOG_ERR - 1 ERROR, only write SYS_LOG_ERR
- 2 WARNING, write SYS_LOG_WRN in addition to previous level - 2 WARNING, write SYS_LOG_WRN in addition to previous level
- 3 INFO, write SYS_LOG_INF in addition to previous levels - 3 INFO, write SYS_LOG_INF in addition to previous levels
- 4 DEBUG, write SYS_LOG_DBG in addition to previous levels - 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
config CRYPTO_TINYCRYPT_SHIM config CRYPTO_TINYCRYPT_SHIM
bool "Enable TinyCrypt shim driver [EXPERIMENTAL] " bool "Enable TinyCrypt shim driver [EXPERIMENTAL] "
@ -51,22 +51,22 @@ config CRYPTO_TINYCRYPT_SHIM
select TINYCRYPT_AES_CCM select TINYCRYPT_AES_CCM
select TINYCRYPT_AES_CMAC select TINYCRYPT_AES_CMAC
help help
Enable TinyCrypt shim layer compliant with crypto APIs. Enable TinyCrypt shim layer compliant with crypto APIs.
config CRYPTO_TINYCRYPT_SHIM_MAX_SESSION config CRYPTO_TINYCRYPT_SHIM_MAX_SESSION
int "Maximum of sessions TinyCrypt shim driver can handle" int "Maximum of sessions TinyCrypt shim driver can handle"
default 2 default 2
depends on CRYPTO_TINYCRYPT_SHIM depends on CRYPTO_TINYCRYPT_SHIM
help help
This can be used to tweak the amount of sessions the driver This can be used to tweak the amount of sessions the driver
can handle in parallel. can handle in parallel.
config CRYPTO_TINYCRYPT_SHIM_DRV_NAME config CRYPTO_TINYCRYPT_SHIM_DRV_NAME
string "Device name for TinyCrypt Pseudo device" string "Device name for TinyCrypt Pseudo device"
default "CRYPTO_TC" default "CRYPTO_TC"
depends on CRYPTO_TINYCRYPT_SHIM depends on CRYPTO_TINYCRYPT_SHIM
help help
Device name for TinyCrypt Pseudo device. Device name for TinyCrypt Pseudo device.
config CRYPTO_MBEDTLS_SHIM config CRYPTO_MBEDTLS_SHIM
bool "Enable mbedTLS shim driver [EXPERIMENTAL] " bool "Enable mbedTLS shim driver [EXPERIMENTAL] "
@ -75,23 +75,23 @@ config CRYPTO_MBEDTLS_SHIM
select MBEDTLS_BUILTIN select MBEDTLS_BUILTIN
select MBEDTLS_ENABLE_HEAP select MBEDTLS_ENABLE_HEAP
help help
Enable mbedTLS shim layer compliant with crypto APIs. You will need Enable mbedTLS shim layer compliant with crypto APIs. You will need
to fill in a relevant value to CONFIG_MBEDTLS_HEAP_SIZE. to fill in a relevant value to CONFIG_MBEDTLS_HEAP_SIZE.
config CRYPTO_MBEDTLS_SHIM_DRV_NAME config CRYPTO_MBEDTLS_SHIM_DRV_NAME
string "Device name for mbedTLS Pseudo device" string "Device name for mbedTLS Pseudo device"
default "CRYPTO_MTLS" default "CRYPTO_MTLS"
depends on CRYPTO_MBEDTLS_SHIM depends on CRYPTO_MBEDTLS_SHIM
help help
Device name for mbedTLS Pseudo device. Device name for mbedTLS Pseudo device.
config CRYPTO_MBEDTLS_SHIM_MAX_SESSION config CRYPTO_MBEDTLS_SHIM_MAX_SESSION
int "Maximum of sessions mbedTLS shim driver can handle" int "Maximum of sessions mbedTLS shim driver can handle"
default 2 default 2
depends on CRYPTO_MBEDTLS_SHIM depends on CRYPTO_MBEDTLS_SHIM
help help
This can be used to tweak the amount of sessions the driver This can be used to tweak the amount of sessions the driver
can handle in parallel. can handle in parallel.
source "drivers/crypto/Kconfig.ataes132a" source "drivers/crypto/Kconfig.ataes132a"

View file

@ -19,37 +19,37 @@ config DMA_0_NAME
string "Device name for DMA Controller 0" string "Device name for DMA Controller 0"
default "DMA_0" default "DMA_0"
help help
Device name for DMA Controller 0. Device name for DMA Controller 0.
config DMA_0_IRQ_PRI config DMA_0_IRQ_PRI
int "IRQ Priority for DMA Controller 0" int "IRQ Priority for DMA Controller 0"
default 3 default 3
help help
IRQ Priority for the DMA Controller. IRQ Priority for the DMA Controller.
config DMA_1_NAME config DMA_1_NAME
string "Device name for DMA Controller 1" string "Device name for DMA Controller 1"
default "DMA_1" default "DMA_1"
help help
Device name for DMA Controller 1. Device name for DMA Controller 1.
config DMA_1_IRQ_PRI config DMA_1_IRQ_PRI
int "IRQ Priority for DMA Controller 1" int "IRQ Priority for DMA Controller 1"
default 3 default 3
help help
IRQ Priority for DMA Controller 1. IRQ Priority for DMA Controller 1.
config DMA_2_NAME config DMA_2_NAME
string "Device name for DMA Controller 2" string "Device name for DMA Controller 2"
default "DMA_2" default "DMA_2"
help help
Device name for DMA Controller 2. Device name for DMA Controller 2.
config DMA_2_IRQ_PRI config DMA_2_IRQ_PRI
int "IRQ Priority for DMA Controller 2" int "IRQ Priority for DMA Controller 2"
default 3 default 3
help help
IRQ Priority for DMA Controller 2. IRQ Priority for DMA Controller 2.
config SYS_LOG_DMA_LEVEL config SYS_LOG_DMA_LEVEL
int int

View file

@ -21,19 +21,19 @@ config SYS_LOG_GPIO_LEVEL
default 0 default 0
depends on SYS_LOG depends on SYS_LOG
help help
Sets log level for GPIO drivers Sets log level for GPIO drivers
Levels are: Levels are:
- 0 OFF, do not write - 0 OFF, do not write
- 1 ERROR, only write SYS_LOG_ERR - 1 ERROR, only write SYS_LOG_ERR
- 2 WARNING, write SYS_LOG_WRN in addition to previous level - 2 WARNING, write SYS_LOG_WRN in addition to previous level
- 3 INFO, write SYS_LOG_INF in addition to previous levels - 3 INFO, write SYS_LOG_INF in addition to previous levels
- 4 DEBUG, write SYS_LOG_DBG in addition to previous levels - 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
source "drivers/gpio/Kconfig.dw" source "drivers/gpio/Kconfig.dw"

View file

@ -36,16 +36,16 @@ config GROVE_LCD_RGB
depends on GROVE depends on GROVE
prompt "Enable the Seeed Grove LCD RGB Backlight" 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.
config GROVE_LCD_RGB_I2C_MASTER_DEV_NAME config GROVE_LCD_RGB_I2C_MASTER_DEV_NAME
string "I2C Master where Grove LCD is connected" string "I2C Master where Grove LCD is connected"
depends on GROVE_LCD_RGB depends on GROVE_LCD_RGB
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
Grove LCD is connected. Grove LCD is connected.
config GROVE_LIGHT_SENSOR config GROVE_LIGHT_SENSOR
bool bool

View file

@ -17,29 +17,29 @@ config SYS_LOG_IEEE802154_DRIVER_LEVEL
depends on SYS_LOG depends on SYS_LOG
default 0 default 0
help help
Sets log level for 802.15.4 drivers. Sets log level for 802.15.4 drivers.
Levels are: Levels are:
- 0 OFF, do not write - 0 OFF, do not write
- 1 ERROR, only write SYS_LOG_ERR - 1 ERROR, only write SYS_LOG_ERR
- 2 WARNING, write SYS_LOG_WRN in addition to previous level - 2 WARNING, write SYS_LOG_WRN in addition to previous level
- 3 INFO, write SYS_LOG_INF in addition to previous levels - 3 INFO, write SYS_LOG_INF in addition to previous levels
- 4 DEBUG, write SYS_LOG_DBG in addition to previous levels - 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
config IEEE802154_RAW_MODE config IEEE802154_RAW_MODE
bool "Use IEEE 802.15.4 driver without the MAC stack" bool "Use IEEE 802.15.4 driver without the MAC stack"
default n if NET_L2_IEEE802154 default n if NET_L2_IEEE802154
select NET_RAW_MODE select NET_RAW_MODE
help help
This option enables using the drivers in a so-called "raw" mode, This option enables using the drivers in a so-called "raw" mode,
i.e. without a MAC stack (the net L2 layer for 802.15.4 will not i.e. without a MAC stack (the net L2 layer for 802.15.4 will not
be built). Used only for very specific cases, such as wpan_serial be built). Used only for very specific cases, such as wpan_serial
and wpanusb samples. and wpanusb samples.
source "drivers/ieee802154/Kconfig.cc2520" source "drivers/ieee802154/Kconfig.cc2520"

View file

@ -15,81 +15,81 @@ config LOAPIC
select IOAPIC select IOAPIC
depends on X86 depends on X86
help help
This option selects local APIC as the interrupt controller. This option selects local APIC as the interrupt controller.
config LOAPIC_BASE_ADDRESS config LOAPIC_BASE_ADDRESS
hex "Local APIC Base Address" hex "Local APIC Base Address"
default 0xFEE00000 default 0xFEE00000
depends on LOAPIC depends on LOAPIC
help help
This option specifies the base address of the Local APIC device. This option specifies the base address of the Local APIC device.
config LOAPIC_SPURIOUS_VECTOR config LOAPIC_SPURIOUS_VECTOR
bool "Handle LOAPIC spurious interrupts" bool "Handle LOAPIC spurious interrupts"
default n default n
depends on LOAPIC depends on LOAPIC
help help
A special situation may occur when a processor raises its task A special situation may occur when a processor raises its task
priority to be greater than or equal to the level of the priority to be greater than or equal to the level of the
interrupt for which the processor INTR signal is currently being interrupt for which the processor INTR signal is currently being
asserted. If at the time the INTA cycle is issued, the asserted. If at the time the INTA cycle is issued, the
interrupt that was to be dispensed has become masked (programmed interrupt that was to be dispensed has become masked (programmed
by software), the local APIC will deliver a spurious-interrupt by software), the local APIC will deliver a spurious-interrupt
vector. Dispensing the spurious-interrupt vector does not affect vector. Dispensing the spurious-interrupt vector does not affect
the ISR, so the handler for this vector should return without an EOI. the ISR, so the handler for this vector should return without an EOI.
From x86 manual Volume 3 Section 10.9. From x86 manual Volume 3 Section 10.9.
config LOAPIC_SPURIOUS_VECTOR_ID config LOAPIC_SPURIOUS_VECTOR_ID
int "LOAPIC spurious vector ID" int "LOAPIC spurious vector ID"
default -1 default -1
depends on LOAPIC_SPURIOUS_VECTOR depends on LOAPIC_SPURIOUS_VECTOR
help help
IDT vector to use for spurious LOAPIC interrupts. Note that some IDT vector to use for spurious LOAPIC interrupts. Note that some
arches (P6, Pentium) ignore the low 4 bits and fix them at 0xF. arches (P6, Pentium) ignore the low 4 bits and fix them at 0xF.
If this value is left at -1 the last entry in the IDT will be used. If this value is left at -1 the last entry in the IDT will be used.
config IOAPIC config IOAPIC
bool "IO-APIC" bool "IO-APIC"
default y default y
depends on LOAPIC depends on LOAPIC
help help
This option signifies that the target has an IO-APIC device. This This option signifies that the target has an IO-APIC device. This
capability allows IO-APIC-dependent code to be included. capability allows IO-APIC-dependent code to be included.
config IOAPIC_DEBUG config IOAPIC_DEBUG
bool "IO-APIC Debugging" bool "IO-APIC Debugging"
default n default n
depends on IOAPIC depends on IOAPIC
help help
Enable debugging for IO-APIC driver. Enable debugging for IO-APIC driver.
config IOAPIC_BASE_ADDRESS config IOAPIC_BASE_ADDRESS
hex "IO-APIC Base Address" hex "IO-APIC Base Address"
default 0xFEC00000 default 0xFEC00000
depends on IOAPIC depends on IOAPIC
help help
This option specifies the base address of the IO-APIC device. This option specifies the base address of the IO-APIC device.
config IOAPIC_NUM_RTES config IOAPIC_NUM_RTES
int "Number of Redirection Table Entries available" int "Number of Redirection Table Entries available"
default 24 default 24
depends on IOAPIC depends on IOAPIC
help help
This option indicates the maximum number of Redirection Table Entries This option indicates the maximum number of Redirection Table Entries
(RTEs) (one per IRQ available to the IO-APIC) made available to the (RTEs) (one per IRQ available to the IO-APIC) made available to the
kernel, regardless of the number provided by the hardware itself. For kernel, regardless of the number provided by the hardware itself. For
most efficient usage of memory, it should match the number of IRQ lines most efficient usage of memory, it should match the number of IRQ lines
needed by devices connected to the IO-APIC. needed by devices connected to the IO-APIC.
config IOAPIC_MASK_RTE config IOAPIC_MASK_RTE
bool "Mask out RTE entries on boot" bool "Mask out RTE entries on boot"
default y default y
depends on IOAPIC depends on IOAPIC
help help
At boot, mask all IOAPIC RTEs if they may be in an undefined state. At boot, mask all IOAPIC RTEs if they may be in an undefined state.
You don't need this if the RTEs are either all guaranteed to be masked You don't need this if the RTEs are either all guaranteed to be masked
when the OS starts up, or a previous boot stage has done some IOAPIC when the OS starts up, or a previous boot stage has done some IOAPIC
configuration that needs to be preserved. configuration that needs to be preserved.
config MVIC config MVIC
bool "Intel Quark D2000 Interrupt Controller (MVIC)" bool "Intel Quark D2000 Interrupt Controller (MVIC)"
@ -97,11 +97,11 @@ config MVIC
depends on X86 depends on X86
select X86_FIXED_IRQ_MAPPING select X86_FIXED_IRQ_MAPPING
help help
The MVIC (Intel Quark microcontroller D2000 Interrupt Controller) is The MVIC (Intel Quark microcontroller D2000 Interrupt Controller) is
configured by default to support 32 external interrupt lines. Unlike the configured by default to support 32 external interrupt lines. Unlike the
traditional IA LAPIC/IOAPIC, the interrupt vectors in MVIC are fixed and traditional IA LAPIC/IOAPIC, the interrupt vectors in MVIC are fixed and
not programmable. In addition, the priorities of these interrupt not programmable. In addition, the priorities of these interrupt
lines are also fixed. lines are also fixed.
config MVIC_TIMER_IRQ config MVIC_TIMER_IRQ
int "IRQ line to use for timer interrupt" int "IRQ line to use for timer interrupt"
@ -109,20 +109,20 @@ config MVIC_TIMER_IRQ
default 10 default 10
depends on MVIC depends on MVIC
help help
Specify the IRQ line to use for the timer interrupt. This should be Specify the IRQ line to use for the timer interrupt. This should be
an IRQ line unused by any hardware. If nested interrupts are enabled, an IRQ line unused by any hardware. If nested interrupts are enabled,
higher interrupt lines have priority. higher interrupt lines have priority.
config ARCV2_INTERRUPT_UNIT config ARCV2_INTERRUPT_UNIT
bool "ARCv2 Interrupt Unit" bool "ARCv2 Interrupt Unit"
default y default y
depends on ARC depends on ARC
help help
The ARCv2 interrupt unit has 16 allocated exceptions associated with The ARCv2 interrupt unit has 16 allocated exceptions associated with
vectors 0 to 15 and 240 interrupts associated with vectors 16 to 255. vectors 0 to 15 and 240 interrupts associated with vectors 16 to 255.
The interrupt unit is optional in the ARCv2-based processors. When The interrupt unit is optional in the ARCv2-based processors. When
building a processor, you can configure the processor to include an building a processor, you can configure the processor to include an
interrupt unit. The ARCv2 interrupt unit is highly programmable. interrupt unit. The ARCv2 interrupt unit is highly programmable.
config PLIC_FE310 config PLIC_FE310
bool "SiFive Freedom E310 Platform Level Interrupt Controller (PLIC)" bool "SiFive Freedom E310 Platform Level Interrupt Controller (PLIC)"
@ -130,8 +130,8 @@ config PLIC_FE310
depends on SOC_RISCV32_FE310 depends on SOC_RISCV32_FE310
select RISCV_HAS_PLIC select RISCV_HAS_PLIC
help help
SiFive Freedom E310 Platform Level Interrupt Controller provides support SiFive Freedom E310 Platform Level Interrupt Controller provides support
for external interrupt lines defined by the FE310 SOC; for external interrupt lines defined by the FE310 SOC;
source "drivers/interrupt_controller/Kconfig.stm32" source "drivers/interrupt_controller/Kconfig.stm32"

View file

@ -3,22 +3,22 @@ menuconfig IPM
prompt "IPM drivers" prompt "IPM drivers"
default n default n
help help
Include interrupt-based inter-processor mailboxes Include interrupt-based inter-processor mailboxes
drivers in system configuration drivers in system configuration
config IPM_QUARK_SE config IPM_QUARK_SE
bool "Quark SE IPM driver" bool "Quark SE IPM driver"
default n default n
depends on IPM depends on IPM
help help
Driver for Quark SE mailboxes Driver for Quark SE mailboxes
config IPM_QUARK_SE_MASTER config IPM_QUARK_SE_MASTER
bool "Quark SE IPM master controller" bool "Quark SE IPM master controller"
default n default n
depends on IPM_QUARK_SE depends on IPM_QUARK_SE
help help
Enable this for the first CPU that initializes IPM. Enable this for the first CPU that initializes IPM.
Sets up the initial interrupt mask and clears out all Sets up the initial interrupt mask and clears out all
channels. Should be turned on for one CPU only. channels. Should be turned on for one CPU only.

View file

@ -12,7 +12,7 @@ menuconfig PCI
prompt "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
@ -20,20 +20,20 @@ config PCI_ENUMERATION
prompt "Enable PCI device enumeration" prompt "Enable PCI device enumeration"
default n default n
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
are the PCI settings of the devices. Once those are known and are the PCI settings of the devices. Once those are known and
statically set in every relevant driver's configuration, it statically set in every relevant driver's configuration, it
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
prompt "PCI legacy bridge device support" prompt "PCI legacy bridge device support"
default n default n
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
mapping. mapping.
config PCI_LEGACY_BRIDGE_BUS config PCI_LEGACY_BRIDGE_BUS
int "PCI Legacy Bridge Bus number" int "PCI Legacy Bridge Bus number"
@ -60,7 +60,7 @@ config PCI_DEBUG
prompt "Enable PCI debugging" prompt "Enable PCI debugging"
default n default n
help help
This options enables PCI debugging functions This options enables PCI debugging functions
endif endif

View file

@ -22,7 +22,7 @@ config PINMUX_NAME
depends on PINMUX depends on PINMUX
default "PINMUX" default "PINMUX"
help help
The name of the pinmux driver. The name of the pinmux driver.
config PINMUX_INIT_PRIORITY config PINMUX_INIT_PRIORITY
int int

View file

@ -11,36 +11,36 @@ config PINMUX_DEV
depends on PINMUX depends on PINMUX
default n default n
help help
Enables the use of the pinmux_set and pinmux_get functions for early Enables the use of the pinmux_set and pinmux_get functions for early
prototyping on new hardware. WARNING: When using these options, it prototyping on new hardware. WARNING: When using these options, it
is possible to permanently damage the hardware. is possible to permanently damage the hardware.
config PINMUX_DEV_NAME config PINMUX_DEV_NAME
string "Configure pinmux for early board testing" string "Configure pinmux for early board testing"
depends on PINMUX_DEV depends on PINMUX_DEV
default "PINMUX_DEV" default "PINMUX_DEV"
help help
The name of the pinmux dev driver. The name of the pinmux dev driver.
config PINMUX_DEV_ATMEL_SAM3X config PINMUX_DEV_ATMEL_SAM3X
bool "Enable pinmux dev driver for Atmel SAM3X boards" bool "Enable pinmux dev driver for Atmel SAM3X boards"
depends on PINMUX_DEV && SOC_SERIES_SAM3X depends on PINMUX_DEV && SOC_SERIES_SAM3X
help help
Enables the pinmux dev driver for boards based on the Enables the pinmux dev driver for boards based on the
Atmel SAM3X family of microcontrollers. Atmel SAM3X family of microcontrollers.
default n default n
config PINMUX_DEV_STM32 config PINMUX_DEV_STM32
bool "Enable pinmux dev driver for the ST STM32 family." bool "Enable pinmux dev driver for the ST STM32 family."
depends on PINMUX_DEV && SOC_FAMILY_STM32 depends on PINMUX_DEV && SOC_FAMILY_STM32
help help
Enables the STM32 pinmux dev driver. Enables the STM32 pinmux dev driver.
default n default n
config PINMUX_DEV_ARM_V2M_BEETLE config PINMUX_DEV_ARM_V2M_BEETLE
bool "Enable pinmux dev driver for ARM V2M Beetle boards" bool "Enable pinmux dev driver for ARM V2M Beetle boards"
depends on PINMUX_DEV && SOC_SERIES_BEETLE depends on PINMUX_DEV && SOC_SERIES_BEETLE
help help
Enables the pinmux dev driver for boards based on the Enables the pinmux dev driver for boards based on the
ARM Beetle SoC MCUs. ARM Beetle SoC MCUs.
default n default n

View file

@ -13,7 +13,7 @@ menuconfig RTC
bool "Real-Time Clock" bool "Real-Time Clock"
default n default n
help help
Enable options for Real-Time Clock drivers. Enable options for Real-Time Clock drivers.
if RTC if RTC
@ -23,26 +23,26 @@ config RTC_QMSI
depends on QMSI depends on QMSI
default n default n
help help
Build QMSI RTC driver. Build QMSI RTC driver.
config RTC_0_NAME config RTC_0_NAME
string "Driver instance name" string "Driver instance name"
default "RTC_0" default "RTC_0"
depends on RTC depends on RTC
help help
RTC driver instance name RTC driver instance name
config RTC_0_IRQ_PRI config RTC_0_IRQ_PRI
int "RTC Driver Interrupt priority" int "RTC Driver Interrupt priority"
depends on RTC_QMSI depends on RTC_QMSI
help help
RTC interrupt priority. RTC interrupt priority.
config RTC_QMSI_API_REENTRANCY config RTC_QMSI_API_REENTRANCY
bool bool
prompt "RTC shim driver API reentrancy" prompt "RTC shim driver API reentrancy"
default n default n
help help
Enable support for RTC shim driver API reentrancy. Enable support for RTC shim driver API reentrancy.
endif # RTC endif # RTC

View file

@ -12,8 +12,8 @@ menuconfig BMI160
depends on SPI_LEGACY_API depends on SPI_LEGACY_API
default n default n
help help
Enable Bosch BMI160 inertial measurement unit that provides acceleration Enable Bosch BMI160 inertial measurement unit that provides acceleration
and angular rate measurements. and angular rate measurements.
config BMI160_NAME config BMI160_NAME
string "Driver's name" string "Driver's name"

View file

@ -10,7 +10,7 @@ menuconfig HMC5883L
depends on I2C depends on I2C
default n default n
help help
Enable driver for HMC5883L I2C-based magnetometer. Enable driver for HMC5883L I2C-based magnetometer.
config HMC5883L_NAME config HMC5883L_NAME
string string
@ -18,7 +18,7 @@ config HMC5883L_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
@ -26,15 +26,15 @@ config HMC5883L_I2C_MASTER_DEV_NAME
depends on HMC5883L depends on HMC5883L
default "I2C_0" default "I2C_0"
help help
Specify the device name of the I2C master device to which HMC5883L Specify the device name of the I2C master device to which HMC5883L
is connected. is connected.
choice choice
prompt "Trigger mode" prompt "Trigger mode"
depends on HMC5883L depends on HMC5883L
default HMC5883L_TRIGGER_GLOBAL_THREAD default HMC5883L_TRIGGER_GLOBAL_THREAD
help help
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
@ -64,8 +64,8 @@ config HMC5883L_GPIO_DEV_NAME
default "GPIO_0" default "GPIO_0"
depends on HMC5883L && HMC5883L_TRIGGER depends on HMC5883L && HMC5883L_TRIGGER
help help
The device name of the GPIO device to which the HMC5883L interrupt The device name of the GPIO device to which the HMC5883L interrupt
pin is connected. pin is connected.
config HMC5883L_GPIO_PIN_NUM config HMC5883L_GPIO_PIN_NUM
int int
@ -73,8 +73,8 @@ config HMC5883L_GPIO_PIN_NUM
default 0 default 0
depends on HMC5883L && HMC5883L_TRIGGER depends on HMC5883L && HMC5883L_TRIGGER
help help
The number of the GPIO on which the interrupt signal from the The number of the GPIO on which the interrupt signal from the
HMC5883L chip will be received. HMC5883L chip will be received.
config HMC5883L_THREAD_PRIORITY config HMC5883L_THREAD_PRIORITY
int int
@ -82,7 +82,7 @@ config HMC5883L_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
@ -90,7 +90,7 @@ config HMC5883L_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
@ -98,9 +98,9 @@ config HMC5883L_ODR
depends on HMC5883L depends on HMC5883L
default "15" default "15"
help help
Magnetometer output data rate expressed in samples per second. Magnetometer output data rate expressed in samples per second.
Data rates supported by the chip are 0.75, 1.5, 3, 7.5, 15, 30 Data rates supported by the chip are 0.75, 1.5, 3, 7.5, 15, 30
and 75. and 75.
config HMC5883L_FS config HMC5883L_FS
string string
@ -108,6 +108,6 @@ config HMC5883L_FS
depends on HMC5883L depends on HMC5883L
default "1.3" default "1.3"
help help
Magnetometer full-scale range. Magnetometer full-scale range.
An X value for the config represents a range of +/- X gauss. Valid An X value for the config represents a range of +/- X gauss. Valid
values are 0.88, 1.3, 1.9, 2.5, 4, 4.7, 5.6 and 8.1. values are 0.88, 1.3, 1.9, 2.5, 4, 4.7, 5.6 and 8.1.

View file

@ -10,8 +10,8 @@ menuconfig LPS25HB
depends on I2C depends on I2C
default n default n
help help
Enable driver for LPS25HB I2C-based pressure and temperature Enable driver for LPS25HB I2C-based pressure and temperature
sensor. sensor.
config LPS25HB_DEV_NAME config LPS25HB_DEV_NAME
string string
@ -19,7 +19,7 @@ config LPS25HB_DEV_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
@ -27,9 +27,9 @@ config LPS25HB_I2C_ADDR
depends on LPS25HB depends on LPS25HB
default "0x5C" default "0x5C"
help help
I2C address of the LPS25HB sensor. I2C address of the LPS25HB sensor.
Use 0x5C if the SA0 pin is pulled to GND or 0x5D if the SA0 Use 0x5C if the SA0 pin is pulled to GND or 0x5D if the SA0
pin is pulled to VDD. pin is pulled to VDD.
config LPS25HB_I2C_MASTER_DEV_NAME config LPS25HB_I2C_MASTER_DEV_NAME
string string
@ -37,8 +37,8 @@ config LPS25HB_I2C_MASTER_DEV_NAME
depends on LPS25HB depends on LPS25HB
default "I2C_0" default "I2C_0"
help help
Specify the device name of the I2C master device to which Specify the device name of the I2C master device to which
LPS25HB is connected. LPS25HB is connected.
menu "Attributes" menu "Attributes"
depends on LPS25HB depends on LPS25HB
@ -49,7 +49,7 @@ config LPS25HB_SAMPLING_RATE
depends on LPS25HB depends on LPS25HB
default 25 default 25
help help
Sensor output data rate expressed in samples per second. Sensor output data rate expressed in samples per second.
Data rates supported by the chip are 1, 7, 13, 25. Data rates supported by the chip are 1, 7, 13, 25.
endmenu endmenu

View file

@ -12,7 +12,7 @@ menuconfig MAX44009
depends on I2C depends on I2C
default n default n
help help
Enable driver for MAX44009 light sensors. Enable driver for MAX44009 light sensors.
config MAX44009_DRV_NAME config MAX44009_DRV_NAME
string string
@ -20,7 +20,7 @@ config MAX44009_DRV_NAME
default "MAX44009" default "MAX44009"
depends on MAX44009 depends on MAX44009
help help
Device name with which the MAX44009 light is identified. Device name with which the MAX44009 light is identified.
config MAX44009_I2C_ADDR config MAX44009_I2C_ADDR
@ -29,10 +29,10 @@ config MAX44009_I2C_ADDR
depends on MAX44009 depends on MAX44009
default "0x4a" default "0x4a"
help help
I2C address of the MAX44009 sensor. Possible configurations: I2C address of the MAX44009 sensor. Possible configurations:
0x4a: A0 connected to GND. 0x4a: A0 connected to GND.
0x4b: A0 connected to VCC. 0x4b: A0 connected to VCC.
config MAX44009_I2C_DEV_NAME config MAX44009_I2C_DEV_NAME
string string
@ -40,5 +40,5 @@ config MAX44009_I2C_DEV_NAME
depends on MAX44009 depends on MAX44009
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
MAX44009 chip is connected. MAX44009 chip is connected.

View file

@ -12,7 +12,7 @@ menuconfig TMP112
depends on I2C depends on I2C
default n default n
help help
Enable driver for TMP112 infrared thermopile sensors. Enable driver for TMP112 infrared thermopile sensors.
config TMP112_NAME config TMP112_NAME
string string
@ -20,19 +20,19 @@ config TMP112_NAME
default "TMP112" default "TMP112"
depends on TMP112 depends on TMP112
help help
Device name with which the TMP112 sensor is identified. Device name with which the TMP112 sensor is identified.
config TMP112_I2C_ADDR config TMP112_I2C_ADDR
hex "I2C address for TMP112" hex "I2C address for TMP112"
depends on TMP112 depends on TMP112
default 0x48 default 0x48
help help
I2C address of the TMP112 sensor. I2C address of the TMP112 sensor.
0x48: A0 connected GND and A1 connected to GND. 0x48: A0 connected GND and A1 connected to GND.
0x49: A0 connected VDD and A1 connected to GND. 0x49: A0 connected VDD and A1 connected to GND.
0x4A: A0 connected SDA and A1 connected to GND. 0x4A: A0 connected SDA and A1 connected to GND.
0x4B: A0 connected SCL and A1 connected to GND. 0x4B: A0 connected SCL and A1 connected to GND.
config TMP112_I2C_MASTER_DEV_NAME config TMP112_I2C_MASTER_DEV_NAME
@ -41,5 +41,5 @@ config TMP112_I2C_MASTER_DEV_NAME
depends on TMP112 depends on TMP112
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
TMP112 chip is connected. TMP112 chip is connected.

View file

@ -11,7 +11,7 @@ menuconfig SERIAL
prompt "Serial Drivers" prompt "Serial Drivers"
default n default n
help help
Enable options for serial drivers. Enable options for serial drivers.
if SERIAL if SERIAL
@ -21,16 +21,16 @@ config SERIAL_HAS_DRIVER
bool bool
default n default n
help help
This is an option to be enabled by individual serial driver This is an option to be enabled by individual serial driver
to signal that there is a serial driver. This is being used to signal that there is a serial driver. This is being used
by other drivers which are dependent on serial. by other drivers which are dependent on serial.
config SERIAL_SUPPORT_INTERRUPT config SERIAL_SUPPORT_INTERRUPT
bool bool
default n default n
help help
This is an option to be enabled by individual serial driver This is an option to be enabled by individual serial driver
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
@ -38,28 +38,28 @@ config UART_INTERRUPT_DRIVEN
default n default n
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
input and other UART based drivers. input and other UART based drivers.
config UART_LINE_CTRL config UART_LINE_CTRL
bool "Enable Serial Line Control API" bool "Enable Serial Line Control API"
default n default n
help help
This enables the API for apps to control the serial line, This enables the API for apps to control the serial line,
such as baud rate, CTS and RTS. such as baud rate, CTS and RTS.
Implementation is up to individual driver. Implementation is up to individual driver.
Says no if not sure. Says no if not sure.
config UART_DRV_CMD config UART_DRV_CMD
bool "Enable driver commands API" bool "Enable driver commands API"
default n default n
help help
This enables the API to send extra commands to drivers. This enables the API to send extra commands to drivers.
This allows drivers to expose hardware specific functions. This allows drivers to expose hardware specific functions.
Says no if not sure. Says no if not sure.
comment "Serial Drivers" comment "Serial Drivers"

View file

@ -18,45 +18,45 @@ config HPET_TIMER
select LOAPIC select LOAPIC
select TIMER_READS_ITS_FREQUENCY_AT_RUNTIME select TIMER_READS_ITS_FREQUENCY_AT_RUNTIME
help help
This option selects High Precision Event Timer (HPET) as a This option selects High Precision Event Timer (HPET) as a
system timer. system timer.
config HPET_TIMER_LEGACY_EMULATION config HPET_TIMER_LEGACY_EMULATION
bool "HPET timer legacy emulation mode" bool "HPET timer legacy emulation mode"
default n default n
depends on HPET_TIMER depends on HPET_TIMER
help help
This option switches HPET to legacy emulation mode. This option switches HPET to legacy emulation mode.
In this mode 8254 PIT is disabled, HPET timer0 is connected In this mode 8254 PIT is disabled, HPET timer0 is connected
to IOAPIC IRQ2, timer1 -- to IOAPIC IRQ8. to IOAPIC IRQ2, timer1 -- to IOAPIC IRQ8.
config HPET_TIMER_DEBUG config HPET_TIMER_DEBUG
bool "Enable HPET debug output" bool "Enable HPET debug output"
default n default n
depends on HPET_TIMER && PRINTK depends on HPET_TIMER && PRINTK
help help
This option enables HPET debugging output. This option enables HPET debugging output.
config HPET_TIMER_BASE_ADDRESS config HPET_TIMER_BASE_ADDRESS
hex "HPET Base Address" hex "HPET Base Address"
default 0xFED00000 default 0xFED00000
depends on HPET_TIMER depends on HPET_TIMER
help help
This options specifies the base address of the HPET timer device. This options specifies the base address of the HPET timer device.
config HPET_TIMER_IRQ config HPET_TIMER_IRQ
int "HPET Timer IRQ" int "HPET Timer IRQ"
default 20 default 20
depends on HPET_TIMER depends on HPET_TIMER
help help
This option specifies the IRQ used by the HPET timer. This option specifies the IRQ used by the HPET timer.
config HPET_TIMER_IRQ_PRIORITY config HPET_TIMER_IRQ_PRIORITY
int "HPET Timer IRQ Priority" int "HPET Timer IRQ Priority"
default 4 default 4
depends on HPET_TIMER depends on HPET_TIMER
help help
This option specifies the IRQ priority used by the HPET timer. This option specifies the IRQ priority used by the HPET timer.
choice choice
depends on HPET_TIMER depends on HPET_TIMER
@ -66,22 +66,22 @@ default HPET_TIMER_FALLING_EDGE
config HPET_TIMER_FALLING_EDGE config HPET_TIMER_FALLING_EDGE
bool "Falling Edge" bool "Falling Edge"
help help
This option signifies that the HPET timer uses falling edge interrupts. This option signifies that the HPET timer uses falling edge interrupts.
config HPET_TIMER_RISING_EDGE config HPET_TIMER_RISING_EDGE
bool "Rising Edge" bool "Rising Edge"
help help
This option signifies that the HPET timer uses rising edge interrupts. This option signifies that the HPET timer uses rising edge interrupts.
config HPET_TIMER_LEVEL_HIGH config HPET_TIMER_LEVEL_HIGH
bool "Level High" bool "Level High"
help help
This option signifies that the HPET timer uses level high interrupts. This option signifies that the HPET timer uses level high interrupts.
config HPET_TIMER_LEVEL_LOW config HPET_TIMER_LEVEL_LOW
bool "Level Low" bool "Level Low"
help help
This option signifies that the HPET timer uses level low interrupts. This option signifies that the HPET timer uses level low interrupts.
endchoice endchoice
@ -90,21 +90,21 @@ config LOAPIC_TIMER
depends on (LOAPIC || MVIC) && X86 depends on (LOAPIC || MVIC) && X86
default n default n
help help
This option selects LOAPIC timer as a system timer. This option selects LOAPIC timer as a system timer.
config LOAPIC_TIMER_IRQ config LOAPIC_TIMER_IRQ
int "Local APIC Timer IRQ" int "Local APIC Timer IRQ"
default 24 default 24
depends on LOAPIC_TIMER depends on LOAPIC_TIMER
help help
This option specifies the IRQ used by the LOAPIC timer. This option specifies the IRQ used by the LOAPIC timer.
config LOAPIC_TIMER_IRQ_PRIORITY config LOAPIC_TIMER_IRQ_PRIORITY
int "Local APIC Timer IRQ Priority" int "Local APIC Timer IRQ Priority"
default 2 default 2
depends on LOAPIC_TIMER depends on LOAPIC_TIMER
help help
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
@ -112,92 +112,92 @@ config TSC_CYCLES_PER_SEC
default 0 default 0
depends on LOAPIC_TIMER depends on LOAPIC_TIMER
help help
The x86 implementation of LOAPIC k_cycle_get_32() relies on the x86 TSC. The x86 implementation of LOAPIC k_cycle_get_32() relies on the x86 TSC.
This runs at the CPU speed and not the bus speed. If set to 0, the This runs at the CPU speed and not the bus speed. If set to 0, the
value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC will be used instead; value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC will be used instead;
many MCUs these values are the same. many MCUs these values are the same.
config ARCV2_TIMER config ARCV2_TIMER
bool "ARC Timer" bool "ARC Timer"
default y default y
depends on ARC depends on ARC
help help
This module implements a kernel device driver for the ARCv2 processor timer 0 This module implements a kernel device driver for the ARCv2 processor timer 0
and provides the standard "system clock driver" interfaces. and provides the standard "system clock driver" interfaces.
config ARCV2_TIMER_IRQ_PRIORITY config ARCV2_TIMER_IRQ_PRIORITY
int "ARC timer interrupt priority" int "ARC timer interrupt priority"
default 0 default 0
depends on ARCV2_TIMER depends on ARCV2_TIMER
help help
This option specifies the IRQ priority used by the ARC timer. Lower This option specifies the IRQ priority used by the ARC timer. Lower
values have higher priority. values have higher priority.
config CORTEX_M_SYSTICK config CORTEX_M_SYSTICK
bool "Cortex-M SYSTICK timer" bool "Cortex-M SYSTICK timer"
default y default y
depends on CPU_HAS_SYSTICK depends on CPU_HAS_SYSTICK
help help
This module implements a kernel device driver for the Cortex-M processor This module implements a kernel device driver for the Cortex-M processor
SYSTICK timer and provides the standard "system clock driver" interfaces. SYSTICK timer and provides the standard "system clock driver" interfaces.
config ALTERA_AVALON_TIMER config ALTERA_AVALON_TIMER
bool "Altera Avalon Interval Timer" bool "Altera Avalon Interval Timer"
default y default y
depends on NIOS2 depends on NIOS2
help help
This module implements a kernel device driver for the Altera Avalon This module implements a kernel device driver for the Altera Avalon
Interval Timer as described in the Embedded IP documentation, for use Interval Timer as described in the Embedded IP documentation, for use
with Nios II and possibly other Altera soft CPUs. It provides the with Nios II and possibly other Altera soft CPUs. It provides the
standard "system clock driver" interfaces. standard "system clock driver" interfaces.
config NRF_RTC_TIMER config NRF_RTC_TIMER
bool "nRF Real Time Counter (NRF_RTC1) Timer" bool "nRF Real Time Counter (NRF_RTC1) Timer"
default y default y
depends on SOC_FAMILY_NRF5 && CLOCK_CONTROL_NRF5 depends on SOC_FAMILY_NRF5 && CLOCK_CONTROL_NRF5
help help
This module implements a kernel device driver for the nRF Real Time This module implements a kernel device driver for the nRF Real Time
Counter NRF_RTC1 and provides the standard "system clock driver" Counter NRF_RTC1 and provides the standard "system clock driver"
interfaces. interfaces.
config PULPINO_TIMER config PULPINO_TIMER
bool "pulpino Timer" bool "pulpino Timer"
default y default y
depends on SOC_RISCV32_PULPINO depends on SOC_RISCV32_PULPINO
help help
This module implements a kernel device driver for the pulpino processor This module implements a kernel device driver for the pulpino processor
timer driver. It provides the standard "system clock driver" interfaces. timer driver. It provides the standard "system clock driver" interfaces.
config RISCV_MACHINE_TIMER config RISCV_MACHINE_TIMER
bool "RISCV Machine Timer" bool "RISCV Machine Timer"
default n default n
depends on SOC_FAMILY_RISCV_PRIVILEGE depends on SOC_FAMILY_RISCV_PRIVILEGE
help help
This module implements a kernel device driver for the generic RISCV machine This module implements a kernel device driver for the generic RISCV machine
timer driver. It provides the standard "system clock driver" interfaces. timer driver. It provides the standard "system clock driver" interfaces.
config XTENSA_TIMER config XTENSA_TIMER
bool "Xtensa timer support" bool "Xtensa timer support"
depends on XTENSA depends on XTENSA
default y default y
help help
This module implements a kernel device driver for the Xtensa processor and This module implements a kernel device driver for the Xtensa processor and
provides the standard "system clock driver" interfaces. provides the standard "system clock driver" interfaces.
If unchecked, no timer will be used. If unchecked, no timer will be used.
If checked it will use either an internal timer (default option) or an If checked it will use either an internal timer (default option) or an
external timer. In that case one shall unselect XTENSA_INTERNAL_TIMER and external timer. In that case one shall unselect XTENSA_INTERNAL_TIMER and
define XTENSA_TIMER_IRQ and XTENSA_TIMER_IRQ_PRIORITY. define XTENSA_TIMER_IRQ and XTENSA_TIMER_IRQ_PRIORITY.
config XTENSA_INTERNAL_TIMER config XTENSA_INTERNAL_TIMER
bool "Xtensa internal timer" bool "Xtensa internal timer"
depends on XTENSA_TIMER depends on XTENSA_TIMER
default y default y
help help
This module implements a kernel device driver for the Xtensa processor This module implements a kernel device driver for the Xtensa processor
internal timer and provides the standard "system clock driver" interfaces. internal timer and provides the standard "system clock driver" interfaces.
If unchecked, an external timer will be used. It will rely on a tick If unchecked, an external timer will be used. It will rely on a tick
interrupt connected to an IRQ line. In this case one shall define interrupt connected to an IRQ line. In this case one shall define
both XTENSA_TIMER_IRQ and XTENSA_TIMER_IRQ_PRIORITY. both XTENSA_TIMER_IRQ and XTENSA_TIMER_IRQ_PRIORITY.
config XTENSA_TIMER_IRQ config XTENSA_TIMER_IRQ
int "Xtensa external timer interrupt number" int "Xtensa external timer interrupt number"
@ -205,10 +205,10 @@ config XTENSA_TIMER_IRQ
range -1 31 range -1 31
default -1 default -1
help help
This is the number of interrupt line used by the external timer. This is the number of interrupt line used by the external timer.
The special value of -1 allows using the internal timer in order to The special value of -1 allows using the internal timer in order to
emulate an external timer. This is generally useful for running the project on emulate an external timer. This is generally useful for running the project on
a simulator where it is hard to emulate an external interrupt. a simulator where it is hard to emulate an external interrupt.
config XTENSA_TIMER_IRQ_PRIORITY config XTENSA_TIMER_IRQ_PRIORITY
int "Xtensa external timer interrupt priority" int "Xtensa external timer interrupt priority"
@ -216,29 +216,29 @@ config XTENSA_TIMER_IRQ_PRIORITY
range 1 6 range 1 6
default 1 default 1
help help
This is the priority of interrupt line. This is the priority of interrupt line.
config SYSTEM_CLOCK_DISABLE config SYSTEM_CLOCK_DISABLE
bool "API to disable system clock" bool "API to disable system clock"
default n default n
help help
This option enables the sys_clock_disable() API in the kernel. It is This option enables the sys_clock_disable() API in the kernel. It is
needed by some subsystems (which will automatically select it), but is needed by some subsystems (which will automatically select it), but is
rarely needed by applications. rarely needed by applications.
config TIMER_READS_ITS_FREQUENCY_AT_RUNTIME config TIMER_READS_ITS_FREQUENCY_AT_RUNTIME
bool "Timer queries its hardware to find its frequency at runtime" bool "Timer queries its hardware to find its frequency at runtime"
default n default n
help help
The drivers select this option automatically when needed. Do not modify The drivers select this option automatically when needed. Do not modify
this unless you have a very good reason for it. this unless you have a very good reason for it.
config SYSTEM_CLOCK_INIT_PRIORITY config SYSTEM_CLOCK_INIT_PRIORITY
int "System clock driver initialization priority" int "System clock driver initialization priority"
default 0 default 0
help help
This options can be used to set a specific initialization priority This options can be used to set a specific initialization priority
value for the system clock driver. As driver initialization might need value for the system clock driver. As driver initialization might need
the clock to be running already, you should let the default value as it the clock to be running already, you should let the default value as it
is (0). is (0).
endmenu endmenu

View file

@ -10,6 +10,6 @@ menuconfig USB
bool "USB" bool "USB"
default n default n
help help
Enable USB drivers. Enable USB drivers.
source "drivers/usb/device/Kconfig" source "drivers/usb/device/Kconfig"

View file

@ -13,13 +13,13 @@ config USB_DW
prompt "Designware USB Device Controller Driver" prompt "Designware USB Device Controller Driver"
default n default n
help help
Designware USB Device Controller Driver. Designware USB Device Controller Driver.
config USB_DW_IRQ_PRI config USB_DW_IRQ_PRI
int "DesignWare USB Driver Interrupt priority" int "DesignWare USB Driver Interrupt priority"
depends on USB_DW depends on USB_DW
help help
USB interrupt priority. USB interrupt priority.
config USB_DC_STM32 config USB_DC_STM32
bool bool
@ -28,30 +28,30 @@ config USB_DC_STM32
depends on SOC_SERIES_STM32F4X depends on SOC_SERIES_STM32F4X
default n default n
help help
STM32 family USB device controller Driver. STM32 family USB device controller Driver.
config USB_DC_STM32_IRQ_PRI config USB_DC_STM32_IRQ_PRI
int "USB STM32 Driver Interrupt priority" int "USB STM32 Driver Interrupt priority"
depends on USB_DC_STM32 depends on USB_DC_STM32
default 3 default 3
help help
USB interrupt priority. USB interrupt priority.
config USB_DC_STM32_EP_NUM config USB_DC_STM32_EP_NUM
int int
depends on USB_DC_STM32 depends on USB_DC_STM32
default 4 default 4
help help
Number of supported endpoints (including ep0). Number of supported endpoints (including ep0).
config USB_DC_STM32_RAM_SIZE config USB_DC_STM32_RAM_SIZE
int int
depends on USB_DC_STM32 depends on USB_DC_STM32
default 512 default 512
help help
Total size in bytes for RX/TX buffering (FIFO, PMA...) Total size in bytes for RX/TX buffering (FIFO, PMA...)
In case of USB-OTG-FS controller, datasheet defines a shared FIFO size. In case of USB-OTG-FS controller, datasheet defines a shared FIFO size.
For USB device controller, datasheet defines USB packet SRAM size. For USB device controller, datasheet defines USB packet SRAM size.
config SYS_LOG_USB_DRIVER_LEVEL config SYS_LOG_USB_DRIVER_LEVEL
int int
@ -59,18 +59,18 @@ config SYS_LOG_USB_DRIVER_LEVEL
depends on SYS_LOG depends on SYS_LOG
default 0 default 0
help help
Sets log level for USB driver Sets log level for USB driver
Levels are: Levels are:
- 0 OFF, do not write - 0 OFF, do not write
- 1 ERROR, only write SYS_LOG_ERR - 1 ERROR, only write SYS_LOG_ERR
- 2 WARNING, write SYS_LOG_WRN in addition to previous level - 2 WARNING, write SYS_LOG_WRN in addition to previous level
- 3 INFO, write SYS_LOG_INF in addition to previous levels - 3 INFO, write SYS_LOG_INF in addition to previous levels
- 4 DEBUG, write SYS_LOG_DBG in addition to previous levels - 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
endif # USB endif # USB

View file

@ -1,21 +1,21 @@
config HAS_DTS config HAS_DTS
bool bool
help help
This option specifies that the target platform supports device tree This option specifies that the target platform supports device tree
configuration. configuration.
config HAS_DTS_ADC config HAS_DTS_ADC
bool bool
depends on HAS_DTS depends on HAS_DTS
help help
This option specifies that the target platform supports device tree This option specifies that the target platform supports device tree
configuration for ADC. configuration for ADC.
config HAS_DTS_I2C config HAS_DTS_I2C
bool bool
default n default n
depends on HAS_DTS depends on HAS_DTS
help help
This option specifies that the target platform supports device tree This option specifies that the target platform supports device tree
configuration for I2c. configuration for I2c.

View file

@ -14,8 +14,8 @@ menuconfig QMSI
default n default n
depends on HAS_QMSI depends on HAS_QMSI
help help
automatically set when either of QMSI_LIBRARY or QMSI_BUILTIN automatically set when either of QMSI_LIBRARY or QMSI_BUILTIN
is selected. is selected.
if HAS_QMSI if HAS_QMSI
@ -24,31 +24,31 @@ config QMSI_BUILTIN
default n default n
select QMSI select QMSI
help help
Link with local QMSI sources instead of external library. Link with local QMSI sources instead of external library.
config QMSI_LIBRARY config QMSI_LIBRARY
bool "Enable QMSI drivers using external library" bool "Enable QMSI drivers using external library"
default n default n
select QMSI select QMSI
help help
This option enables QMSI device drivers. These drivers are actually shim This option enables QMSI device drivers. These drivers are actually shim
drivers based on drivers provided by QMSI BSP. The BSP provides a static drivers based on drivers provided by QMSI BSP. The BSP provides a static
library (libqmsi) which implements several drivers for peripherals from library (libqmsi) which implements several drivers for peripherals from
Intel MCUs (e.g. Quark SE and Quark D2000). Intel MCUs (e.g. Quark SE and Quark D2000).
config QMSI_INSTALL_PATH config QMSI_INSTALL_PATH
depends on QMSI_LIBRARY depends on QMSI_LIBRARY
string "QMSI install path" string "QMSI install path"
help help
This option holds the path where the QMSI library and headers are This option holds the path where the QMSI library and headers are
installed. Make sure this option is properly set when QMSI_LIBRARY installed. Make sure this option is properly set when QMSI_LIBRARY
is enabled otherwise the build will fail. is enabled otherwise the build will fail.
config SOC_WATCH config SOC_WATCH
bool "Enable SoCWatch drivers and related instrumentation" bool "Enable SoCWatch drivers and related instrumentation"
default n default n
depends on KERNEL_EVENT_LOGGER depends on KERNEL_EVENT_LOGGER
help help
This option enables the SoCWatch driver and related instrumentation. This option enables the SoCWatch driver and related instrumentation.
endif endif

View file

@ -14,7 +14,7 @@ config SIMPLELINK_HOST_DRIVER
depends on NEWLIB_LIBC depends on NEWLIB_LIBC
select ERRNO select ERRNO
help help
Build the SimpleLink host driver Build the SimpleLink host driver
# Kconfig - MSP432 SDK HAL configuration # Kconfig - MSP432 SDK HAL configuration

View file

@ -29,72 +29,72 @@ config MBEDTLS_BUILTIN
depends on MBEDTLS depends on MBEDTLS
default n default n
help help
Link with local mbedTLS sources instead of external library. Link with local mbedTLS sources instead of external library.
config MBEDTLS_CFG_FILE config MBEDTLS_CFG_FILE
string "mbed TLS configuration file" string "mbed TLS configuration file"
depends on MBEDTLS_BUILTIN depends on MBEDTLS_BUILTIN
default "config-threadnet.h" default "config-threadnet.h"
help help
Enable custom mbed TLS configuration Enable custom mbed TLS configuration
config MBEDTLS_DEBUG config MBEDTLS_DEBUG
bool "mbed TLS debug activation" bool "mbed TLS debug activation"
depends on MBEDTLS_BUILTIN depends on MBEDTLS_BUILTIN
default n default n
help help
Enable debugging activation for mbed TLS configuration. Note that this Enable debugging activation for mbed TLS configuration. Note that this
does not directly cause any debug print output. For that you need to does not directly cause any debug print output. For that you need to
call call
mbedtls_debug_set_threshold(level); mbedtls_debug_set_threshold(level);
and and
mbedtls_ssl_conf_dbg(&mbedtls.conf, my_debug, NULL); mbedtls_ssl_conf_dbg(&mbedtls.conf, my_debug, NULL);
functions in your application, and create the my_debug() function to functions in your application, and create the my_debug() function to
actually print something useful. actually print something useful.
config MBEDTLS_TEST config MBEDTLS_TEST
bool "Compile internal self test functions" bool "Compile internal self test functions"
depends on MBEDTLS_BUILTIN depends on MBEDTLS_BUILTIN
default n default n
help help
Enable self test function for the crypto algorithms Enable self test function for the crypto algorithms
config MBEDTLS_LIBRARY config MBEDTLS_LIBRARY
bool "Enable mbedTLS external library" bool "Enable mbedTLS external library"
depends on MBEDTLS depends on MBEDTLS
default n default n
help help
This option enables mbedTLS library. This option enables mbedTLS library.
config MBEDTLS_INSTALL_PATH config MBEDTLS_INSTALL_PATH
string "mbedTLS install path" string "mbedTLS install path"
depends on MBEDTLS_LIBRARY depends on MBEDTLS_LIBRARY
help help
This option holds the path where the mbedTLS libraries and headers are This option holds the path where the mbedTLS libraries and headers are
installed. Make sure this option is properly set when MBEDTLS_LIBRARY installed. Make sure this option is properly set when MBEDTLS_LIBRARY
is enabled otherwise the build will fail. is enabled otherwise the build will fail.
config MBEDTLS_ENABLE_HEAP config MBEDTLS_ENABLE_HEAP
bool "Enable global heap for mbed TLS" bool "Enable global heap for mbed TLS"
default n default n
depends on MBEDTLS depends on MBEDTLS
help help
This option enables the mbedtls to use the heap. This setting must This option enables the mbedtls to use the heap. This setting must
be global so that various applications and libraries in Zephyr do not be global so that various applications and libraries in Zephyr do not
try to do this themselves as there can be only one heap defined try to do this themselves as there can be only one heap defined
in mbedtls. If this is enabled, then the Zephyr will, during the device in mbedtls. If this is enabled, then the Zephyr will, during the device
startup, initialize the heap automatically. startup, initialize the heap automatically.
config MBEDTLS_HEAP_SIZE config MBEDTLS_HEAP_SIZE
int "Heap size for mbed TLS" int "Heap size for mbed TLS"
default 512 default 512
depends on MBEDTLS_ENABLE_HEAP depends on MBEDTLS_ENABLE_HEAP
help help
The mbedtls routines will use this heap if enabled. The mbedtls routines will use this heap if enabled.
See ext/lib/crypto/mbedtls/include/mbedtls/config.h and See ext/lib/crypto/mbedtls/include/mbedtls/config.h and
MBEDTLS_MEMORY_BUFFER_ALLOC_C option for details. That option is not MBEDTLS_MEMORY_BUFFER_ALLOC_C option for details. That option is not
enabled by default. enabled by default.
Default value for the heap size is not set as it depends on the Default value for the heap size is not set as it depends on the
application. For server application 15000 bytes should be enough. application. For server application 15000 bytes should be enough.
For some dedicated and specific usage of mbedtls API, the 1000 bytes For some dedicated and specific usage of mbedtls API, the 1000 bytes
might be ok. might be ok.

View file

@ -11,7 +11,7 @@ config TINYCRYPT
prompt "TinyCrypt Support" prompt "TinyCrypt Support"
default n default n
help help
This option enables the TinyCrypt cryptography library. This option enables the TinyCrypt cryptography library.
config TINYCRYPT_CTR_PRNG config TINYCRYPT_CTR_PRNG
bool bool
@ -19,8 +19,8 @@ config TINYCRYPT_CTR_PRNG
depends on TINYCRYPT depends on TINYCRYPT
default n default n
help help
This option enables support for the pseudo-random number This option enables support for the pseudo-random number
generator in counter mode. generator in counter mode.
config TINYCRYPT_SHA256 config TINYCRYPT_SHA256
bool bool
@ -28,8 +28,8 @@ config TINYCRYPT_SHA256
depends on TINYCRYPT depends on TINYCRYPT
default n default n
help help
This option enables support for SHA-256 This option enables support for SHA-256
hash function primitive. hash function primitive.
config TINYCRYPT_SHA256_HMAC config TINYCRYPT_SHA256_HMAC
bool bool
@ -37,8 +37,8 @@ config TINYCRYPT_SHA256_HMAC
depends on TINYCRYPT_SHA256 depends on TINYCRYPT_SHA256
default n default n
help help
This option enables support for HMAC using SHA-256 This option enables support for HMAC using SHA-256
message authentication code. message authentication code.
config TINYCRYPT_SHA256_HMAC_PRNG config TINYCRYPT_SHA256_HMAC_PRNG
bool bool
@ -46,8 +46,8 @@ config TINYCRYPT_SHA256_HMAC_PRNG
depends on TINYCRYPT_SHA256_HMAC depends on TINYCRYPT_SHA256_HMAC
default n default n
help help
This option enables support for pseudo-random number This option enables support for pseudo-random number
generator. generator.
config TINYCRYPT_ECC_DH config TINYCRYPT_ECC_DH
bool bool
@ -56,11 +56,11 @@ config TINYCRYPT_ECC_DH
select ENTROPY_GENERATOR select ENTROPY_GENERATOR
default n default n
help help
This option enables support for the Elliptic curve This option enables support for the Elliptic curve
Diffie-Hellman anonymous key agreement protocol. Diffie-Hellman anonymous key agreement protocol.
Enabling ECC requires a cryptographically secure random number Enabling ECC requires a cryptographically secure random number
generator. generator.
config TINYCRYPT_ECC_DSA config TINYCRYPT_ECC_DSA
bool bool
@ -69,11 +69,11 @@ config TINYCRYPT_ECC_DSA
select ENTROPY_GENERATOR select ENTROPY_GENERATOR
default n default n
help help
This option enables support for the Elliptic Curve Digital This option enables support for the Elliptic Curve Digital
Signature Algorithm (ECDSA). Signature Algorithm (ECDSA).
Enabling ECC requires a cryptographically secure random number Enabling ECC requires a cryptographically secure random number
generator. generator.
config TINYCRYPT_AES config TINYCRYPT_AES
bool bool
@ -81,7 +81,7 @@ config TINYCRYPT_AES
depends on TINYCRYPT depends on TINYCRYPT
default n default n
help help
This option enables support for AES-128 decrypt and encrypt. This option enables support for AES-128 decrypt and encrypt.
config TINYCRYPT_AES_CBC config TINYCRYPT_AES_CBC
bool bool
@ -89,7 +89,7 @@ config TINYCRYPT_AES_CBC
depends on TINYCRYPT_AES depends on TINYCRYPT_AES
default n default n
help help
This option enables support for AES-128 block cipher mode. This option enables support for AES-128 block cipher mode.
config TINYCRYPT_AES_CTR config TINYCRYPT_AES_CTR
bool bool
@ -97,7 +97,7 @@ config TINYCRYPT_AES_CTR
depends on TINYCRYPT_AES depends on TINYCRYPT_AES
default n default n
help help
This option enables support for AES-128 counter mode. This option enables support for AES-128 counter mode.
config TINYCRYPT_AES_CCM config TINYCRYPT_AES_CCM
bool bool
@ -105,7 +105,7 @@ config TINYCRYPT_AES_CCM
depends on TINYCRYPT_AES depends on TINYCRYPT_AES
default n default n
help help
This option enables support for AES-128 CCM mode. This option enables support for AES-128 CCM mode.
config TINYCRYPT_AES_CMAC config TINYCRYPT_AES_CMAC
bool bool
@ -113,4 +113,4 @@ config TINYCRYPT_AES_CMAC
depends on TINYCRYPT_AES depends on TINYCRYPT_AES
default n default n
help help
This option enables support for AES-128 CMAC mode. This option enables support for AES-128 CMAC mode.

View file

@ -14,14 +14,14 @@ config MULTITHREADING
prompt "Multi-threading" prompt "Multi-threading"
default y default y
help help
If disabled, only the main thread is available, so a main() function If disabled, only the main thread is available, so a main() function
must be provided. Interrupts are available. Kernel objects will most must be provided. Interrupts are available. Kernel objects will most
probably not behave as expected, especially with regards to pending, probably not behave as expected, especially with regards to pending,
since the main thread cannot pend, it being the only thread in the since the main thread cannot pend, it being the only thread in the
system. system.
Many drivers and subsystems will not work with this option; use only Many drivers and subsystems will not work with this option; use only
when you REALLY know what you are doing. when you REALLY know what you are doing.
config NUM_COOP_PRIORITIES config NUM_COOP_PRIORITIES
int int
@ -30,28 +30,28 @@ config NUM_COOP_PRIORITIES
default 1 if !MULTITHREADING default 1 if !MULTITHREADING
range 0 128 range 0 128
help help
Number of cooperative priorities configured in the system. Gives access Number of cooperative priorities configured in the system. Gives access
to priorities: to priorities:
K_PRIO_COOP(0) to K_PRIO_COOP(CONFIG_NUM_COOP_PRIORITIES - 1) K_PRIO_COOP(0) to K_PRIO_COOP(CONFIG_NUM_COOP_PRIORITIES - 1)
or seen another way, priorities: or seen another way, priorities:
-CONFIG_NUM_COOP_PRIORITIES to -1 -CONFIG_NUM_COOP_PRIORITIES to -1
This can be set to zero to disable cooperative scheduling. Cooperative This can be set to zero to disable cooperative scheduling. Cooperative
threads always preempt preemptible threads. threads always preempt preemptible threads.
Each priority requires an extra 8 bytes of RAM. Each set of 32 extra Each priority requires an extra 8 bytes of RAM. Each set of 32 extra
total priorities require an extra 4 bytes and add one possible total priorities require an extra 4 bytes and add one possible
iteration to loops that search for the next thread to run. iteration to loops that search for the next thread to run.
The total number of priorities is The total number of priorities is
NUM_COOP_PRIORITIES + NUM_PREEMPT_PRIORITIES + 1 NUM_COOP_PRIORITIES + NUM_PREEMPT_PRIORITIES + 1
The extra one is for the idle thread, which must run at the lowest The extra one is for the idle thread, which must run at the lowest
priority, and be the only thread at that priority. priority, and be the only thread at that priority.
config NUM_PREEMPT_PRIORITIES config NUM_PREEMPT_PRIORITIES
int int
@ -60,21 +60,21 @@ config NUM_PREEMPT_PRIORITIES
default 0 if !MULTITHREADING default 0 if !MULTITHREADING
range 0 128 range 0 128
help help
Number of preemptible priorities available in the system. Gives access Number of preemptible priorities available in the system. Gives access
to priorities 0 to CONFIG_NUM_PREEMPT_PRIORITIES - 1. to priorities 0 to CONFIG_NUM_PREEMPT_PRIORITIES - 1.
This can be set to 0 to disable preemptible scheduling. This can be set to 0 to disable preemptible scheduling.
Each priority requires an extra 8 bytes of RAM. Each set of 32 extra Each priority requires an extra 8 bytes of RAM. Each set of 32 extra
total priorities require an extra 4 bytes and add one possible total priorities require an extra 4 bytes and add one possible
iteration to loops that search for the next thread to run. iteration to loops that search for the next thread to run.
The total number of priorities is The total number of priorities is
NUM_COOP_PRIORITIES + NUM_PREEMPT_PRIORITIES + 1 NUM_COOP_PRIORITIES + NUM_PREEMPT_PRIORITIES + 1
The extra one is for the idle thread, which must run at the lowest The extra one is for the idle thread, which must run at the lowest
priority, and be the only thread at that priority. priority, and be the only thread at that priority.
config MAIN_THREAD_PRIORITY config MAIN_THREAD_PRIORITY
int int
@ -82,8 +82,8 @@ config MAIN_THREAD_PRIORITY
default 0 default 0
default -2 if !PREEMPT_ENABLED default -2 if !PREEMPT_ENABLED
help help
Priority at which the initialization thread runs, including the start Priority at which the initialization thread runs, including the start
of the main() function. main() can then change its priority if desired. of the main() function. main() can then change its priority if desired.
config COOP_ENABLED config COOP_ENABLED
bool bool
@ -106,11 +106,11 @@ config MAIN_STACK_SIZE
default 1024 default 1024
default 512 if ZTEST default 512 if ZTEST
help help
When the initialization is complete, the thread executing it then When the initialization is complete, the thread executing it then
executes the main() routine, so as to reuse the stack used by the executes the main() routine, so as to reuse the stack used by the
initialization, which would be wasted RAM otherwise. initialization, which would be wasted RAM otherwise.
After initialization is complete, the thread runs main(). After initialization is complete, the thread runs main().
config IDLE_STACK_SIZE config IDLE_STACK_SIZE
int int
@ -120,54 +120,54 @@ config IDLE_STACK_SIZE
default 512 if RISCV32 default 512 if RISCV32
default 1024 if XTENSA default 1024 if XTENSA
help help
Depending on the work that the idle task must do, most likely due to Depending on the work that the idle task must do, most likely due to
power management but possibly to other features like system event power management but possibly to other features like system event
logging (e.g. logging when the system goes to sleep), the idle thread logging (e.g. logging when the system goes to sleep), the idle thread
may need more stack space than the default value. may need more stack space than the default value.
config ISR_STACK_SIZE config ISR_STACK_SIZE
int int
prompt "ISR and initialization stack size (in bytes)" prompt "ISR and initialization stack size (in bytes)"
default 2048 default 2048
help help
This option specifies the size of the stack used by interrupt This option specifies the size of the stack used by interrupt
service routines (ISRs), and during kernel initialization. service routines (ISRs), and during kernel initialization.
config THREAD_STACK_INFO config THREAD_STACK_INFO
bool bool
prompt "Thread stack info" prompt "Thread stack info"
default n default n
help help
This option allows each thread to store the thread stack info into This option allows each thread to store the thread stack info into
the k_thread data structure. the k_thread data structure.
config THREAD_CUSTOM_DATA config THREAD_CUSTOM_DATA
bool bool
prompt "Thread custom data" prompt "Thread custom data"
default n default n
help help
This option allows each thread to store 32 bits of custom data, This option allows each thread to store 32 bits of custom data,
which can be accessed using the k_thread_custom_data_xxx() APIs. which can be accessed using the k_thread_custom_data_xxx() APIs.
config ERRNO config ERRNO
bool bool
prompt "Enable errno support" prompt "Enable errno support"
default y default y
help help
Enable per-thread errno in the kernel. Application and library code must Enable per-thread errno in the kernel. Application and library code must
include errno.h provided by the C library (libc) to use the errno include errno.h provided by the C library (libc) to use the errno
symbol. The C library must access the per-thread errno via the symbol. The C library must access the per-thread errno via the
_get_errno() symbol. _get_errno() symbol.
config APPLICATION_MEMORY config APPLICATION_MEMORY
bool bool
prompt "Split kernel and application memory" prompt "Split kernel and application memory"
default n default n
help help
For all read-write memory sections (namely bss, noinit, data), For all read-write memory sections (namely bss, noinit, data),
separate them into application and kernel areas. The application area separate them into application and kernel areas. The application area
will have the project-level application objects and any libraries will have the project-level application objects and any libraries
including the C library in it. including the C library in it.
menu "Kernel Debugging and Metrics" menu "Kernel Debugging and Metrics"
config KERNEL_DEBUG config KERNEL_DEBUG
@ -197,20 +197,20 @@ config BOOT_DELAY
prompt "Boot delay in milliseconds" prompt "Boot delay in milliseconds"
default 0 default 0
help help
This option delays bootup for the specified amount of This option delays bootup for the specified amount of
milliseconds. This is used to allow serial ports to get ready milliseconds. This is used to allow serial ports to get ready
before starting to print information on them during boot, as before starting to print information on them during boot, as
some systems might boot to fast for a receiving endpoint to some systems might boot to fast for a receiving endpoint to
detect the new USB serial bus, enumerate it and get ready to detect the new USB serial bus, enumerate it and get ready to
receive before it actually gets data. A similar effect can be receive before it actually gets data. A similar effect can be
achieved by waiting for DCD on the serial port--however, not achieved by waiting for DCD on the serial port--however, not
all serial ports have DCD. all serial ports have DCD.
config BUILD_TIMESTAMP config BUILD_TIMESTAMP
bool bool
prompt "Build Timestamp" prompt "Build Timestamp"
help help
Build timestamp and add it to the boot banner. Build timestamp and add it to the boot banner.
config INT_LATENCY_BENCHMARK config INT_LATENCY_BENCHMARK
bool bool
@ -218,21 +218,21 @@ config INT_LATENCY_BENCHMARK
default n default n
depends on ARCH="x86" depends on ARCH="x86"
help help
This option enables the tracking of interrupt latency metrics; This option enables the tracking of interrupt latency metrics;
the exact set of metrics being tracked is board-dependent. the exact set of metrics being tracked is board-dependent.
Tracking begins when int_latency_init() is invoked by an application. Tracking begins when int_latency_init() is invoked by an application.
The metrics are displayed (and a new sampling interval is started) The metrics are displayed (and a new sampling interval is started)
each time int_latency_show() is called thereafter. each time int_latency_show() is called thereafter.
config EXECUTION_BENCHMARKING config EXECUTION_BENCHMARKING
bool bool
prompt "Timing metrics " prompt "Timing metrics "
default n default n
help help
This option enables the tracking of various times inside the kernel This option enables the tracking of various times inside the kernel
the exact set of metrics being tracked is board-dependent. the exact set of metrics being tracked is board-dependent.
All timing measurements are enabled for X86 and ARM based architectures. All timing measurements are enabled for X86 and ARM based architectures.
In other architectures only a subset are enabled. In other architectures only a subset are enabled.
config THREAD_MONITOR config THREAD_MONITOR
bool bool
@ -269,24 +269,24 @@ menu "Atomic Operations"
config ATOMIC_OPERATIONS_BUILTIN config ATOMIC_OPERATIONS_BUILTIN
bool bool
help help
Use the compiler builtin functions for atomic operations. This is Use the compiler builtin functions for atomic operations. This is
the preferred method. However, support for all arches in GCC is the preferred method. However, support for all arches in GCC is
incomplete. incomplete.
config ATOMIC_OPERATIONS_CUSTOM config ATOMIC_OPERATIONS_CUSTOM
bool bool
help help
Use when there isn't support for compiler built-ins, but you have Use when there isn't support for compiler built-ins, but you have
written optimized assembly code under arch/ which implements these. written optimized assembly code under arch/ which implements these.
config ATOMIC_OPERATIONS_C config ATOMIC_OPERATIONS_C
bool bool
help help
Use atomic operations routines that are implemented entirely Use atomic operations routines that are implemented entirely
in C by locking interrupts. Selected by architectures which either in C by locking interrupts. Selected by architectures which either
do not have support for atomic operations in their instruction do not have support for atomic operations in their instruction
set, or haven't been implemented yet during bring-up, and also set, or haven't been implemented yet during bring-up, and also
the compiler does not have support for the atomic __sync_* builtins. the compiler does not have support for the atomic __sync_* builtins.
endmenu endmenu
menu "Timer API Options" menu "Timer API Options"
@ -296,8 +296,8 @@ config TIMESLICING
default y default y
depends on SYS_CLOCK_EXISTS && (NUM_PREEMPT_PRIORITIES != 0) depends on SYS_CLOCK_EXISTS && (NUM_PREEMPT_PRIORITIES != 0)
help help
This option enables time slicing between preemptible threads of This option enables time slicing between preemptible threads of
equal priority. equal priority.
config TIMESLICE_SIZE config TIMESLICE_SIZE
int "Time slice size (in ms)" int "Time slice size (in ms)"
@ -305,10 +305,10 @@ config TIMESLICE_SIZE
range 0 2147483647 range 0 2147483647
depends on TIMESLICING depends on TIMESLICING
help help
This option specifies the maximum amount of time a thread can execute This option specifies the maximum amount of time a thread can execute
before other threads of equal priority are given an opportunity to run. before other threads of equal priority are given an opportunity to run.
A time slice size of zero means "no limit" (i.e. an infinitely large A time slice size of zero means "no limit" (i.e. an infinitely large
time slice). time slice).
config TIMESLICE_PRIORITY config TIMESLICE_PRIORITY
int "Time slicing thread priority ceiling" int "Time slicing thread priority ceiling"
@ -316,19 +316,19 @@ config TIMESLICE_PRIORITY
range 0 NUM_PREEMPT_PRIORITIES range 0 NUM_PREEMPT_PRIORITIES
depends on TIMESLICING depends on TIMESLICING
help help
This option specifies the thread priority level at which time slicing This option specifies the thread priority level at which time slicing
takes effect; threads having a higher priority than this ceiling are takes effect; threads having a higher priority than this ceiling are
not subject to time slicing. not subject to time slicing.
config POLL config POLL
bool bool
prompt "async I/O framework" prompt "async I/O framework"
default n default n
help help
Asynchronous notification framework. Enable the k_poll() and Asynchronous notification framework. Enable the k_poll() and
k_poll_signal() APIs. The former can wait on multiple events k_poll_signal() APIs. The former can wait on multiple events
concurrently, which can be either directly triggered or triggered by concurrently, which can be either directly triggered or triggered by
the availability of some kernel objects (semaphores and fifos). the availability of some kernel objects (semaphores and fifos).
endmenu endmenu
@ -338,23 +338,23 @@ config NUM_MBOX_ASYNC_MSGS
int "Maximum number of in-flight asynchronous mailbox messages" int "Maximum number of in-flight asynchronous mailbox messages"
default 10 default 10
help help
This option specifies the total number of asynchronous mailbox This option specifies the total number of asynchronous mailbox
messages that can exist simultaneously, across all mailboxes messages that can exist simultaneously, across all mailboxes
in the system. in the system.
Setting this option to 0 disables support for asynchronous Setting this option to 0 disables support for asynchronous
mailbox messages. mailbox messages.
config NUM_PIPE_ASYNC_MSGS config NUM_PIPE_ASYNC_MSGS
int "Maximum number of in-flight asynchronous pipe messages" int "Maximum number of in-flight asynchronous pipe messages"
default 10 default 10
help help
This option specifies the total number of asynchronous pipe This option specifies the total number of asynchronous pipe
messages that can exist simultaneously, across all pipes in messages that can exist simultaneously, across all pipes in
the system. the system.
Setting this option to 0 disables support for asynchronous Setting this option to 0 disables support for asynchronous
pipe messages. pipe messages.
endmenu endmenu
@ -364,10 +364,10 @@ config HEAP_MEM_POOL_SIZE
prompt "Heap memory pool size (in bytes)" prompt "Heap memory pool size (in bytes)"
default 0 default 0
help help
This option specifies the size of the heap memory pool used when This option specifies the size of the heap memory pool used when
dynamically allocating memory using k_malloc(). Supported values dynamically allocating memory using k_malloc(). Supported values
are: 256, 1024, 4096, and 16384. A size of zero means that no are: 256, 1024, 4096, and 16384. A size of zero means that no
heap memory pool is defined. heap memory pool is defined.
endmenu endmenu
@ -376,42 +376,42 @@ config ARCH_HAS_CUSTOM_SWAP_TO_MAIN
# hidden # hidden
default n default n
help help
It's possible that an architecture port cannot use _Swap() to swap to It's possible that an architecture port cannot use _Swap() to swap to
the _main() thread, but instead must do something custom. It must the _main() thread, but instead must do something custom. It must
enable this option in that case. enable this option in that case.
config SYS_CLOCK_TICKS_PER_SEC config SYS_CLOCK_TICKS_PER_SEC
int int
prompt "System tick frequency (in ticks/second)" prompt "System tick frequency (in ticks/second)"
default 100 default 100
help help
This option specifies the frequency of the system clock in Hz. This option specifies the frequency of the system clock in Hz.
Depending on the choice made, an amount of possibly expensive math must Depending on the choice made, an amount of possibly expensive math must
occur when converting ticks to milliseconds and vice-versa. Some values occur when converting ticks to milliseconds and vice-versa. Some values
are optimized, and yield significantly less math. are optimized, and yield significantly less math.
The optimal values from a computational point-of-view are 1000, 500, The optimal values from a computational point-of-view are 1000, 500,
250 and 125, since in these cases there is either no computation 250 and 125, since in these cases there is either no computation
required, or it is all done via bit-shifting. These also give a required, or it is all done via bit-shifting. These also give a
granularity from 1ms to 8ms. granularity from 1ms to 8ms.
Other good values are 100, 50, 25, 20 and 10. In this case, some math Other good values are 100, 50, 25, 20 and 10. In this case, some math
is required but is minimized. These are also values that necessitate a is required but is minimized. These are also values that necessitate a
reduced number of clock interrupts per second, at the cost of reduced number of clock interrupts per second, at the cost of
granularity (10ms to 100ms). granularity (10ms to 100ms).
All other values require some extensive 64-bit math, and in some All other values require some extensive 64-bit math, and in some
configurations even require calls to compiler built-in functions, and configurations even require calls to compiler built-in functions, and
can require a non-trivial extra amount of stack space (e.g. around 80 can require a non-trivial extra amount of stack space (e.g. around 80
bytes on x86). bytes on x86).
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
int "System clock's h/w timer frequency" int "System clock's h/w timer frequency"
help help
This option specifies the frequency of the hardware timer used for the This option specifies the frequency of the hardware timer used for the
system clock (in Hz). This option is set by the board's Kconfig file system clock (in Hz). This option is set by the board's Kconfig file
and the user should generally avoid modifying it via the menu configuration. and the user should generally avoid modifying it via the menu configuration.
config SYS_CLOCK_EXISTS config SYS_CLOCK_EXISTS
bool bool
@ -419,17 +419,17 @@ config SYS_CLOCK_EXISTS
default y default y
default n if (SYS_CLOCK_TICKS_PER_SEC = 0) default n if (SYS_CLOCK_TICKS_PER_SEC = 0)
help help
This option specifies that the kernel lacks timer support. This option specifies that the kernel lacks timer support.
config INIT_STACKS config INIT_STACKS
bool bool
prompt "Initialize stack areas" prompt "Initialize stack areas"
default n default n
help help
This option instructs the kernel to initialize stack areas with a This option instructs the kernel to initialize stack areas with a
known value (0xaa) before they are first used, so that the high known value (0xaa) before they are first used, so that the high
water mark can be easily determined. This applies to the stack areas water mark can be easily determined. This applies to the stack areas
for threads. for threads.
config XIP config XIP
bool bool
@ -446,9 +446,9 @@ config RING_BUFFER
prompt "Enable ring buffers" prompt "Enable ring buffers"
default n default n
help help
Enable usage of ring buffers. This is similar to kernel FIFOs but ring Enable usage of ring buffers. This is similar to kernel FIFOs but ring
buffers manage their own buffer memory and can store arbitrary data. buffers manage their own buffer memory and can store arbitrary data.
For optimal performance, use buffer sizes that are a power of 2. For optimal performance, use buffer sizes that are a power of 2.
menu "Initialization Priorities" menu "Initialization Priorities"
@ -457,33 +457,33 @@ config KERNEL_INIT_PRIORITY_OBJECTS
prompt "Kernel objects initialization priority" prompt "Kernel objects initialization priority"
default 30 default 30
help help
Kernel objects use this priority for initialization. This Kernel objects use this priority for initialization. This
priority needs to be higher than minimal default initialization priority needs to be higher than minimal default initialization
priority. priority.
config KERNEL_INIT_PRIORITY_DEFAULT config KERNEL_INIT_PRIORITY_DEFAULT
int int
prompt "Default init priority" prompt "Default init priority"
default 40 default 40
help help
Default minimal init priority for each init level. Default minimal init priority for each init level.
config KERNEL_INIT_PRIORITY_DEVICE config KERNEL_INIT_PRIORITY_DEVICE
int int
prompt "Default init priority for device drivers" prompt "Default init priority for device drivers"
default 50 default 50
help help
Device driver, that depends on common components, such as Device driver, that depends on common components, such as
interrupt controller, but does not depend on other devices, interrupt controller, but does not depend on other devices,
uses this init priority. uses this init priority.
config APPLICATION_INIT_PRIORITY config APPLICATION_INIT_PRIORITY
int int
prompt "Default init priority for application level drivers" prompt "Default init priority for application level drivers"
default 90 default 90
help help
This priority level is for end-user drivers such as sensors and display This priority level is for end-user drivers such as sensors and display
which have no inward dependencies. which have no inward dependencies.
config PTHREAD_IPC config PTHREAD_IPC
bool bool
@ -502,18 +502,18 @@ config STACK_CANARIES
prompt "Compiler stack canaries" prompt "Compiler stack canaries"
default n default n
help help
This option enables compiler stack canaries support kernel functions. This option enables compiler stack canaries support kernel functions.
If stack canaries are supported by the compiler, it will emit If stack canaries are supported by the compiler, it will emit
extra code that inserts a canary value into the stack frame when extra code that inserts a canary value into the stack frame when
a function is entered and validates this value upon exit. a function is entered and validates this value upon exit.
Stack corruption (such as that caused by buffer overflow) results Stack corruption (such as that caused by buffer overflow) results
in a fatal error condition for the running entity. in a fatal error condition for the running entity.
Enabling this option can result in a significant increase Enabling this option can result in a significant increase
in footprint and an associated decrease in performance. in footprint and an associated decrease in performance.
If stack canaries are not supported by the compiler, enabling this If stack canaries are not supported by the compiler, enabling this
option has no effect. option has no effect.
config EXECUTE_XOR_WRITE config EXECUTE_XOR_WRITE
bool "Enable W^X for memory partitions" bool "Enable W^X for memory partitions"
@ -521,12 +521,12 @@ config EXECUTE_XOR_WRITE
depends on ARCH_HAS_EXECUTABLE_PAGE_BIT depends on ARCH_HAS_EXECUTABLE_PAGE_BIT
default y default y
help help
When enabled, will enforce that a writable page isn't executable When enabled, will enforce that a writable page isn't executable
and vice versa. This might not be acceptable in all scenarios, and vice versa. This might not be acceptable in all scenarios,
so this option is given for those unafraid of shooting themselves so this option is given for those unafraid of shooting themselves
in the foot. in the foot.
If unsure, say Y. If unsure, say Y.
endmenu endmenu
@ -537,7 +537,7 @@ config MAX_DOMAIN_PARTITIONS
range 0 255 range 0 255
depends on USERSPACE depends on USERSPACE
help help
Configure the maximum number of partitions per memory domain. Configure the maximum number of partitions per memory domain.
source "kernel/Kconfig.event_logger" source "kernel/Kconfig.event_logger"

View file

@ -13,7 +13,7 @@ config JSON_LIBRARY
default N default N
prompt "Build JSON library" prompt "Build JSON library"
help help
Build a minimal JSON parsing/encoding library. Used by sample Build a minimal JSON parsing/encoding library. Used by sample
applications such as the NATS client. applications such as the NATS client.
endmenu endmenu

View file

@ -12,23 +12,23 @@ config NEWLIB_LIBC
bool bool
prompt "Build with newlib c library" prompt "Build with newlib c library"
help help
Build with newlib library. The newlib library is expected to be Build with newlib library. The newlib library is expected to be
part of the SDK in this case. part of the SDK in this case.
config NEWLIB_LIBC_FLOAT_PRINTF config NEWLIB_LIBC_FLOAT_PRINTF
bool "Build with newlib float printf" bool "Build with newlib float printf"
default n default n
depends on NEWLIB_LIBC depends on NEWLIB_LIBC
help help
Build with floating point printf enabled. This will increase the size of Build with floating point printf enabled. This will increase the size of
the image. the image.
config NEWLIB_LIBC_FLOAT_SCANF config NEWLIB_LIBC_FLOAT_SCANF
bool "Build with newlib float scanf" bool "Build with newlib float scanf"
default n default n
depends on NEWLIB_LIBC depends on NEWLIB_LIBC
help help
Build with floating point scanf enabled. This will increase the size of Build with floating point scanf enabled. This will increase the size of
the image. the image.
endmenu endmenu

View file

@ -12,8 +12,8 @@ menu "Linker Options"
config HAS_FLASH_LOAD_OFFSET config HAS_FLASH_LOAD_OFFSET
bool bool
help help
This option is selected by targets having a FLASH_LOAD_OFFSET This option is selected by targets having a FLASH_LOAD_OFFSET
and FLASH_LOAD_SIZE. and FLASH_LOAD_SIZE.
if !HAS_DTS if !HAS_DTS
config FLASH_LOAD_OFFSET config FLASH_LOAD_OFFSET
@ -21,88 +21,88 @@ config FLASH_LOAD_OFFSET
default 0 default 0
depends on HAS_FLASH_LOAD_OFFSET depends on HAS_FLASH_LOAD_OFFSET
help help
This option specifies the byte offset from the beginning of flash that This option specifies the byte offset from the beginning of flash that
the kernel should be loaded into. Changing this value from zero will the kernel should be loaded into. Changing this value from zero will
affect the Zephyr image's link, and will decrease the total amount of affect the Zephyr image's link, and will decrease the total amount of
flash available for use by application code. flash available for use by application code.
If unsure, leave at the default value 0. If unsure, leave at the default value 0.
config FLASH_LOAD_SIZE config FLASH_LOAD_SIZE
hex "Kernel load size" hex "Kernel load size"
default 0 default 0
depends on HAS_FLASH_LOAD_OFFSET depends on HAS_FLASH_LOAD_OFFSET
help help
If non-zero, this option specifies the size, in bytes, of the flash If non-zero, this option specifies the size, in bytes, of the flash
area that the Zephyr image will be allowed to occupy. If zero, the area that the Zephyr image will be allowed to occupy. If zero, the
image will be able to occupy from the FLASH_LOAD_OFFSET to the end of image will be able to occupy from the FLASH_LOAD_OFFSET to the end of
the device. the device.
If unsure, leave at the default value 0. If unsure, leave at the default value 0.
endif endif
config TEXT_SECTION_OFFSET config TEXT_SECTION_OFFSET
hex "TEXT section offset" hex "TEXT section offset"
default 0 default 0
help help
This sets and offset before the text section and allows booting images This sets and offset before the text section and allows booting images
with custom headers that are inserted at the beginning of the image. with custom headers that are inserted at the beginning of the image.
config HAVE_CUSTOM_LINKER_SCRIPT config HAVE_CUSTOM_LINKER_SCRIPT
prompt "Custom linker scripts provided" prompt "Custom linker scripts provided"
def_bool n def_bool n
help help
Set this option if you have a custom linker script which needed to Set this option if you have a custom linker script which needed to
be define in CUSTOM_LINKER_SCRIPT. be define in CUSTOM_LINKER_SCRIPT.
config CUSTOM_LINKER_SCRIPT config CUSTOM_LINKER_SCRIPT
string "Path to custom linker script" string "Path to custom linker script"
default "" default ""
depends on HAVE_CUSTOM_LINKER_SCRIPT depends on HAVE_CUSTOM_LINKER_SCRIPT
help help
Path to the linker script to be used instead of the one define by the Path to the linker script to be used instead of the one define by the
board. board.
The linker script must be based on a version provided by Zephyr since The linker script must be based on a version provided by Zephyr since
the kernel can expect a certain layout/certain regions. the kernel can expect a certain layout/certain regions.
This is useful when an application needs to add sections into the This is useful when an application needs to add sections into the
linker script and avoid having to change the script provided by linker script and avoid having to change the script provided by
Zephyr. Zephyr.
config CUSTOM_RODATA_LD config CUSTOM_RODATA_LD
bool "Include custom-rodata.ld" bool "Include custom-rodata.ld"
default n default n
help help
Include a customized linker script fragment for inserting additional Include a customized linker script fragment for inserting additional
data and linker directives into the rodata section. data and linker directives into the rodata section.
config CUSTOM_RWDATA_LD config CUSTOM_RWDATA_LD
bool "Include custom-rwdata.ld" bool "Include custom-rwdata.ld"
default n default n
help help
Include a customized linker script fragment for inserting additional Include a customized linker script fragment for inserting additional
data and linker directives into the data section. data and linker directives into the data section.
config CUSTOM_SECTIONS_LD config CUSTOM_SECTIONS_LD
bool "Include custom-sections.ld" bool "Include custom-sections.ld"
default n default n
help help
Include a customized linker script fragment for inserting additional Include a customized linker script fragment for inserting additional
arbitrary sections. arbitrary sections.
config LINK_WHOLE_ARCHIVE config LINK_WHOLE_ARCHIVE
bool "Allow linking with --whole-archive" bool "Allow linking with --whole-archive"
default n default n
help help
This options allows linking external libraries with the This options allows linking external libraries with the
--whole-archive option to keep all symbols. --whole-archive option to keep all symbols.
config KERNEL_ENTRY config KERNEL_ENTRY
string "Kernel entry symbol" string "Kernel entry symbol"
default "__start" default "__start"
help help
Code entry symbol, to be set at linking phase. Code entry symbol, to be set at linking phase.
config CHECK_LINK_MAP config CHECK_LINK_MAP
bool "Check linker map" bool "Check linker map"
@ -117,28 +117,28 @@ menu "Compiler Options"
config CROSS_COMPILE config CROSS_COMPILE
string "Cross-compiler tool prefix" string "Cross-compiler tool prefix"
help help
Same as running 'make CROSS_COMPILE=prefix-' but stored for Same as running 'make CROSS_COMPILE=prefix-' but stored for
default make runs in this kernel build directory. You don't default make runs in this kernel build directory. You don't
need to set this unless you want the configured kernel build need to set this unless you want the configured kernel build
directory to select the cross-compiler automatically. directory to select the cross-compiler automatically.
config COMPILER_OPT config COMPILER_OPT
string string
prompt "Custom compiler options" prompt "Custom compiler options"
default "" default ""
help help
This option is a free-form string that is passed to the compiler This option is a free-form string that is passed to the compiler
when building all parts of a project (i.e. kernel). when building all parts of a project (i.e. kernel).
The compiler options specified by this string supplement the The compiler options specified by this string supplement the
predefined set of compiler supplied by the build system, predefined set of compiler supplied by the build system,
and can be used to change compiler optimization, warning and error and can be used to change compiler optimization, warning and error
messages, and so on. messages, and so on.
config TOOLCHAIN_VARIANT config TOOLCHAIN_VARIANT
string "Cross-compiler variant name" string "Cross-compiler variant name"
help help
For optimized compilers with reduced features, specify the name For optimized compilers with reduced features, specify the name
of the variant. of the variant.
endmenu endmenu
@ -200,7 +200,7 @@ config PERFORMANCE_METRICS
prompt "Enable performance metrics [EXPERIMENTAL]" prompt "Enable performance metrics [EXPERIMENTAL]"
default n default n
help help
Enable Performance Metrics. Enable Performance Metrics.
config BOOT_TIME_MEASUREMENT config BOOT_TIME_MEASUREMENT
bool bool
@ -208,11 +208,11 @@ config BOOT_TIME_MEASUREMENT
default n default n
depends on PERFORMANCE_METRICS depends on PERFORMANCE_METRICS
help help
This option enables the recording of timestamps during system start This option enables the recording of timestamps during system start
up. The global variable __start_time_stamp records the time kernel begins up. The global variable __start_time_stamp records the time kernel begins
executing, while __main_time_stamp records when main() begins executing, executing, while __main_time_stamp records when main() begins executing,
and __idle_time_stamp records when the CPU becomes idle. All values are and __idle_time_stamp records when the CPU becomes idle. All values are
recorded in terms of CPU clock cycles since system reset. recorded in terms of CPU clock cycles since system reset.
config CPU_CLOCK_FREQ_MHZ config CPU_CLOCK_FREQ_MHZ
int int
@ -220,8 +220,8 @@ config CPU_CLOCK_FREQ_MHZ
default 20 default 20
depends on BOOT_TIME_MEASUREMENT depends on BOOT_TIME_MEASUREMENT
help help
This option specifies the CPU Clock Frequency in MHz in order to This option specifies the CPU Clock Frequency in MHz in order to
convert Intel RDTSC timestamp to microseconds. convert Intel RDTSC timestamp to microseconds.
endmenu endmenu
@ -233,8 +233,8 @@ config IS_BOOTLOADER
depends on XIP depends on XIP
depends on ARM depends on ARM
help help
This option indicates that Zephyr will act as a bootloader to execute This option indicates that Zephyr will act as a bootloader to execute
a separate Zephyr image payload. a separate Zephyr image payload.
config BOOTLOADER_SRAM_SIZE config BOOTLOADER_SRAM_SIZE
int "SRAM reserved for when Zephyr acts as a bootloader" int "SRAM reserved for when Zephyr acts as a bootloader"
@ -242,8 +242,8 @@ config BOOTLOADER_SRAM_SIZE
depends on !XIP || IS_BOOTLOADER depends on !XIP || IS_BOOTLOADER
depends on ARM depends on ARM
help help
This option specifies the amount of SRAM (measure in kB) reserved for This option specifies the amount of SRAM (measure in kB) reserved for
when Zephyr is to act as a bootloader. when Zephyr is to act as a bootloader.
config BOOTLOADER_KEXEC config BOOTLOADER_KEXEC
bool bool
@ -251,8 +251,8 @@ config BOOTLOADER_KEXEC
depends on X86 depends on X86
default n default n
help help
This option signifies that Linux boots the kernel using kexec system call This option signifies that Linux boots the kernel using kexec system call
and utility. This method is used to boot the kernel over the network. and utility. This method is used to boot the kernel over the network.
config BOOTLOADER_UNKNOWN config BOOTLOADER_UNKNOWN
bool bool
@ -260,10 +260,10 @@ config BOOTLOADER_UNKNOWN
default n default n
depends on X86 depends on X86
help help
This option signifies that the target has a generic bootloader This option signifies that the target has a generic bootloader
or that it supports multiple ways of booting and it isn't clear or that it supports multiple ways of booting and it isn't clear
at build time which method is to be used. When this option is enabled at build time which method is to be used. When this option is enabled
the board may have to do extra work to ensure a proper startup. the board may have to do extra work to ensure a proper startup.
config BOOTLOADER_CONTEXT_RESTORE config BOOTLOADER_CONTEXT_RESTORE
bool bool
@ -271,16 +271,16 @@ config BOOTLOADER_CONTEXT_RESTORE
default y default y
depends on SYS_POWER_DEEP_SLEEP && BOOTLOADER_CONTEXT_RESTORE_SUPPORTED depends on SYS_POWER_DEEP_SLEEP && BOOTLOADER_CONTEXT_RESTORE_SUPPORTED
help help
This option signifies that the target has a bootloader This option signifies that the target has a bootloader
that restores CPU context upon resuming from deep sleep that restores CPU context upon resuming from deep sleep
power state. power state.
config REBOOT config REBOOT
bool "Reboot functionality" bool "Reboot functionality"
default n default n
select SYSTEM_CLOCK_DISABLE select SYSTEM_CLOCK_DISABLE
help help
Enable the sys_reboot() API. Enabling this can drag in other subsystems Enable the sys_reboot() API. Enabling this can drag in other subsystems
needed to perform a "safe" reboot (e.g. SYSTEM_CLOCK_DISABLE, to stop the needed to perform a "safe" reboot (e.g. SYSTEM_CLOCK_DISABLE, to stop the
system clock before issuing a reset). system clock before issuing a reset).
endmenu endmenu

View file

@ -11,5 +11,5 @@ config BT_SHELL
default n default n
select CONSOLE_SHELL select CONSOLE_SHELL
help help
Activate shell module that provides Bluetooth commands to the Activate shell module that provides Bluetooth commands to the
console. console.

View file

@ -11,7 +11,7 @@ config CONSOLE_PULL
default n default n
prompt "Enable pull-style Console access" prompt "Enable pull-style Console access"
help help
Get data from console using getchar/getline calls Get data from console using getchar/getline calls
if CONSOLE_PULL if CONSOLE_PULL
choice choice

View file

@ -3,5 +3,5 @@ config CPLUSPLUS
bool "Enable C++ support for the application" bool "Enable C++ support for the application"
default n default n
help help
This option enables the use of applications built with C++. This option enables the use of applications built with C++.

View file

@ -12,41 +12,41 @@ config DEBUG
bool "Build kernel with debugging enabled" bool "Build kernel with debugging enabled"
default n default n
help help
Build a kernel suitable for debugging. Right now, this option Build a kernel suitable for debugging. Right now, this option
only disables optimization, more debugging variants can be selected only disables optimization, more debugging variants can be selected
from here to allow more debugging. from here to allow more debugging.
config STACK_USAGE config STACK_USAGE
bool "Generate stack usage information" bool "Generate stack usage information"
default n default n
help help
Generate an extra file that specifies the maximum amount of stack used, Generate an extra file that specifies the maximum amount of stack used,
on a per-function basis. on a per-function basis.
config STACK_SENTINEL config STACK_SENTINEL
bool "Enable stack sentinel" bool "Enable stack sentinel"
select THREAD_STACK_INFO select THREAD_STACK_INFO
default n default n
help help
Store a magic value at the lowest addresses of a thread's stack. Store a magic value at the lowest addresses of a thread's stack.
Periodically check that this value is still present and kill the Periodically check that this value is still present and kill the
thread gracefully if it isn't. This is currently checked in four thread gracefully if it isn't. This is currently checked in four
places: places:
1) Upon any context switch for the outgoing thread 1) Upon any context switch for the outgoing thread
2) Any hardware interrupt that doesn't context switch, the check is 2) Any hardware interrupt that doesn't context switch, the check is
performed for the interrupted thread performed for the interrupted thread
3) When a thread returns from its entry point 3) When a thread returns from its entry point
4) When a thread calls k_yield() but doesn't context switch 4) When a thread calls k_yield() but doesn't context switch
This feature doesn't prevent corruption and the system may be This feature doesn't prevent corruption and the system may be
in an unusable state. However, given the bizarre behavior associated in an unusable state. However, given the bizarre behavior associated
with stack overflows, knowledge that this is happening is very with stack overflows, knowledge that this is happening is very
useful. useful.
This feature is intended for those systems which lack hardware support This feature is intended for those systems which lack hardware support
for stack overflow protection, or have insufficient system resources for stack overflow protection, or have insufficient system resources
to use that hardware support. to use that hardware support.
config PRINTK config PRINTK
bool bool
@ -54,10 +54,10 @@ config PRINTK
depends on CONSOLE_HAS_DRIVER depends on CONSOLE_HAS_DRIVER
default y default y
help help
This option directs printk() debugging output to the supported This option directs printk() debugging output to the supported
console device, rather than suppressing the generation console device, rather than suppressing the generation
of printk() output entirely. Output is sent immediately, without of printk() output entirely. Output is sent immediately, without
any mutual exclusion or buffering. any mutual exclusion or buffering.
config PRINTK_BUFFER_SIZE config PRINTK_BUFFER_SIZE
int int
@ -66,9 +66,9 @@ config PRINTK_BUFFER_SIZE
depends on USERSPACE depends on USERSPACE
default 32 default 32
help help
If userspace is enabled, printk() calls are buffered so that we do If userspace is enabled, printk() calls are buffered so that we do
not have to make a system call for every character emitted. Specify not have to make a system call for every character emitted. Specify
the size of this buffer. the size of this buffer.
config STDOUT_CONSOLE config STDOUT_CONSOLE
bool bool
@ -76,28 +76,28 @@ config STDOUT_CONSOLE
depends on CONSOLE_HAS_DRIVER depends on CONSOLE_HAS_DRIVER
default n default n
help help
This option directs standard output (e.g. printf) to the console This option directs standard output (e.g. printf) to the console
device, rather than suppressing it entirely. device, rather than suppressing it entirely.
config EARLY_CONSOLE config EARLY_CONSOLE
bool bool
prompt "Send stdout at the earliest stage possible" prompt "Send stdout at the earliest stage possible"
default n default n
help help
This option will enable stdout as early as possible, for debugging This option will enable stdout as early as possible, for debugging
purpose. For instance, in case of STDOUT_CONSOLE being set it will purpose. For instance, in case of STDOUT_CONSOLE being set it will
initialize its driver earlier than normal, in order to get the stdout initialize its driver earlier than normal, in order to get the stdout
sent through the console at the earliest stage possible. sent through the console at the earliest stage possible.
config ASSERT config ASSERT
bool bool
prompt "Enable __ASSERT() macro" prompt "Enable __ASSERT() macro"
default n default n
help help
This enables the __ASSERT() macro in the kernel code. If an assertion This enables the __ASSERT() macro in the kernel code. If an assertion
fails, the calling thread is put on an infinite tight loop. Since fails, the calling thread is put on an infinite tight loop. Since
enabling this adds a significant footprint, it should only be enabled enabling this adds a significant footprint, it should only be enabled
in a non-production system. in a non-production system.
config ASSERT_LEVEL config ASSERT_LEVEL
int int
@ -106,38 +106,38 @@ config ASSERT_LEVEL
range 0 2 range 0 2
depends on ASSERT depends on ASSERT
help help
This option specifies the assertion level used by the __ASSERT() This option specifies the assertion level used by the __ASSERT()
macro. It can be set to one of three possible values: macro. It can be set to one of three possible values:
Level 0: off Level 0: off
Level 1: on + warning in every file that includes __assert.h Level 1: on + warning in every file that includes __assert.h
Level 2: on + no warning Level 2: on + no warning
config OBJECT_TRACING config OBJECT_TRACING
bool bool
prompt "Kernel object tracing" prompt "Kernel object tracing"
default n default n
help help
This option enable the feature for tracing kernel objects. This option This option enable the feature for tracing kernel objects. This option
is for debug purposes and increases the memory footprint of the kernel. is for debug purposes and increases the memory footprint of the kernel.
config OVERRIDE_FRAME_POINTER_DEFAULT config OVERRIDE_FRAME_POINTER_DEFAULT
bool bool
prompt "Override compiler defaults for -fomit-frame-pointer" prompt "Override compiler defaults for -fomit-frame-pointer"
default n default n
help help
Omitting the frame pointer prevents the compiler from putting the stack Omitting the frame pointer prevents the compiler from putting the stack
frame pointer into a register. Saves a few instructions in function frame pointer into a register. Saves a few instructions in function
prologues/epilogues and frees up a register for general-purpose use, prologues/epilogues and frees up a register for general-purpose use,
which can provide good performance improvements on register-constrained which can provide good performance improvements on register-constrained
architectures like x86. On some architectures (including x86) omitting architectures like x86. On some architectures (including x86) omitting
frame pointers impedes debugging as local variables are harder to frame pointers impedes debugging as local variables are harder to
locate. At -O1 and above gcc will enable -fomit-frame-pointer locate. At -O1 and above gcc will enable -fomit-frame-pointer
automatically but only if the architecture does not require if for automatically but only if the architecture does not require if for
effective debugging. effective debugging.
Choose Y if you want to override the default frame pointer behavior Choose Y if you want to override the default frame pointer behavior
of your compiler, otherwise choose N. of your compiler, otherwise choose N.
config OMIT_FRAME_POINTER config OMIT_FRAME_POINTER
bool bool
@ -145,15 +145,15 @@ config OMIT_FRAME_POINTER
default n default n
depends on OVERRIDE_FRAME_POINTER_DEFAULT depends on OVERRIDE_FRAME_POINTER_DEFAULT
help help
Choose Y for best performance. On some architectures (including x86) Choose Y for best performance. On some architectures (including x86)
this will favor code size and performance over debugability. this will favor code size and performance over debugability.
Choose N in you wish to retain the frame pointer. This option may Choose N in you wish to retain the frame pointer. This option may
be useful if your application uses runtime backtracing and does not be useful if your application uses runtime backtracing and does not
support parsing unwind tables. support parsing unwind tables.
If unsure, disable OVERRIDE_FRAME_POINTER_DEFAULT to allow the compiler If unsure, disable OVERRIDE_FRAME_POINTER_DEFAULT to allow the compiler
to adopt sensible defaults for your architecture. to adopt sensible defaults for your architecture.
# #
@ -164,10 +164,10 @@ config DEBUG_INFO
default n default n
depends on X86 depends on X86
help help
This option enables the addition of various information that can be used This option enables the addition of various information that can be used
by debuggers in debugging the system. by debuggers in debugging the system.
NOTE: Does not currently work with the x86 IAMCU ABI. NOTE: Does not currently work with the x86 IAMCU ABI.
# #
# Miscellaneous debugging options # Miscellaneous debugging options

View file

@ -47,16 +47,16 @@ config SYS_LOG_IMG_MANAGER_LEVEL
default 0 default 0
range 0 4 range 0 4
help help
Sets log level for the image manager. Sets log level for the image manager.
Levels are: Levels are:
- 0 OFF: do not write - 0 OFF: do not write
- 1 ERROR: only write SYS_LOG_ERR - 1 ERROR: only write SYS_LOG_ERR
- 2 WARNING: write SYS_LOG_WRN in addition to previous level - 2 WARNING: write SYS_LOG_WRN in addition to previous level
- 3 INFO: write SYS_LOG_INF in addition to previous levels - 3 INFO: write SYS_LOG_INF in addition to previous levels
- 4 DEBUG: write SYS_LOG_DBG in addition to previous levels - 4 DEBUG: write SYS_LOG_DBG in addition to previous levels
endmenu endmenu

View file

@ -11,7 +11,7 @@ config DISK_ACCESS
default n default n
prompt "Enable Disk Interface" prompt "Enable Disk Interface"
help help
Enable disk access over a supported media backend like FLASH or RAM Enable disk access over a supported media backend like FLASH or RAM
if DISK_ACCESS if DISK_ACCESS
choice choice
@ -20,15 +20,15 @@ choice
config DISK_ACCESS_RAM config DISK_ACCESS_RAM
bool "RAM Disk" bool "RAM Disk"
help help
RAM buffer used to emulate storage disk. RAM buffer used to emulate storage disk.
This option can used to test the file This option can used to test the file
system. system.
config DISK_ACCESS_FLASH config DISK_ACCESS_FLASH
bool "Flash" bool "Flash"
select FLASH select FLASH
help help
Flash device is used for the file system. Flash device is used for the file system.
endchoice endchoice
@ -41,31 +41,31 @@ config DISK_FLASH_DEV_NAME
config DISK_FLASH_START config DISK_FLASH_START
hex hex
help help
This is start address of the flash to be used as storage backend. This is start address of the flash to be used as storage backend.
config DISK_FLASH_MAX_RW_SIZE config DISK_FLASH_MAX_RW_SIZE
int int
help help
This is the maximum number of bytes that the This is the maximum number of bytes that the
flash_write API can do per invocation. flash_write API can do per invocation.
API. API.
config DISK_FLASH_ERASE_ALIGNMENT config DISK_FLASH_ERASE_ALIGNMENT
hex hex
help help
This is the start address alignment required by This is the start address alignment required by
the flash component. the flash component.
config DISK_ERASE_BLOCK_SIZE config DISK_ERASE_BLOCK_SIZE
hex hex
help help
This is typically the minimum block size that This is typically the minimum block size that
is erased at one time in flash storage. is erased at one time in flash storage.
config DISK_VOLUME_SIZE config DISK_VOLUME_SIZE
hex hex
help help
This is the file system volume size in bytes. This is the file system volume size in bytes.
endif # DISK_ACCESS_FLASH endif # DISK_ACCESS_FLASH
endif # DISK_ACCESS endif # DISK_ACCESS

View file

@ -11,7 +11,7 @@ config FILE_SYSTEM
select DISK_ACCESS select DISK_ACCESS
default n default n
help help
Enables support for file system. Enables support for file system.
if FILE_SYSTEM if FILE_SYSTEM
@ -27,15 +27,15 @@ config NO_FS
config FAT_FILESYSTEM_ELM config FAT_FILESYSTEM_ELM
bool "ELM FAT File System" bool "ELM FAT File System"
help help
Use the ELM FAT File system implementation. Use the ELM FAT File system implementation.
config FILE_SYSTEM_NFFS config FILE_SYSTEM_NFFS
bool "NFFS file system support" bool "NFFS file system support"
select FLASH_PAGE_LAYOUT select FLASH_PAGE_LAYOUT
help help
Enables NFFS file system support. Enables NFFS file system support.
Note: NFFS requires 1-byte unaligned access to flash thus it Note: NFFS requires 1-byte unaligned access to flash thus it
will not work on devices that support only aligned flash access. will not work on devices that support only aligned flash access.
endchoice endchoice
@ -43,8 +43,8 @@ config FILE_SYSTEM_SHELL
bool "Enable file system shell" bool "Enable file system shell"
depends on CONSOLE_SHELL depends on CONSOLE_SHELL
help help
This shell provides basic browsing of the contents of the This shell provides basic browsing of the contents of the
file system. file system.
menu "NFFS Settings" menu "NFFS Settings"

View file

@ -71,6 +71,6 @@ config SYS_LOG_EXT_HOOK
depends on SYS_LOG depends on SYS_LOG
default n default n
help help
Use external hook function for logging. Use external hook function for logging.
endmenu endmenu

View file

@ -12,8 +12,8 @@ config NET_BUF
bool "Network buffer support" bool "Network buffer support"
default n default n
help help
This option enables support for generic network protocol This option enables support for generic network protocol
buffers. buffers.
config NET_BUF_LOG config NET_BUF_LOG
bool "Network buffer logging" bool "Network buffer logging"
@ -22,7 +22,7 @@ config NET_BUF_LOG
select SYS_LOG select SYS_LOG
default n default n
help help
Enable logs and checks for the generic network buffers. Enable logs and checks for the generic network buffers.
config SYS_LOG_NET_BUF_LEVEL config SYS_LOG_NET_BUF_LEVEL
int int
@ -46,10 +46,10 @@ config NET_BUF_WARN_ALLOC_INTERVAL
default 1 default 1
range 0 60 range 0 60
help help
Interval in seconds of Network buffer allocation warnings which are Interval in seconds of Network buffer allocation warnings which are
generated when a buffer cannot immediately be allocated with K_FOREVER generated when a buffer cannot immediately be allocated with K_FOREVER
which may lead to deadlocks. Setting it to 0 makes warnings to be which may lead to deadlocks. Setting it to 0 makes warnings to be
printed only once per allocation. printed only once per allocation.
config NET_BUF_SIMPLE_LOG config NET_BUF_SIMPLE_LOG
bool "Network buffer memory debugging" bool "Network buffer memory debugging"
@ -65,10 +65,10 @@ config NET_BUF_POOL_USAGE
depends on NET_BUF depends on NET_BUF
default n default n
help help
Enable network buffer pool tracking. This means that: Enable network buffer pool tracking. This means that:
* amount of free buffers in the pool is remembered * amount of free buffers in the pool is remembered
* total size of the pool is calculated * total size of the pool is calculated
* pool name is stored and can be shown in debugging prints * pool name is stored and can be shown in debugging prints
config NETWORKING config NETWORKING
bool "Link layer and IP networking support" bool "Link layer and IP networking support"
@ -77,7 +77,7 @@ config NETWORKING
select ENTROPY_GENERATOR select ENTROPY_GENERATOR
default n default n
help help
This option enabled generic link layer and IP networking support. This option enabled generic link layer and IP networking support.
if NETWORKING if NETWORKING

View file

@ -14,11 +14,11 @@ config NET_RAW_MODE
bool bool
default n default n
help help
This is a very specific option used to built only the very minimal This is a very specific option used to built only the very minimal
part of the net stack in order to get network drivers working without part of the net stack in order to get network drivers working without
any net stack above: core, L2 etc... Basically this will build only any net stack above: core, L2 etc... Basically this will build only
net_pkt part. It is currently used only by IEEE 802.15.4 drivers, net_pkt part. It is currently used only by IEEE 802.15.4 drivers,
though any type of net drivers could use it. though any type of net drivers could use it.
if !NET_RAW_MODE if !NET_RAW_MODE
@ -26,8 +26,8 @@ config NET_INIT_PRIO
int int
default 90 default 90
help help
Network initialization priority level. This number tells how Network initialization priority level. This number tells how
early in the boot the network stack is initialized. early in the boot the network stack is initialized.
source "subsys/net/ip/Kconfig.debug" source "subsys/net/ip/Kconfig.debug"
@ -40,15 +40,15 @@ config NET_SHELL
default n default n
select CONSOLE_SHELL select CONSOLE_SHELL
help help
Activate shell module that provides network commands like Activate shell module that provides network commands like
ping to the console. ping to the console.
config NET_IP_ADDR_CHECK config NET_IP_ADDR_CHECK
bool "Check IP address validity before sending IP packet" bool "Check IP address validity before sending IP packet"
default y default y
help help
Check that either the source or destination address is Check that either the source or destination address is
correct before sending either IPv4 or IPv6 network packet. correct before sending either IPv4 or IPv6 network packet.
config NET_MAX_ROUTERS config NET_MAX_ROUTERS
int "How many routers are supported" int "How many routers are supported"
@ -57,7 +57,7 @@ config NET_MAX_ROUTERS
default 1 if !NET_IPV4 && NET_IPV6 default 1 if !NET_IPV4 && NET_IPV6
range 1 254 range 1 254
help help
The value depends on your network needs. The value depends on your network needs.
# Normally the route support is enabled by RPL or similar technology # Normally the route support is enabled by RPL or similar technology
# that needs to use the routing infrastructure. # that needs to use the routing infrastructure.
@ -72,14 +72,14 @@ config NET_MAX_ROUTES
default NET_IPV6_MAX_NEIGHBORS default NET_IPV6_MAX_NEIGHBORS
depends on NET_ROUTE depends on NET_ROUTE
help help
This determines how many entries can be stored in routing table. This determines how many entries can be stored in routing table.
config NET_MAX_NEXTHOPS config NET_MAX_NEXTHOPS
int "Max number of next hop entries stored." int "Max number of next hop entries stored."
default NET_MAX_ROUTES default NET_MAX_ROUTES
depends on NET_ROUTE depends on NET_ROUTE
help help
This determines how many entries can be stored in nexthop table. This determines how many entries can be stored in nexthop table.
config NET_ROUTE_MCAST config NET_ROUTE_MCAST
bool bool
@ -91,29 +91,29 @@ config NET_MAX_MCAST_ROUTES
default 1 default 1
depends on NET_ROUTE_MCAST depends on NET_ROUTE_MCAST
help help
This determines how many entries can be stored in multicast This determines how many entries can be stored in multicast
routing table. routing table.
config NET_TCP config NET_TCP
bool "Enable TCP" bool "Enable TCP"
default n default n
help help
The value depends on your network needs. The value depends on your network needs.
config NET_TCP_CHECKSUM config NET_TCP_CHECKSUM
bool "Check TCP checksum" bool "Check TCP checksum"
default y default y
depends on NET_TCP depends on NET_TCP
help help
Enables TCP handler to check TCP checksum. If the checksum is invalid, Enables TCP handler to check TCP checksum. If the checksum is invalid,
then the packet is discarded. then the packet is discarded.
config NET_DEBUG_TCP config NET_DEBUG_TCP
bool "Debug TCP" bool "Debug TCP"
default n default n
depends on NET_TCP && NET_LOG depends on NET_TCP && NET_LOG
help help
Enables TCP handler output debug messages Enables TCP handler output debug messages
config NET_TCP_BACKLOG_SIZE config NET_TCP_BACKLOG_SIZE
int "Number of simultaneous incoming TCP connections" int "Number of simultaneous incoming TCP connections"
@ -121,28 +121,28 @@ config NET_TCP_BACKLOG_SIZE
default 1 default 1
range 1 128 range 1 128
help help
The number of simultaneous TCP connection attempts, i.e. outstanding The number of simultaneous TCP connection attempts, i.e. outstanding
TCP connections waiting for initial ACK. TCP connections waiting for initial ACK.
config NET_TCP_TIME_WAIT config NET_TCP_TIME_WAIT
bool "Enable TCP TIME_WAIT timeouts" bool "Enable TCP TIME_WAIT timeouts"
depends on NET_TCP depends on NET_TCP
default n default n
help help
Officially, the TCP standard requires a 4 minute timeout on Officially, the TCP standard requires a 4 minute timeout on
connection close before that particular port pair can be used connection close before that particular port pair can be used
again. This requires that the net_context and net_tcp structs again. This requires that the net_context and net_tcp structs
persist for the full duration, so has non-trivial memory costs persist for the full duration, so has non-trivial memory costs
and is optional. Modern systems with well-randomized sequence and is optional. Modern systems with well-randomized sequence
numbers don't need this, but it is present for specification numbers don't need this, but it is present for specification
compliance where needed. compliance where needed.
config NET_TCP_2MSL_TIME config NET_TCP_2MSL_TIME
int "How long to wait in TIME_WAIT (in seconds)" int "How long to wait in TIME_WAIT (in seconds)"
depends on NET_TCP_TIME_WAIT depends on NET_TCP_TIME_WAIT
default 240 default 240
help help
The value is in seconds. The value is in seconds.
config NET_TCP_ACK_TIMEOUT config NET_TCP_ACK_TIMEOUT
int "How long to wait for ACK (in milliseconds)" int "How long to wait for ACK (in milliseconds)"
@ -150,9 +150,9 @@ config NET_TCP_ACK_TIMEOUT
default 1000 default 1000
range 1 2147483647 range 1 2147483647
help help
This value affects the timeout when waiting ACK to arrive in This value affects the timeout when waiting ACK to arrive in
various TCP states. The value is in milliseconds. Note that various TCP states. The value is in milliseconds. Note that
having a very low value here could prevent connectivity. having a very low value here could prevent connectivity.
config NET_TCP_INIT_RETRANSMISSION_TIMEOUT config NET_TCP_INIT_RETRANSMISSION_TIMEOUT
int "Initial value of Retransmission Timeout (RTO) (in milliseconds)" int "Initial value of Retransmission Timeout (RTO) (in milliseconds)"
@ -160,48 +160,48 @@ config NET_TCP_INIT_RETRANSMISSION_TIMEOUT
default 200 default 200
range 100 60000 range 100 60000
help help
This value affects the timeout between initial retransmission This value affects the timeout between initial retransmission
of TCP data packets. The value is in milliseconds. of TCP data packets. The value is in milliseconds.
config NET_TCP_RETRY_COUNT config NET_TCP_RETRY_COUNT
int "Maximum number of TCP segment retransmissions" int "Maximum number of TCP segment retransmissions"
depends on NET_TCP depends on NET_TCP
default 9 default 9
help help
The following formula can be used to determine the time (in ms) The following formula can be used to determine the time (in ms)
that a segment will be be buffered awaiting retransmission: that a segment will be be buffered awaiting retransmission:
n=NET_TCP_RETRY_COUNT n=NET_TCP_RETRY_COUNT
Sum((1<<n) * NET_TCP_INIT_RETRANSMISSION_TIMEOUT) Sum((1<<n) * NET_TCP_INIT_RETRANSMISSION_TIMEOUT)
n=0 n=0
With the default value of 9, the IP stack will try to With the default value of 9, the IP stack will try to
retransmit for up to 1:42 minutes. This is as close as possible retransmit for up to 1:42 minutes. This is as close as possible
to the minimum value recommended by RFC1122 (1:40 minutes). to the minimum value recommended by RFC1122 (1:40 minutes).
Only 5 bits are dedicated for the retransmission count, so accepted Only 5 bits are dedicated for the retransmission count, so accepted
values are in the 0-31 range. It's highly recommended to not go values are in the 0-31 range. It's highly recommended to not go
below 9, though. below 9, though.
Should a retransmission timeout occur, the receive callback is Should a retransmission timeout occur, the receive callback is
called with -ECONNRESET error code and the context is dereferenced. called with -ECONNRESET error code and the context is dereferenced.
config NET_UDP config NET_UDP
bool "Enable UDP" bool "Enable UDP"
default y default y
help help
The value depends on your network needs. The value depends on your network needs.
config NET_UDP_CHECKSUM config NET_UDP_CHECKSUM
bool "Check UDP checksum" bool "Check UDP checksum"
default y default y
depends on NET_UDP depends on NET_UDP
help help
Enables UDP handler to check UDP checksum. If the checksum is invalid, Enables UDP handler to check UDP checksum. If the checksum is invalid,
then the packet is discarded. then the packet is discarded.
config NET_DEBUG_UDP config NET_DEBUG_UDP
bool "Debug UDP" bool "Debug UDP"
default n default n
depends on NET_UDP && NET_LOG depends on NET_UDP && NET_LOG
help help
Enables UDP handler output debug messages Enables UDP handler output debug messages
config NET_MAX_CONN config NET_MAX_CONN
int "How many network connections are supported" int "How many network connections are supported"
@ -209,50 +209,50 @@ config NET_MAX_CONN
default 4 default 4
default 8 if NET_IPV6 && NET_IPV4 default 8 if NET_IPV6 && NET_IPV4
help help
The value depends on your network needs. The value The value depends on your network needs. The value
should include both UDP and TCP connections. should include both UDP and TCP connections.
config NET_CONN_CACHE config NET_CONN_CACHE
bool "Cache network connections" bool "Cache network connections"
depends on NET_UDP || NET_TCP depends on NET_UDP || NET_TCP
default n default n
help help
Caching takes slight more memory but will speedup connection Caching takes slight more memory but will speedup connection
handling of UDP and TCP connections. handling of UDP and TCP connections.
config NET_MAX_CONTEXTS config NET_MAX_CONTEXTS
int "Number of network contexts to allocate" int "Number of network contexts to allocate"
default 6 default 6
help help
Each network context is used to describe a network 5-tuple that Each network context is used to describe a network 5-tuple that
is used when listening or sending network traffic. This is very is used when listening or sending network traffic. This is very
similar as one could call a network socket in some other systems. similar as one could call a network socket in some other systems.
config NET_CONTEXT_NET_PKT_POOL config NET_CONTEXT_NET_PKT_POOL
bool "Enable net_buf TX pool / context" bool "Enable net_buf TX pool / context"
default n default n
default y if NET_TCP && NET_6LO default y if NET_TCP && NET_6LO
help help
If enabled, then it is possible to fine-tune network packet pool If enabled, then it is possible to fine-tune network packet pool
for each context when sending network data. If this setting is for each context when sending network data. If this setting is
enabled, then you should define the context pools in your application enabled, then you should define the context pools in your application
using NET_PKT_TX_POOL_DEFINE() and NET_PKT_DATA_POOL_DEFINE() using NET_PKT_TX_POOL_DEFINE() and NET_PKT_DATA_POOL_DEFINE()
macros and tie these pools to desired context using the macros and tie these pools to desired context using the
net_context_setup_pools() function. net_context_setup_pools() function.
config NET_CONTEXT_SYNC_RECV config NET_CONTEXT_SYNC_RECV
bool "Support synchronous functionality in net_context_recv() API" bool "Support synchronous functionality in net_context_recv() API"
default y default y
help help
You can disable sync support to save some memory if you are calling You can disable sync support to save some memory if you are calling
net_context_recv() in async way only when timeout is set to 0. net_context_recv() in async way only when timeout is set to 0.
config NET_CONTEXT_CHECK config NET_CONTEXT_CHECK
bool "Check options when calling various net_context functions" bool "Check options when calling various net_context functions"
default y default y
help help
If you know that the options passed to net_context...() functions If you know that the options passed to net_context...() functions
are ok, then you can disable the checks to save some memory. are ok, then you can disable the checks to save some memory.
config NET_TEST config NET_TEST
bool "Network Testing" bool "Network Testing"
@ -279,15 +279,15 @@ config NET_TRICKLE
bool "Enable Trickle library" bool "Enable Trickle library"
default n default n
help help
Normally this is enabled automatically if needed, Normally this is enabled automatically if needed,
so say 'n' if unsure. so say 'n' if unsure.
config NET_DEBUG_TRICKLE config NET_DEBUG_TRICKLE
bool "Debug Trickle algorithm" bool "Debug Trickle algorithm"
default n default n
depends on NET_TRICKLE && NET_LOG depends on NET_TRICKLE && NET_LOG
help help
Enables Trickle library output debug messages Enables Trickle library output debug messages
endif # NET_RAW_MODE endif # NET_RAW_MODE
@ -295,51 +295,51 @@ config NET_PKT_RX_COUNT
int "How many packet receives can be pending at the same time" int "How many packet receives can be pending at the same time"
default 4 default 4
help help
Each RX buffer will occupy smallish amount of memory. Each RX buffer will occupy smallish amount of memory.
See include/net/net_pkt.h and the sizeof(struct net_pkt) See include/net/net_pkt.h and the sizeof(struct net_pkt)
config NET_PKT_TX_COUNT config NET_PKT_TX_COUNT
int "How many packet sends can be pending at the same time" int "How many packet sends can be pending at the same time"
default 2 default 2
help help
Each TX buffer will occupy smallish amount of memory. Each TX buffer will occupy smallish amount of memory.
See include/net/net_pkt.h and the sizeof(struct net_pkt) See include/net/net_pkt.h and the sizeof(struct net_pkt)
config NET_BUF_RX_COUNT config NET_BUF_RX_COUNT
int "How many network buffers are allocated for receiving data" int "How many network buffers are allocated for receiving data"
default 16 default 16
help help
Each data buffer will occupy CONFIG_NET_BUF_DATA_SIZE + smallish Each data buffer will occupy CONFIG_NET_BUF_DATA_SIZE + smallish
header (sizeof(struct net_buf)) amount of data. header (sizeof(struct net_buf)) amount of data.
config NET_BUF_TX_COUNT config NET_BUF_TX_COUNT
int "How many network buffers are allocated for sending data" int "How many network buffers are allocated for sending data"
default 16 default 16
help help
Each data buffer will occupy CONFIG_NET_BUF_DATA_SIZE + smallish Each data buffer will occupy CONFIG_NET_BUF_DATA_SIZE + smallish
header (sizeof(struct net_buf)) amount of data. header (sizeof(struct net_buf)) amount of data.
config NET_BUF_DATA_SIZE config NET_BUF_DATA_SIZE
int "Size of each network data fragment" int "Size of each network data fragment"
default 128 default 128
default 125 if NET_L2_IEEE802154 default 125 if NET_L2_IEEE802154
help help
This value tells what is the size of the data fragment that is This value tells what is the size of the data fragment that is
received from the network. received from the network.
Example: For IEEE 802.15.4, the network packet is 127 bytes long, Example: For IEEE 802.15.4, the network packet is 127 bytes long,
which leaves in worst case 81 bytes for user data (MTU). which leaves in worst case 81 bytes for user data (MTU).
In order to be able to receive at least full IPv6 packet which In order to be able to receive at least full IPv6 packet which
has a size of 1280 bytes, the one should allocate 16 fragments here. has a size of 1280 bytes, the one should allocate 16 fragments here.
config NET_BUF_USER_DATA_SIZE config NET_BUF_USER_DATA_SIZE
int "Size of user_data reserved" int "Size of user_data reserved"
default 0 default 0
default 4 if NET_L2_BT default 4 if NET_L2_BT
help help
This is for drivers to set how much user_data shall be included in This is for drivers to set how much user_data shall be included in
each network data fragment. each network data fragment.
Example: For Bluetooth, the user_data shall be at least 4 bytes as Example: For Bluetooth, the user_data shall be at least 4 bytes as
that is used for identifying the type of data they are carrying. that is used for identifying the type of data they are carrying.
source "subsys/net/ip/Kconfig.stack" source "subsys/net/ip/Kconfig.stack"

View file

@ -11,16 +11,16 @@ config NET_L2_DUMMY
default n default n
default y if !NET_L2_ETHERNET && NET_TEST default y if !NET_L2_ETHERNET && NET_TEST
help help
Add a dummy L2 layer driver. This is usually only needed when Add a dummy L2 layer driver. This is usually only needed when
simulating a network interface when running network stack inside QEMU. simulating a network interface when running network stack inside QEMU.
config NET_L2_ETHERNET config NET_L2_ETHERNET
bool "Enable Ethernet support" bool "Enable Ethernet support"
default n default n
help help
Add support for Ethernet, enabling selecting relevant hardware drivers. Add support for Ethernet, enabling selecting relevant hardware drivers.
If NET_SLIP_TAP is selected, NET_L2_ETHERNET will enable to fully If NET_SLIP_TAP is selected, NET_L2_ETHERNET will enable to fully
simulate Ethernet through SLIP. simulate Ethernet through SLIP.
config NET_DEBUG_L2_ETHERNET config NET_DEBUG_L2_ETHERNET
bool "Debug Ethernet L2 layer" bool "Debug Ethernet L2 layer"
@ -28,13 +28,13 @@ config NET_DEBUG_L2_ETHERNET
default y if NET_LOG_GLOBAL default y if NET_LOG_GLOBAL
depends on NET_LOG depends on NET_LOG
help help
Enables Ethernet L2 output debug messages Enables Ethernet L2 output debug messages
config NET_OFFLOAD config NET_OFFLOAD
bool "Offload IP stack [EXPERIMENTAL]" bool "Offload IP stack [EXPERIMENTAL]"
default n default n
help help
Enables TCP/IP stack to be offload to a co-processor. Enables TCP/IP stack to be offload to a co-processor.
config NET_DEBUG_NET_OFFLOAD config NET_DEBUG_NET_OFFLOAD
bool "Debug Net Offload Layer" bool "Debug Net Offload Layer"
@ -43,7 +43,7 @@ config NET_DEBUG_NET_OFFLOAD
depends on NET_LOG depends on NET_LOG
depends on NET_OFFLOAD depends on NET_OFFLOAD
help help
Enables offload TCP/IP stack output debug messages. Enables offload TCP/IP stack output debug messages.
config NET_L2_BT config NET_L2_BT
bool "Enable Bluetooth support" bool "Enable Bluetooth support"
@ -64,11 +64,11 @@ config NET_L2_BT_ZEP1656
depends on NET_L2_BT depends on NET_L2_BT
default n default n
help help
This workaround is necessary to interoperate with Linux up to 4.10 but This workaround is necessary to interoperate with Linux up to 4.10 but
it might not be compliant with RFC 7668 as it cause the stack to skip it might not be compliant with RFC 7668 as it cause the stack to skip
Neighbor Discovery cache causing the destination link address to be Neighbor Discovery cache causing the destination link address to be
omitted. For more details why this is needed see: omitted. For more details why this is needed see:
https://jira.zephyrproject.org/browse/ZEP-1656 https://jira.zephyrproject.org/browse/ZEP-1656
config NET_L2_BT_SEC_LEVEL config NET_L2_BT_SEC_LEVEL
int "Security level of Bluetooth Link" int "Security level of Bluetooth Link"
@ -76,11 +76,11 @@ config NET_L2_BT_SEC_LEVEL
default 1 default 1
range 1 4 range 1 4
help help
Security level of Bluetooth Link: Security level of Bluetooth Link:
Level 1 (BT_SECURITY_LOW) = No encryption or authentication required Level 1 (BT_SECURITY_LOW) = No encryption or authentication required
Level 2 (BT_SECURITY_MEDIUM) = Only encryption required Level 2 (BT_SECURITY_MEDIUM) = Only encryption required
Level 3 (BT_SECURITY_HIGH) = Encryption and authentication required Level 3 (BT_SECURITY_HIGH) = Encryption and authentication required
Level 4 (BT_SECURITY_FIPS) = Secure connection required Level 4 (BT_SECURITY_FIPS) = Secure connection required
config NET_DEBUG_L2_BT config NET_DEBUG_L2_BT
bool "Debug Bluetooth L2 layer" bool "Debug Bluetooth L2 layer"
@ -89,7 +89,7 @@ config NET_DEBUG_L2_BT
depends on NET_LOG depends on NET_LOG
depends on NET_L2_BT depends on NET_L2_BT
help help
Enables Bluetooth L2 output debug messages Enables Bluetooth L2 output debug messages
config NET_L2_BT_MGMT config NET_L2_BT_MGMT
bool "Enable Bluetooth Network Management support" bool "Enable Bluetooth Network Management support"
@ -104,8 +104,8 @@ config NET_L2_BT_SHELL
select CONSOLE_SHELL select CONSOLE_SHELL
select NET_L2_BT_MGMT select NET_L2_BT_MGMT
help help
This can be used for testing Bluetooth management commands through the This can be used for testing Bluetooth management commands through the
console via a shell module named "net_bt". console via a shell module named "net_bt".
source "subsys/net/ip/l2/ieee802154/Kconfig" source "subsys/net/ip/l2/ieee802154/Kconfig"
@ -114,15 +114,15 @@ config NET_ARP
default y default y
depends on NET_IPV4 && NET_L2_ETHERNET depends on NET_IPV4 && NET_L2_ETHERNET
help help
Enable ARP support. This is necessary on hardware that requires it to Enable ARP support. This is necessary on hardware that requires it to
get IPv4 working (like Ethernet devices). get IPv4 working (like Ethernet devices).
config NET_ARP_TABLE_SIZE config NET_ARP_TABLE_SIZE
int "Number of entries in ARP table." int "Number of entries in ARP table."
depends on NET_ARP depends on NET_ARP
default 2 default 2
help help
Each entry in the ARP table consumes 22 bytes of memory. Each entry in the ARP table consumes 22 bytes of memory.
config NET_DEBUG_ARP config NET_DEBUG_ARP
bool "Debug IPv4 ARP" bool "Debug IPv4 ARP"
@ -130,6 +130,6 @@ config NET_DEBUG_ARP
default n default n
default y if NET_LOG_GLOBAL default y if NET_LOG_GLOBAL
help help
Enables core ARP code part to output debug messages Enables core ARP code part to output debug messages
endmenu endmenu

View file

@ -91,8 +91,8 @@ config NET_L2_IEEE802154_SHELL
select CONSOLE_SHELL select CONSOLE_SHELL
depends on NET_L2_IEEE802154_RFD depends on NET_L2_IEEE802154_RFD
help help
This can be used for testing 15.4 through the console via exposing This can be used for testing 15.4 through the console via exposing
a shell module named "ieee15_4". a shell module named "ieee15_4".
config NET_L2_IEEE802154_FRAGMENT config NET_L2_IEEE802154_FRAGMENT
bool "Enable 802.15.4 fragmentation support" bool "Enable 802.15.4 fragmentation support"
@ -130,17 +130,17 @@ config NET_L2_IEEE802154_SECURITY
bool "Enable IEEE 802.15.4 security [EXPERIMENTAL]" bool "Enable IEEE 802.15.4 security [EXPERIMENTAL]"
default n default n
help help
Enable 802.15.4 frame security handling, in order to bring data Enable 802.15.4 frame security handling, in order to bring data
confidentiality and authenticity. confidentiality and authenticity.
config NET_L2_IEEE802154_SECURITY_CRYPTO_DEV_NAME config NET_L2_IEEE802154_SECURITY_CRYPTO_DEV_NAME
string "Crypto device name used for <en/de>cryption" string "Crypto device name used for <en/de>cryption"
default "" default ""
depends on NET_L2_IEEE802154_SECURITY depends on NET_L2_IEEE802154_SECURITY
help help
This option should be used to set the crypto device name that This option should be used to set the crypto device name that
IEEE 802.15.4 soft MAC will use to run authentication, encryption and IEEE 802.15.4 soft MAC will use to run authentication, encryption and
decryption operations on incoming/outgoing frames. decryption operations on incoming/outgoing frames.
source "subsys/net/ip/l2/ieee802154/Kconfig.radio" source "subsys/net/ip/l2/ieee802154/Kconfig.radio"

View file

@ -12,8 +12,8 @@ menuconfig NET_APP
select NET_MGMT select NET_MGMT
select NET_MGMT_EVENT select NET_MGMT_EVENT
help help
Enable API that helps to create client/server network applications. Enable API that helps to create client/server network applications.
This API is experimental and subject to change. This API is experimental and subject to change.
if NET_APP if NET_APP
@ -21,9 +21,9 @@ config NET_APP_AUTO_INIT
bool "Init networking support automatically during device startup" bool "Init networking support automatically during device startup"
default y default y
help help
If this option is set, then the net_app API is automatically If this option is set, then the net_app API is automatically
initialized when the device is started. If you do not wish to do initialized when the device is started. If you do not wish to do
this, then disable this and call net_app_init() in your application. this, then disable this and call net_app_init() in your application.
config NET_APP_INIT_PRIO config NET_APP_INIT_PRIO
int "Startup priority for the network application init" int "Startup priority for the network application init"
@ -35,64 +35,64 @@ config NET_APP_INIT_TIMEOUT
default 30 default 30
depends on NET_APP_AUTO_INIT depends on NET_APP_AUTO_INIT
help help
The value is in seconds. If for example IPv4 address from DHCPv4 is not The value is in seconds. If for example IPv4 address from DHCPv4 is not
received within this limit, then the net_app_init() call will fail received within this limit, then the net_app_init() call will fail
during the device startup. during the device startup.
config NET_APP_NEED_IPV6 config NET_APP_NEED_IPV6
bool "This application wants IPv6 support" bool "This application wants IPv6 support"
depends on NET_APP_AUTO_INIT depends on NET_APP_AUTO_INIT
select NET_IPV6 select NET_IPV6
help help
The network application needs IPv6 support to function properly. The network application needs IPv6 support to function properly.
This option makes sure the network application is initialized properly This option makes sure the network application is initialized properly
in order to use IPv6. in order to use IPv6.
config NET_APP_NEED_IPV6_ROUTER config NET_APP_NEED_IPV6_ROUTER
bool "This application wants IPv6 router to exists" bool "This application wants IPv6 router to exists"
depends on NET_APP_AUTO_INIT depends on NET_APP_AUTO_INIT
depends on NET_IPV6 depends on NET_IPV6
help help
The network application needs IPv6 router to exists before continuing. The network application needs IPv6 router to exists before continuing.
What this means that the application wants to wait until it receives What this means that the application wants to wait until it receives
IPv6 router advertisement message before continuing. IPv6 router advertisement message before continuing.
config NET_APP_NEED_IPV4 config NET_APP_NEED_IPV4
bool "This application wants IPv4 support" bool "This application wants IPv4 support"
depends on NET_APP_AUTO_INIT depends on NET_APP_AUTO_INIT
select NET_IPV4 select NET_IPV4
help help
The network application needs IPv4 support to function properly. The network application needs IPv4 support to function properly.
This option makes sure the network application is initialized properly This option makes sure the network application is initialized properly
in order to use IPv4. in order to use IPv4.
config NET_DEBUG_APP config NET_DEBUG_APP
bool "Debug net app library" bool "Debug net app library"
default n default n
default y if NET_LOG_GLOBAL default y if NET_LOG_GLOBAL
help help
Enables net app library to output debug messages Enables net app library to output debug messages
config NET_APP_SERVER config NET_APP_SERVER
bool "Enable server support" bool "Enable server support"
default n default n
help help
Enables net app library server APIs. Enables net app library server APIs.
config NET_APP_SERVER_NUM_CONN config NET_APP_SERVER_NUM_CONN
int "Number of simultaneous incoming connections" int "Number of simultaneous incoming connections"
default 1 default 1
depends on NET_APP_SERVER depends on NET_APP_SERVER
help help
Tells how many simultaneous incoming connections the server instance can Tells how many simultaneous incoming connections the server instance can
support. The value of CONFIG_NET_TCP_BACKLOG_SIZE must be greater than support. The value of CONFIG_NET_TCP_BACKLOG_SIZE must be greater than
or equal to CONFIG_NET_APP_SERVER_NUM_CONN. or equal to CONFIG_NET_APP_SERVER_NUM_CONN.
config NET_APP_CLIENT config NET_APP_CLIENT
bool "Enable client support" bool "Enable client support"
default n default n
help help
Enables net app library client APIs. Enables net app library client APIs.
config NET_APP_TLS config NET_APP_TLS
bool "Enable TLS support for TCP applications" bool "Enable TLS support for TCP applications"
@ -100,7 +100,7 @@ config NET_APP_TLS
depends on NET_TCP depends on NET_TCP
select MBEDTLS select MBEDTLS
help help
Enables net app library to use TLS for encrypted communication. Enables net app library to use TLS for encrypted communication.
config NET_APP_DTLS config NET_APP_DTLS
bool "Enable DTLS support for UDP applications" bool "Enable DTLS support for UDP applications"
@ -108,15 +108,15 @@ config NET_APP_DTLS
select MBEDTLS select MBEDTLS
default n default n
help help
Enables net app library to use DTLS for encrypted UDP communication. Enables net app library to use DTLS for encrypted UDP communication.
config NET_APP_DTLS_TIMEOUT config NET_APP_DTLS_TIMEOUT
int "DTLS session timeout" int "DTLS session timeout"
depends on NET_APP_DTLS depends on NET_APP_DTLS
default 15 default 15
help help
If a DTLS session does not have any activity, then disconnect If a DTLS session does not have any activity, then disconnect
the session. The value is in seconds. the session. The value is in seconds.
config NET_DEBUG_APP_TLS_LEVEL config NET_DEBUG_APP_TLS_LEVEL
int "Debug level for mbedtls in net app library" int "Debug level for mbedtls in net app library"
@ -124,21 +124,21 @@ config NET_DEBUG_APP_TLS_LEVEL
default 0 default 0
range 0 4 range 0 4
help help
Sets log level for the mbedtls when debugging net_app library. Sets log level for the mbedtls when debugging net_app library.
Levels are (from ext/lib/crypto/mbedtls/include/mbedtls/debug.h): Levels are (from ext/lib/crypto/mbedtls/include/mbedtls/debug.h):
0 No debug 0 No debug
1 Error 1 Error
2 State change 2 State change
3 Information 3 Information
4 Verbose 4 Verbose
config NET_APP_TLS_STACK_SIZE config NET_APP_TLS_STACK_SIZE
int "TLS handler thread stack size" int "TLS handler thread stack size"
default 8192 default 8192
depends on NET_APP_TLS || NET_APP_DTLS depends on NET_APP_TLS || NET_APP_DTLS
help help
TLS handler thread stack size. The mbedtls routines will use this stack TLS handler thread stack size. The mbedtls routines will use this stack
thus it is by default very large. thus it is by default very large.
endif # NET_APP endif # NET_APP
@ -147,11 +147,11 @@ menuconfig NET_APP_SETTINGS
default n default n
depends on NET_APP depends on NET_APP
help help
Allow IP addresses to be set in config file for Allow IP addresses to be set in config file for
networking client/server sample applications, or networking client/server sample applications, or
some link-layer dedicated settings like the channel. some link-layer dedicated settings like the channel.
Beware this is not meant to be used for proper Beware this is not meant to be used for proper
provisioning but quick sampling/testing. provisioning but quick sampling/testing.
if NET_APP_SETTINGS if NET_APP_SETTINGS
@ -267,8 +267,8 @@ config NET_APP_BT_NODE
default n default n
select NET_L2_BT_MGMT select NET_L2_BT_MGMT
help help
Enables application to operate in node mode which requires GATT Enables application to operate in node mode which requires GATT
service to be registered and start advertising as peripheral. service to be registered and start advertising as peripheral.
endif # NET_L2_BT endif # NET_L2_BT

View file

@ -11,7 +11,7 @@ config COAP
prompt "CoAP Support" prompt "CoAP Support"
default n default n
help help
This option enables the CoAP implementation. This option enables the CoAP implementation.
# This setting is only used by unit test. Do not enable it in applications # This setting is only used by unit test. Do not enable it in applications
config COAP_TEST_API_ENABLE config COAP_TEST_API_ENABLE
@ -19,7 +19,7 @@ config COAP_TEST_API_ENABLE
default n default n
depends on COAP depends on COAP
help help
Do not enable this for normal use. Do not enable this for normal use.
config COAP_WELL_KNOWN_BLOCK_WISE config COAP_WELL_KNOWN_BLOCK_WISE
bool bool
@ -27,11 +27,11 @@ config COAP_WELL_KNOWN_BLOCK_WISE
default n default n
depends on COAP depends on COAP
help help
This option enables the block wise support of CoAP response This option enables the block wise support of CoAP response
to ./well-known/core request. Without this option all resource's to ./well-known/core request. Without this option all resource's
information will be sent in a single IP packet (can be multiple information will be sent in a single IP packet (can be multiple
fragments depends on MTU size). This will be useful in mesh kind fragments depends on MTU size). This will be useful in mesh kind
of networks. of networks.
config COAP_WELL_KNOWN_BLOCK_WISE_SIZE config COAP_WELL_KNOWN_BLOCK_WISE_SIZE
int int
@ -39,32 +39,32 @@ config COAP_WELL_KNOWN_BLOCK_WISE_SIZE
default 32 default 32
depends on COAP_WELL_KNOWN_BLOCK_WISE depends on COAP_WELL_KNOWN_BLOCK_WISE
help help
Maximum size of CoAP block. Valid values are 16, 32, 64, 128, Maximum size of CoAP block. Valid values are 16, 32, 64, 128,
256, 512 and 1024. 256, 512 and 1024.
config COAP_EXTENDED_OPTIONS_LEN config COAP_EXTENDED_OPTIONS_LEN
bool "Support for CoAP extended options" bool "Support for CoAP extended options"
default n default n
depends on COAP depends on COAP
help help
This option enables the parsing of extended CoAP options length. This option enables the parsing of extended CoAP options length.
CoAP extended options length can be 2 byte value, which CoAP extended options length can be 2 byte value, which
requires more memory. User can save memory by disabling this. requires more memory. User can save memory by disabling this.
That means only length of maximum 12 bytes are supported by default. That means only length of maximum 12 bytes are supported by default.
Enable this if length field going to bigger that 12. Enable this if length field going to bigger that 12.
config COAP_EXTENDED_OPTIONS_LEN_VALUE config COAP_EXTENDED_OPTIONS_LEN_VALUE
int "CoAP extended options length value" int "CoAP extended options length value"
default 13 default 13
depends on COAP_EXTENDED_OPTIONS_LEN depends on COAP_EXTENDED_OPTIONS_LEN
help help
This option specifies the maximum value of length field when This option specifies the maximum value of length field when
COAP_EXTENDED_OPTIONS_LEN is enabled. Define the value according to COAP_EXTENDED_OPTIONS_LEN is enabled. Define the value according to
user requirement. user requirement.
config NET_DEBUG_COAP config NET_DEBUG_COAP
bool "Debug COAP" bool "Debug COAP"
default n default n
depends on COAP && NET_LOG depends on COAP && NET_LOG
help help
Enables CoaP output debug messages Enables CoaP output debug messages

View file

@ -9,7 +9,7 @@ config DNS_RESOLVER
prompt "DNS resolver" prompt "DNS resolver"
default n default n
help help
This option enables the DNS client side support for Zephyr This option enables the DNS client side support for Zephyr
if DNS_RESOLVER if DNS_RESOLVER
@ -17,18 +17,18 @@ config MDNS_RESOLVER
bool "Enable mDNS support" bool "Enable mDNS support"
default n default n
help help
This option enables multicast DNS client side support. This option enables multicast DNS client side support.
See RFC 6762 for details. See RFC 6762 for details.
config DNS_RESOLVER_ADDITIONAL_BUF_CTR config DNS_RESOLVER_ADDITIONAL_BUF_CTR
int int
prompt "Additional DNS buffers" prompt "Additional DNS buffers"
default 0 default 0
help help
Number of additional buffers available for the DNS resolver. Number of additional buffers available for the DNS resolver.
The DNS resolver requires at least one buffer. This option The DNS resolver requires at least one buffer. This option
enables additional buffers required for multiple concurrent enables additional buffers required for multiple concurrent
DNS connections. DNS connections.
config DNS_RESOLVER_ADDITIONAL_QUERIES config DNS_RESOLVER_ADDITIONAL_QUERIES
int int
@ -36,26 +36,26 @@ config DNS_RESOLVER_ADDITIONAL_QUERIES
range 0 2 range 0 2
default 1 default 1
help help
Number of additional DNS queries that the DNS resolver may Number of additional DNS queries that the DNS resolver may
generate when the RR ANSWER only contains CNAME(s). generate when the RR ANSWER only contains CNAME(s).
The maximum value of this variable is constrained to avoid The maximum value of this variable is constrained to avoid
'alias loops'. 'alias loops'.
config DNS_RESOLVER_MAX_SERVERS config DNS_RESOLVER_MAX_SERVERS
int "Number of DNS server addresses" int "Number of DNS server addresses"
range 1 NET_MAX_CONTEXTS range 1 NET_MAX_CONTEXTS
default 1 default 1
help help
Max number of DNS servers that we can connect to. Normally one Max number of DNS servers that we can connect to. Normally one
DNS server is enough. Each connection to DNS server will use one DNS server is enough. Each connection to DNS server will use one
network context. network context.
menuconfig DNS_SERVER_IP_ADDRESSES menuconfig DNS_SERVER_IP_ADDRESSES
bool "Set DNS server IP addresses" bool "Set DNS server IP addresses"
default n default n
help help
Allow DNS IP addresses to be set in config file for Allow DNS IP addresses to be set in config file for
networking applications. networking applications.
if DNS_SERVER_IP_ADDRESSES if DNS_SERVER_IP_ADDRESSES
@ -63,42 +63,42 @@ config DNS_SERVER1
string "DNS server 1" string "DNS server 1"
default "" default ""
help help
DNS server IP address 1. The address can be either IPv4 or IPv6 DNS server IP address 1. The address can be either IPv4 or IPv6
address. An optional port number can be given. address. An optional port number can be given.
Following syntax is supported: Following syntax is supported:
192.0.2.1 192.0.2.1
192.0.2.1:5353 192.0.2.1:5353
2001:db8::1 2001:db8::1
[2001:db8::1]:5353 [2001:db8::1]:5353
It is not mandatory to use this Kconfig option at all. It is not mandatory to use this Kconfig option at all.
The one calling dns_resolve_init() can use this option or not The one calling dns_resolve_init() can use this option or not
to populate the server list. If the DNS server addresses are to populate the server list. If the DNS server addresses are
set here, then we automatically create default DNS context set here, then we automatically create default DNS context
for the user. for the user.
config DNS_SERVER2 config DNS_SERVER2
string "DNS server 2" string "DNS server 2"
default "" default ""
help help
See help in "DNS server 1" option. See help in "DNS server 1" option.
config DNS_SERVER3 config DNS_SERVER3
string "DNS server 3" string "DNS server 3"
default "" default ""
help help
See help in "DNS server 1" option. See help in "DNS server 1" option.
config DNS_SERVER4 config DNS_SERVER4
string "DNS server 4" string "DNS server 4"
default "" default ""
help help
See help in "DNS server 1" option. See help in "DNS server 1" option.
config DNS_SERVER5 config DNS_SERVER5
string "DNS server 5" string "DNS server 5"
default "" default ""
help help
See help in "DNS server 1" option. See help in "DNS server 1" option.
endif # DNS_SERVER_IP_ADDRESSES endif # DNS_SERVER_IP_ADDRESSES
@ -106,15 +106,15 @@ config DNS_NUM_CONCUR_QUERIES
int "Number of simultaneous DNS queries per one DNS context" int "Number of simultaneous DNS queries per one DNS context"
default 1 default 1
help help
This defines how many concurrent DNS queries can be generated using This defines how many concurrent DNS queries can be generated using
same DNS context. Normally 1 is a good default value. same DNS context. Normally 1 is a good default value.
config NET_DEBUG_DNS_RESOLVE config NET_DEBUG_DNS_RESOLVE
bool "Debug DNS resolver" bool "Debug DNS resolver"
default n default n
default y if NET_LOG_GLOBAL default y if NET_LOG_GLOBAL
help help
Enables DNS resolver code to output debug messages Enables DNS resolver code to output debug messages
endif # DNS_RESOLVER endif # DNS_RESOLVER
@ -124,12 +124,12 @@ config MDNS_RESPONDER
select NET_IPV6_MLD if NET_IPV6 select NET_IPV6_MLD if NET_IPV6
depends on NET_HOSTNAME_ENABLE depends on NET_HOSTNAME_ENABLE
help help
This option enables the mDNS responder support for Zephyr. This option enables the mDNS responder support for Zephyr.
It will listen well-known address ff02::fb and 224.0.0.251. It will listen well-known address ff02::fb and 224.0.0.251.
Currently this only returns IP address information. Currently this only returns IP address information.
You must set CONFIG_NET_HOSTNAME to some meaningful value and You must set CONFIG_NET_HOSTNAME to some meaningful value and
then mDNS will start to respond to <hostname>.local mDNS queries. then mDNS will start to respond to <hostname>.local mDNS queries.
See RFC 6762 for more details about mDNS. See RFC 6762 for more details about mDNS.
if MDNS_RESPONDER if MDNS_RESPONDER
@ -137,27 +137,27 @@ config MDNS_RESPONDER_TTL
int "Time-to-Live of returned DNS name" int "Time-to-Live of returned DNS name"
default 600 default 600
help help
DNS answers will use the TTL (in seconds). DNS answers will use the TTL (in seconds).
config MDNS_RESPONDER_INIT_PRIO config MDNS_RESPONDER_INIT_PRIO
int "Startup priority for the mDNS responder init" int "Startup priority for the mDNS responder init"
default 96 default 96
help help
Note that if NET_APP_AUTO_INIT is enabled, then this value Note that if NET_APP_AUTO_INIT is enabled, then this value
should be bigger than its value. should be bigger than its value.
config NET_DEBUG_MDNS_RESPONDER config NET_DEBUG_MDNS_RESPONDER
bool "Debug mDNS responder" bool "Debug mDNS responder"
default n default n
default y if NET_LOG_GLOBAL default y if NET_LOG_GLOBAL
help help
Enables mDNS responder code to output debug messages Enables mDNS responder code to output debug messages
config MDNS_RESOLVER_ADDITIONAL_BUF_CTR config MDNS_RESOLVER_ADDITIONAL_BUF_CTR
int int
prompt "Additional DNS buffers" prompt "Additional DNS buffers"
default 0 default 0
help help
Number of additional buffers available for the mDNS responder. Number of additional buffers available for the mDNS responder.
endif # MDNS_RESPONDER endif # MDNS_RESPONDER

View file

@ -7,7 +7,7 @@ config HTTP
bool "HTTP support" bool "HTTP support"
default n default n
help help
This option enables the HTTP library This option enables the HTTP library
if HTTP if HTTP
@ -24,7 +24,7 @@ config HTTP_SERVER
select HTTP_PARSER_URL select HTTP_PARSER_URL
select NET_APP_SERVER select NET_APP_SERVER
help help
Enables HTTP server routines. Enables HTTP server routines.
config HTTP_CLIENT config HTTP_CLIENT
bool "HTTP client support" bool "HTTP client support"
@ -33,32 +33,32 @@ config HTTP_CLIENT
select HTTP_PARSER_URL select HTTP_PARSER_URL
select NET_APP_CLIENT select NET_APP_CLIENT
help help
Enables HTTP client routines. Enables HTTP client routines.
config HTTP_HEADERS config HTTP_HEADERS
int "HTTP header field max number of items" int "HTTP header field max number of items"
depends on HTTP_SERVER depends on HTTP_SERVER
default 8 default 8
help help
Number of HTTP header field items that an HTTP server Number of HTTP header field items that an HTTP server
application will handle application will handle
config HTTPS config HTTPS
bool "HTTPS support" bool "HTTPS support"
default n default n
select NET_APP_TLS select NET_APP_TLS
help help
Enables HTTPS support. Enables HTTPS support.
config HTTP_SERVER_CONNECTIONS config HTTP_SERVER_CONNECTIONS
int "Max number of concurrent HTTP server connections" int "Max number of concurrent HTTP server connections"
default NET_APP_SERVER_NUM_CONN default NET_APP_SERVER_NUM_CONN
depends on HTTP_SERVER depends on HTTP_SERVER
help help
This value determines how many simultaneous HTTP connections the This value determines how many simultaneous HTTP connections the
HTTP server can serve. Note that only 1 HTTPS connection can be HTTP server can serve. Note that only 1 HTTPS connection can be
served at a time, so set CONFIG_NET_APP_SERVER_NUM_CONN and served at a time, so set CONFIG_NET_APP_SERVER_NUM_CONN and
CONFIG_NET_TCP_BACKLOG_SIZE to 1 in that case. CONFIG_NET_TCP_BACKLOG_SIZE to 1 in that case.
endif # HTTP_APP endif # HTTP_APP
@ -70,7 +70,7 @@ config HTTP_SERVER
select HTTP_PARSER select HTTP_PARSER
select HTTP_PARSER_URL select HTTP_PARSER_URL
help help
Enables HTTP server routines. Enables HTTP server routines.
config HTTP_CLIENT config HTTP_CLIENT
bool "HTTP client support" bool "HTTP client support"
@ -78,39 +78,39 @@ config HTTP_CLIENT
select HTTP_PARSER select HTTP_PARSER
select HTTP_PARSER_URL select HTTP_PARSER_URL
help help
Enables HTTP client routines. Enables HTTP client routines.
config HTTP_HEADER_FIELD_ITEMS config HTTP_HEADER_FIELD_ITEMS
int "HTTP header field max number of items" int "HTTP header field max number of items"
depends on HTTP_SERVER depends on HTTP_SERVER
default 8 default 8
help help
Number of HTTP header field items that an HTTP server Number of HTTP header field items that an HTTP server
application will handle application will handle
config HTTPS config HTTPS
bool "HTTPS support" bool "HTTPS support"
default n default n
select MBEDTLS select MBEDTLS
help help
Enables HTTPS support. Enables HTTPS support.
config HTTPS_STACK_SIZE config HTTPS_STACK_SIZE
int "HTTPS thread stack size" int "HTTPS thread stack size"
default 8192 default 8192
depends on HTTPS depends on HTTPS
help help
HTTPS thread stack size. The mbedtls routines will use this stack HTTPS thread stack size. The mbedtls routines will use this stack
thus it is by default very large. thus it is by default very large.
config HTTP_SERVER_CONNECTIONS config HTTP_SERVER_CONNECTIONS
int "Max number of concurrent HTTP server connections" int "Max number of concurrent HTTP server connections"
default NET_MAX_CONTEXTS default NET_MAX_CONTEXTS
depends on HTTP_SERVER depends on HTTP_SERVER
help help
This value determines how many simultaneous HTTP connections the This value determines how many simultaneous HTTP connections the
HTTP server can serve. Note that only 1 HTTPS connection can be HTTP server can serve. Note that only 1 HTTPS connection can be
served at a time. served at a time.
endif # !HTTP_APP endif # !HTTP_APP
@ -119,29 +119,29 @@ config HTTP_SERVER_NUM_URLS
default 8 default 8
depends on HTTP_SERVER depends on HTTP_SERVER
help help
This value determines how many URLs this HTTP server can handle. This value determines how many URLs this HTTP server can handle.
config HTTP_CLIENT_NETWORK_TIMEOUT config HTTP_CLIENT_NETWORK_TIMEOUT
int "Default network activity timeout in seconds" int "Default network activity timeout in seconds"
default 20 default 20
depends on HTTP_CLIENT depends on HTTP_CLIENT
help help
Default network activity timeout in seconds. This setting is used Default network activity timeout in seconds. This setting is used
for TCP connection timeout. for TCP connection timeout.
config NET_DEBUG_HTTP config NET_DEBUG_HTTP
bool "Debug HTTP" bool "Debug HTTP"
default n default n
depends on HTTP && NET_LOG depends on HTTP && NET_LOG
help help
Enables HTTP output debug messages Enables HTTP output debug messages
config NET_DEBUG_HTTP_CONN config NET_DEBUG_HTTP_CONN
bool "Debug HTTP connections" bool "Debug HTTP connections"
default n default n
depends on HTTP && NET_LOG depends on HTTP && NET_LOG
help help
Enables HTTP connection tracking. Enables HTTP connection tracking.
endif # HTTP endif # HTTP
@ -150,21 +150,21 @@ config HTTP_PARSER
default n default n
select HTTP_PARSER_URL select HTTP_PARSER_URL
help help
This option enables the http_parser library from nodejs. This option enables the http_parser library from nodejs.
This parser requires some string-related routines commonly This parser requires some string-related routines commonly
provided by a libc implementation. provided by a libc implementation.
config HTTP_PARSER_URL config HTTP_PARSER_URL
bool "HTTP Parser for URL support" bool "HTTP Parser for URL support"
default n default n
help help
This option enables the URI parser library based on source from nodejs. This option enables the URI parser library based on source from nodejs.
This parser requires some string-related routines commonly This parser requires some string-related routines commonly
provided by a libc implementation. provided by a libc implementation.
config HTTP_PARSER_STRICT config HTTP_PARSER_STRICT
bool "HTTP strict parsing" bool "HTTP strict parsing"
default n default n
depends on (HTTP_PARSER || HTTP_PARSER_URL) depends on (HTTP_PARSER || HTTP_PARSER_URL)
help help
This option enables the strict parsing option This option enables the strict parsing option

View file

@ -11,7 +11,7 @@ config MQTT_LIB
default n default n
select NET_APP_CLIENT select NET_APP_CLIENT
help help
Enable the Zephyr MQTT Library Enable the Zephyr MQTT Library
config MQTT_MSG_MAX_SIZE config MQTT_MSG_MAX_SIZE
int int
@ -20,8 +20,8 @@ config MQTT_MSG_MAX_SIZE
default 128 default 128
range 128 1024 range 128 1024
help help
Set the maximum size of the MQTT message. So, no messages Set the maximum size of the MQTT message. So, no messages
longer than CONFIG_MQTT_MSG_SIZE will be processed. longer than CONFIG_MQTT_MSG_SIZE will be processed.
config MQTT_ADDITIONAL_BUFFER_CTR config MQTT_ADDITIONAL_BUFFER_CTR
int int
@ -29,9 +29,9 @@ config MQTT_ADDITIONAL_BUFFER_CTR
depends on MQTT_LIB depends on MQTT_LIB
default 0 default 0
help help
Set some additional buffers. When two or more concurrent contexts are Set some additional buffers. When two or more concurrent contexts are
used in the same application, additional buffers may help to have a 1:1 used in the same application, additional buffers may help to have a 1:1
relation between application contexts and internal buffers. relation between application contexts and internal buffers.
config MQTT_SUBSCRIBE_MAX_TOPICS config MQTT_SUBSCRIBE_MAX_TOPICS
int int
@ -40,8 +40,8 @@ config MQTT_SUBSCRIBE_MAX_TOPICS
default 1 default 1
range 1 8 range 1 8
help help
Set the maximum number of topics handled by the SUBSCRIBE/SUBACK Set the maximum number of topics handled by the SUBSCRIBE/SUBACK
messages during reception. messages during reception.
config MQTT_LIB_TLS config MQTT_LIB_TLS
bool bool
@ -50,4 +50,4 @@ config MQTT_LIB_TLS
default n default n
select NET_APP_TLS select NET_APP_TLS
help help
Enables MQTT library with TLS support Enables MQTT library with TLS support

View file

@ -9,7 +9,7 @@ menuconfig SNTP
default n default n
select NET_APP_CLIENT select NET_APP_CLIENT
help help
Enable SNTP client library Enable SNTP client library
if SNTP if SNTP
@ -17,6 +17,6 @@ config NET_DEBUG_SNTP
bool "Debug SNTP" bool "Debug SNTP"
default n default n
help help
Enable debug message of SNTP client library Enable debug message of SNTP client library
endif # SNTP endif # SNTP

View file

@ -10,7 +10,7 @@ menuconfig NET_SOCKETS
bool "BSD Sockets compatible API" bool "BSD Sockets compatible API"
default n default n
help help
Provide BSD Sockets like API on top of native Zephyr networking API. Provide BSD Sockets like API on top of native Zephyr networking API.
if NET_SOCKETS if NET_SOCKETS
@ -18,26 +18,26 @@ config NET_SOCKETS_POSIX_NAMES
bool "Standard POSIX names for Sockets API" bool "Standard POSIX names for Sockets API"
default n default n
help help
By default, Sockets API function are prefixed with ``zsock_`` to avoid By default, Sockets API function are prefixed with ``zsock_`` to avoid
namespacing issues. If this option is enabled, they will be provided namespacing issues. If this option is enabled, they will be provided
with standard POSIX names like socket(), recv(), and close(), to help with standard POSIX names like socket(), recv(), and close(), to help
with porting existing code. Note that close() may require a special with porting existing code. Note that close() may require a special
attention, as in POSIX it closes any file descriptor, while with this attention, as in POSIX it closes any file descriptor, while with this
option enabled, it will still apply only to sockets. option enabled, it will still apply only to sockets.
config NET_SOCKETS_POLL_MAX config NET_SOCKETS_POLL_MAX
int int
prompt "Max number of supported poll() entries" prompt "Max number of supported poll() entries"
default 3 default 3
help help
Maximum number of entries supported for poll() call. Maximum number of entries supported for poll() call.
config NET_DEBUG_SOCKETS config NET_DEBUG_SOCKETS
bool "Debug BSD Sockets compatible API calls" bool "Debug BSD Sockets compatible API calls"
default n default n
default y if NET_LOG_GLOBAL default y if NET_LOG_GLOBAL
help help
Enables logging for sockets code. (Logging level is defined by Enables logging for sockets code. (Logging level is defined by
SYS_LOG_NET_LEVEL setting). SYS_LOG_NET_LEVEL setting).
endif # NET_SOCKETS endif # NET_SOCKETS

View file

@ -11,7 +11,7 @@ config ZOAP
prompt "CoAP Support" prompt "CoAP Support"
default n default n
help help
This option enables the Zoap implementation of CoAP. This option enables the Zoap implementation of CoAP.
# This setting is only used by unit test. Do not enable it in applications # This setting is only used by unit test. Do not enable it in applications
config ZOAP_TEST_API_ENABLE config ZOAP_TEST_API_ENABLE
@ -19,7 +19,7 @@ config ZOAP_TEST_API_ENABLE
default n default n
depends on ZOAP depends on ZOAP
help help
Do not enable this for normal use. Do not enable this for normal use.
config ZOAP_WELL_KNOWN_BLOCK_WISE config ZOAP_WELL_KNOWN_BLOCK_WISE
bool bool
@ -27,11 +27,11 @@ config ZOAP_WELL_KNOWN_BLOCK_WISE
default n default n
depends on ZOAP depends on ZOAP
help help
This option enables the block wise support of CoAP response This option enables the block wise support of CoAP response
to ./well-known/core request. Without this option all resource's to ./well-known/core request. Without this option all resource's
information will be sent in a single IP packet (can be multiple information will be sent in a single IP packet (can be multiple
fragments depends on MTU size). This will be useful in mesh kind fragments depends on MTU size). This will be useful in mesh kind
of networks. of networks.
config ZOAP_WELL_KNOWN_BLOCK_WISE_SIZE config ZOAP_WELL_KNOWN_BLOCK_WISE_SIZE
int int
@ -39,5 +39,5 @@ config ZOAP_WELL_KNOWN_BLOCK_WISE_SIZE
default 32 default 32
depends on ZOAP_WELL_KNOWN_BLOCK_WISE depends on ZOAP_WELL_KNOWN_BLOCK_WISE
help help
Maximum size of CoAP block. Valid values are 16, 32, 64, 128, Maximum size of CoAP block. Valid values are 16, 32, 64, 128,
256, 512 and 1024. 256, 512 and 1024.

View file

@ -14,7 +14,7 @@ config CONSOLE_SHELL
default n default n
select CONSOLE_HANDLER select CONSOLE_HANDLER
help help
Shell implementation based on CONSOLE_HANDLER. Shell implementation based on CONSOLE_HANDLER.
if CONSOLE_SHELL if CONSOLE_SHELL
@ -24,13 +24,13 @@ config CONSOLE_SHELL_STACKSIZE
prompt "Console handler shell stack size" prompt "Console handler shell stack size"
default 2000 default 2000
help help
Stack size for the console handler shell. Stack size for the console handler shell.
config CONSOLE_SHELL_MAX_CMD_QUEUED config CONSOLE_SHELL_MAX_CMD_QUEUED
int "Shell's command queue size" int "Shell's command queue size"
default 3 default 3
help help
Maximum size of the queue for input commands. Maximum size of the queue for input commands.
source "subsys/shell/modules/Kconfig" source "subsys/shell/modules/Kconfig"

View file

@ -12,7 +12,7 @@ menuconfig USB_DEVICE_STACK
depends on USB depends on USB
default n default n
help help
Enable USB device stack. Enable USB device stack.
if USB_DEVICE_STACK if USB_DEVICE_STACK
@ -22,51 +22,51 @@ config SYS_LOG_USB_LEVEL
default 0 default 0
depends on SYS_LOG depends on SYS_LOG
help help
This option sets log level for the USB device stack. This option sets log level for the USB device stack.
Levels are: Levels are:
- 0 OFF, do not write - 0 OFF, do not write
- 1 ERROR, only write SYS_LOG_ERR - 1 ERROR, only write SYS_LOG_ERR
- 2 WARNING, write SYS_LOG_WRN in addition to previous level - 2 WARNING, write SYS_LOG_WRN in addition to previous level
- 3 INFO, write SYS_LOG_INF in addition to previous levels - 3 INFO, write SYS_LOG_INF in addition to previous levels
- 4 DEBUG, write SYS_LOG_DBG in addition to previous levels - 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
config USB_DEVICE_VID config USB_DEVICE_VID
hex hex
prompt "USB Vendor ID" prompt "USB Vendor ID"
default 0xDEAD default 0xDEAD
help help
USB device vendor ID. MUST be configured by vendor. USB device vendor ID. MUST be configured by vendor.
config USB_DEVICE_PID config USB_DEVICE_PID
hex hex
prompt "USB Product ID" prompt "USB Product ID"
default 0xBEEF default 0xBEEF
help help
USB device product ID. MUST be configured by vendor. USB device product ID. MUST be configured by vendor.
config USB_DEVICE_MANUFACTURER config USB_DEVICE_MANUFACTURER
string string
default "ZEPHYR" default "ZEPHYR"
help help
USB device Manufacturer string USB device Manufacturer string
config USB_DEVICE_PRODUCT config USB_DEVICE_PRODUCT
string string
default "USB-DEV" default "USB-DEV"
help help
USB device Product string USB device Product string
config USB_DEVICE_SN config USB_DEVICE_SN
string string
default "0.01" default "0.01"
help help
USB device SerialNumber string USB device SerialNumber string
config USB_COMPOSITE_DEVICE config USB_COMPOSITE_DEVICE
bool bool
@ -74,7 +74,7 @@ config USB_COMPOSITE_DEVICE
depends on USB depends on USB
default n default n
help help
Enable composite USB device driver. Enable composite USB device driver.
config USB_COMPOSITE_BUFFER_SIZE config USB_COMPOSITE_BUFFER_SIZE
int int

View file

@ -13,14 +13,14 @@ config USB_CDC_ACM
prompt "USB CDC ACM Device Class Driver" prompt "USB CDC ACM Device Class Driver"
default n default n
help help
USB CDC ACM device class driver USB CDC ACM device class driver
config CDC_ACM_PORT_NAME config CDC_ACM_PORT_NAME
string "CDC ACM class device driver port name" string "CDC ACM class device driver port name"
depends on USB_CDC_ACM depends on USB_CDC_ACM
default "CDC_ACM" default "CDC_ACM"
help help
Port name through which CDC ACM class device driver is accessed Port name through which CDC ACM class device driver is accessed
config CDC_ACM_INT_EP_ADDR config CDC_ACM_INT_EP_ADDR
hex "CDC ACM Interrupt Endpoint address" hex "CDC ACM Interrupt Endpoint address"
@ -28,7 +28,7 @@ config CDC_ACM_INT_EP_ADDR
default 0x85 default 0x85
range 0x81 0x8f range 0x81 0x8f
help help
CDC ACM class interrupt endpoint address CDC ACM class interrupt endpoint address
config CDC_ACM_IN_EP_ADDR config CDC_ACM_IN_EP_ADDR
hex "CDC ACM BULK IN Endpoint address" hex "CDC ACM BULK IN Endpoint address"
@ -36,7 +36,7 @@ config CDC_ACM_IN_EP_ADDR
default 0x84 default 0x84
range 0x81 0x8f range 0x81 0x8f
help help
CDC ACM class IN endpoint address CDC ACM class IN endpoint address
config CDC_ACM_OUT_EP_ADDR config CDC_ACM_OUT_EP_ADDR
hex "CDC ACM BULK OUT Endpoint address" hex "CDC ACM BULK OUT Endpoint address"
@ -44,21 +44,21 @@ config CDC_ACM_OUT_EP_ADDR
default 0x03 default 0x03
range 0x01 0x0f range 0x01 0x0f
help help
CDC ACM class OUT endpoint address CDC ACM class OUT endpoint address
config CDC_ACM_INTERRUPT_EP_MPS config CDC_ACM_INTERRUPT_EP_MPS
int int
depends on USB_CDC_ACM depends on USB_CDC_ACM
default 16 default 16
help help
CDC ACM class interrupt IN endpoint size CDC ACM class interrupt IN endpoint size
config CDC_ACM_BULK_EP_MPS config CDC_ACM_BULK_EP_MPS
int int
depends on USB_CDC_ACM depends on USB_CDC_ACM
default 64 default 64
help help
CDC ACM class bulk endpoints size CDC ACM class bulk endpoints size
config SYS_LOG_USB_CDC_ACM_LEVEL config SYS_LOG_USB_CDC_ACM_LEVEL
int int
@ -66,19 +66,19 @@ config SYS_LOG_USB_CDC_ACM_LEVEL
depends on USB_CDC_ACM && SYS_LOG depends on USB_CDC_ACM && SYS_LOG
default 0 default 0
help help
Sets log level for USB CDC ACM device class driver Sets log level for USB CDC ACM device class driver
Levels are: Levels are:
- 0 OFF, do not write - 0 OFF, do not write
- 1 ERROR, only write SYS_LOG_ERR - 1 ERROR, only write SYS_LOG_ERR
- 2 WARNING, write SYS_LOG_WRN in addition to previous level - 2 WARNING, write SYS_LOG_WRN in addition to previous level
- 3 INFO, write SYS_LOG_INF in addition to previous levels - 3 INFO, write SYS_LOG_INF in addition to previous levels
- 4 DEBUG, write SYS_LOG_DBG in addition to previous levels - 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
config USB_MASS_STORAGE config USB_MASS_STORAGE
bool bool
@ -86,7 +86,7 @@ config USB_MASS_STORAGE
select DISK_ACCESS select DISK_ACCESS
default n default n
help help
USB Mass Storage device class driver USB Mass Storage device class driver
config MASS_STORAGE_IN_EP_ADDR config MASS_STORAGE_IN_EP_ADDR
hex hex
@ -94,7 +94,7 @@ config MASS_STORAGE_IN_EP_ADDR
default 0x82 default 0x82
range 0x81 0x8f range 0x81 0x8f
help help
Mass storage device class IN endpoint address Mass storage device class IN endpoint address
config MASS_STORAGE_OUT_EP_ADDR config MASS_STORAGE_OUT_EP_ADDR
hex hex
@ -102,7 +102,7 @@ config MASS_STORAGE_OUT_EP_ADDR
default 0x01 default 0x01
range 0x01 0x0f range 0x01 0x0f
help help
Mass storage device class OUT endpoint address Mass storage device class OUT endpoint address
config MASS_STORAGE_BULK_EP_MPS config MASS_STORAGE_BULK_EP_MPS
int int
@ -110,7 +110,7 @@ config MASS_STORAGE_BULK_EP_MPS
default 64 default 64
range 8 64 range 8 64
help help
Mass storage device class bulk endpoints size Mass storage device class bulk endpoints size
config SYS_LOG_USB_MASS_STORAGE_LEVEL config SYS_LOG_USB_MASS_STORAGE_LEVEL
int int
@ -118,19 +118,19 @@ config SYS_LOG_USB_MASS_STORAGE_LEVEL
depends on USB_MASS_STORAGE && SYS_LOG depends on USB_MASS_STORAGE && SYS_LOG
default 0 default 0
help help
Sets log level for USB Mass Storage device class driver Sets log level for USB Mass Storage device class driver
Levels are: Levels are:
- 0 OFF, do not write - 0 OFF, do not write
- 1 ERROR, only write SYS_LOG_ERR - 1 ERROR, only write SYS_LOG_ERR
- 2 WARNING, write SYS_LOG_WRN in addition to previous level - 2 WARNING, write SYS_LOG_WRN in addition to previous level
- 3 INFO, write SYS_LOG_INF in addition to previous levels - 3 INFO, write SYS_LOG_INF in addition to previous levels
- 4 DEBUG, write SYS_LOG_DBG in addition to previous levels - 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
source "subsys/usb/class/netusb/Kconfig" source "subsys/usb/class/netusb/Kconfig"

View file

@ -20,8 +20,8 @@ config USB_DEVICE_NETWORK_ECM
select USB_DEVICE_NETWORK select USB_DEVICE_NETWORK
default n default n
help help
Ethernet Control Model (ECM) is a part of Communications Device Ethernet Control Model (ECM) is a part of Communications Device
Class (CDC) USB protocol specified by USB-IF. Class (CDC) USB protocol specified by USB-IF.
config USB_DEVICE_NETWORK_RNDIS config USB_DEVICE_NETWORK_RNDIS
bool bool
@ -29,8 +29,8 @@ config USB_DEVICE_NETWORK_RNDIS
select USB_DEVICE_NETWORK select USB_DEVICE_NETWORK
default n default n
help help
Remote NDIS (RNDIS) is commonly used Microsoft vendor protocol with Remote NDIS (RNDIS) is commonly used Microsoft vendor protocol with
Specification available from Microsoft web site. Specification available from Microsoft web site.
if USB_DEVICE_NETWORK_ECM if USB_DEVICE_NETWORK_ECM
@ -39,42 +39,42 @@ config CDC_ECM_INT_EP_ADDR
default 0x83 default 0x83
range 0x81 0x8F range 0x81 0x8F
help help
CDC ECM class interrupt endpoint address CDC ECM class interrupt endpoint address
config CDC_ECM_IN_EP_ADDR config CDC_ECM_IN_EP_ADDR
hex "CDC ECM BULK IN Endpoint address" hex "CDC ECM BULK IN Endpoint address"
default 0x82 default 0x82
range 0x81 0x8F range 0x81 0x8F
help help
CDC ECM class IN endpoint address CDC ECM class IN endpoint address
config CDC_ECM_OUT_EP_ADDR config CDC_ECM_OUT_EP_ADDR
hex "CDC ECM BULK OUT Endpoint address" hex "CDC ECM BULK OUT Endpoint address"
default 0x01 default 0x01
range 0x01 0x0F range 0x01 0x0F
help help
CDC ECM class OUT endpoint address CDC ECM class OUT endpoint address
config CDC_ECM_INTERRUPT_EP_MPS config CDC_ECM_INTERRUPT_EP_MPS
int int
default 16 default 16
help help
CDC ECM class interrupt endpoint size CDC ECM class interrupt endpoint size
config CDC_ECM_BULK_EP_MPS config CDC_ECM_BULK_EP_MPS
int int
default 64 default 64
help help
CDC ECM class bulk endpoint size CDC ECM class bulk endpoint size
config USB_DEVICE_NETWORK_ECM_MAC config USB_DEVICE_NETWORK_ECM_MAC
string string
default "00005E005301" default "00005E005301"
help help
MAC Host OS Address string. MAC Host OS Address string.
MAC Address which would be assigned to network device, created in MAC Address which would be assigned to network device, created in
the Host's Operating System. Use RFC 7042 Documentation values as the Host's Operating System. Use RFC 7042 Documentation values as
default MAC. default MAC.
endif # USB_DEVICE_NETWORK_ECM endif # USB_DEVICE_NETWORK_ECM

View file

@ -8,8 +8,8 @@ config ZTEST
bool "Zephyr testing framework" bool "Zephyr testing framework"
default n default n
help help
Enable the Zephyr testing framework. You should enable this only Enable the Zephyr testing framework. You should enable this only
if you're writing automated tests. if you're writing automated tests.
config ZTEST_STACKSIZE config ZTEST_STACKSIZE
int "Test function thread stack size" int "Test function thread stack size"
@ -29,23 +29,23 @@ config ZTEST_ASSERT_VERBOSE
depends on ZTEST depends on ZTEST
default 1 default 1
help help
Set verbosity level for assertions. Set verbosity level for assertions.
Assertion verbosity levels: Assertion verbosity levels:
0 Write only file and line for failed assertions 0 Write only file and line for failed assertions
1 Write file, line number, function and reason for failed assertions 1 Write file, line number, function and reason for failed assertions
2 Log also successful assertions 2 Log also successful assertions
config ZTEST_MOCKING config ZTEST_MOCKING
bool "Mocking support functions" bool "Mocking support functions"
depends on ZTEST depends on ZTEST
default n default n
help help
Enable mocking support for Ztest. This allows the test to set Enable mocking support for Ztest. This allows the test to set
return values and expected parameters to functions. return values and expected parameters to functions.
config ZTEST_PARAMETER_COUNT config ZTEST_PARAMETER_COUNT
int "Count of parameters or return values reserved" int "Count of parameters or return values reserved"
depends on ZTEST_MOCKING depends on ZTEST_MOCKING
default 1 default 1
help help
Maximum amount of concurrent return values / expected parameters. Maximum amount of concurrent return values / expected parameters.