kconfig: fix more help spacing issues
Fix Kconfig help sections and add spacing to be consistent across all Kconfig file. In a previous run we missed a few. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
b55eb03e40
commit
8949233390
54 changed files with 653 additions and 653 deletions
12
arch/Kconfig
12
arch/Kconfig
|
@ -83,10 +83,10 @@ config PRIVILEGED_STACK_SIZE
|
||||||
default 256
|
default 256
|
||||||
depends on ARCH_HAS_USERSPACE
|
depends on ARCH_HAS_USERSPACE
|
||||||
help
|
help
|
||||||
This option sets the privileged stack region size that will be used
|
This option sets the privileged stack region size that will be used
|
||||||
in addition to the user mode thread stack. During normal execution,
|
in addition to the user mode thread stack. During normal execution,
|
||||||
this region will be inaccessible from user mode. During system calls,
|
this region will be inaccessible from user mode. During system calls,
|
||||||
this region will be utilized by the system call.
|
this region will be utilized by the system call.
|
||||||
|
|
||||||
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"
|
||||||
|
@ -240,8 +240,8 @@ config MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT
|
||||||
# Omit prompt to signify "hidden" option
|
# Omit prompt to signify "hidden" option
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This option is enabled when the MPU requires a power of two alignment
|
This option is enabled when the MPU requires a power of two alignment
|
||||||
and size for MPU regions.
|
and size for MPU regions.
|
||||||
|
|
||||||
|
|
||||||
menu "Floating Point Options"
|
menu "Floating Point Options"
|
||||||
|
|
|
@ -12,4 +12,4 @@ config SOC_SERIES_MPS2
|
||||||
select CPU_HAS_SYSTICK
|
select CPU_HAS_SYSTICK
|
||||||
select GPIO_MMIO32 if GPIO
|
select GPIO_MMIO32 if GPIO
|
||||||
help
|
help
|
||||||
Enable support for ARM MPS2 MCU Series
|
Enable support for ARM MPS2 MCU Series
|
||||||
|
|
|
@ -21,65 +21,65 @@ config SOC_ATMEL_SAM3X_EXT_SLCK
|
||||||
bool "Atmel SAM3 to use external crystal oscillator for slow clock"
|
bool "Atmel SAM3 to use external crystal oscillator for slow clock"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Says y if you want to use external 32 kHz crystal
|
Says y if you want to use external 32 kHz crystal
|
||||||
oscillator to drive the slow clock. Note that this
|
oscillator to drive the slow clock. Note that this
|
||||||
adds a few seconds to boot time, as the crystal
|
adds a few seconds to boot time, as the crystal
|
||||||
needs to stabilize after power-up.
|
needs to stabilize after power-up.
|
||||||
|
|
||||||
Says n if you do not need accurate and precise timers.
|
Says n if you do not need accurate and precise timers.
|
||||||
The slow clock will be driven by the internal fast
|
The slow clock will be driven by the internal fast
|
||||||
RC oscillator running at 32 kHz.
|
RC oscillator running at 32 kHz.
|
||||||
|
|
||||||
config SOC_ATMEL_SAM3X_EXT_MAINCK
|
config SOC_ATMEL_SAM3X_EXT_MAINCK
|
||||||
bool "Atmel SAM3 to use external crystal oscillator for main clock"
|
bool "Atmel SAM3 to use external crystal oscillator for main clock"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
The main clock is being used to drive the PLL, and
|
The main clock is being used to drive the PLL, and
|
||||||
thus driving the processor clock.
|
thus driving the processor clock.
|
||||||
|
|
||||||
Says y if you want to use external crystal oscillator
|
Says y if you want to use external crystal oscillator
|
||||||
to drive the main clock. Note that this adds about
|
to drive the main clock. Note that this adds about
|
||||||
a second to boot time, as the crystal needs to
|
a second to boot time, as the crystal needs to
|
||||||
stabilize after power-up.
|
stabilize after power-up.
|
||||||
|
|
||||||
The crystal used here can be from 3 to 20 MHz.
|
The crystal used here can be from 3 to 20 MHz.
|
||||||
|
|
||||||
Says n here will use the internal fast RC oscillator
|
Says n here will use the internal fast RC oscillator
|
||||||
running at 12 MHz.
|
running at 12 MHz.
|
||||||
|
|
||||||
config SOC_ATMEL_SAM3X_PLLA_MULA
|
config SOC_ATMEL_SAM3X_PLLA_MULA
|
||||||
hex
|
hex
|
||||||
default 0x06
|
default 0x06
|
||||||
help
|
help
|
||||||
This is the multiplier (MULA) used by the PLL.
|
This is the multiplier (MULA) used by the PLL.
|
||||||
The processor clock is (MAINCK * (MULA + 1) / DIVA).
|
The processor clock is (MAINCK * (MULA + 1) / DIVA).
|
||||||
|
|
||||||
Board config file can override this settings
|
Board config file can override this settings
|
||||||
for a particular board.
|
for a particular board.
|
||||||
|
|
||||||
With default of MULA == 6, and DIVA == 1,
|
With default of MULA == 6, and DIVA == 1,
|
||||||
PLL is running at 7 times of main clock.
|
PLL is running at 7 times of main clock.
|
||||||
|
|
||||||
config SOC_ATMEL_SAM3X_PLLA_DIVA
|
config SOC_ATMEL_SAM3X_PLLA_DIVA
|
||||||
hex
|
hex
|
||||||
default 0x01
|
default 0x01
|
||||||
help
|
help
|
||||||
This is the divider (DIVA) used by the PLL.
|
This is the divider (DIVA) used by the PLL.
|
||||||
The processor clock is (MAINCK * (MULA + 1) / DIVA).
|
The processor clock is (MAINCK * (MULA + 1) / DIVA).
|
||||||
|
|
||||||
Board config file can override this settings
|
Board config file can override this settings
|
||||||
for a particular board.
|
for a particular board.
|
||||||
|
|
||||||
With default of MULA == 6, and DIVA == 1,
|
With default of MULA == 6, and DIVA == 1,
|
||||||
PLL is running at 7 times of main clock.
|
PLL is running at 7 times of main clock.
|
||||||
|
|
||||||
config SOC_ATMEL_SAM3X_WAIT_MODE
|
config SOC_ATMEL_SAM3X_WAIT_MODE
|
||||||
bool "Atmel SAM3 goes to Wait mode instead of Sleep mode"
|
bool "Atmel SAM3 goes to Wait mode instead of Sleep mode"
|
||||||
depends on SOC_ATMEL_SAM3X_EXT_MAINCK
|
depends on SOC_ATMEL_SAM3X_EXT_MAINCK
|
||||||
default y if DEBUG
|
default y if DEBUG
|
||||||
help
|
help
|
||||||
For JTAG debugging CPU clock (HCLK) should not stop. In order
|
For JTAG debugging CPU clock (HCLK) should not stop. In order
|
||||||
to achieve this, make CPU go to Wait mode instead of Sleep
|
to achieve this, make CPU go to Wait mode instead of Sleep
|
||||||
mode while using external crystal oscillator for main clock.
|
mode while using external crystal oscillator for main clock.
|
||||||
|
|
||||||
endif # SOC_SERIES_SAM3X
|
endif # SOC_SERIES_SAM3X
|
||||||
|
|
|
@ -19,65 +19,65 @@ config SOC_ATMEL_SAM4S_EXT_SLCK
|
||||||
bool "Atmel SAM4S to use external crystal oscillator for slow clock"
|
bool "Atmel SAM4S to use external crystal oscillator for slow clock"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Says y if you want to use external 32 kHz crystal
|
Says y if you want to use external 32 kHz crystal
|
||||||
oscillator to drive the slow clock. Note that this
|
oscillator to drive the slow clock. Note that this
|
||||||
adds a few seconds to boot time, as the crystal
|
adds a few seconds to boot time, as the crystal
|
||||||
needs to stabilize after power-up.
|
needs to stabilize after power-up.
|
||||||
|
|
||||||
Says n if you do not need accurate and precise timers.
|
Says n if you do not need accurate and precise timers.
|
||||||
The slow clock will be driven by the internal fast
|
The slow clock will be driven by the internal fast
|
||||||
RC oscillator running at 32 kHz.
|
RC oscillator running at 32 kHz.
|
||||||
|
|
||||||
config SOC_ATMEL_SAM4S_EXT_MAINCK
|
config SOC_ATMEL_SAM4S_EXT_MAINCK
|
||||||
bool "Atmel SAM4S to use external crystal oscillator for main clock"
|
bool "Atmel SAM4S to use external crystal oscillator for main clock"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
The main clock is being used to drive the PLL, and
|
The main clock is being used to drive the PLL, and
|
||||||
thus driving the processor clock.
|
thus driving the processor clock.
|
||||||
|
|
||||||
Says y if you want to use external crystal oscillator
|
Says y if you want to use external crystal oscillator
|
||||||
to drive the main clock. Note that this adds about
|
to drive the main clock. Note that this adds about
|
||||||
a second to boot time, as the crystal needs to
|
a second to boot time, as the crystal needs to
|
||||||
stabilize after power-up.
|
stabilize after power-up.
|
||||||
|
|
||||||
The crystal used here can be from 3 to 20 MHz.
|
The crystal used here can be from 3 to 20 MHz.
|
||||||
|
|
||||||
Says n here will use the internal fast RC oscillator
|
Says n here will use the internal fast RC oscillator
|
||||||
running at 12 MHz.
|
running at 12 MHz.
|
||||||
|
|
||||||
config SOC_ATMEL_SAM4S_PLLA_MULA
|
config SOC_ATMEL_SAM4S_PLLA_MULA
|
||||||
hex "PLL MULA"
|
hex "PLL MULA"
|
||||||
default 0x09
|
default 0x09
|
||||||
help
|
help
|
||||||
This is the multiplier (MULA) used by the PLL.
|
This is the multiplier (MULA) used by the PLL.
|
||||||
The processor clock is (MAINCK * (MULA + 1) / DIVA).
|
The processor clock is (MAINCK * (MULA + 1) / DIVA).
|
||||||
|
|
||||||
Board config file can override this settings
|
Board config file can override this settings
|
||||||
for a particular board.
|
for a particular board.
|
||||||
|
|
||||||
With default of MULA == 9, and DIVA == 1,
|
With default of MULA == 9, and DIVA == 1,
|
||||||
PLL is running at 10 times of main clock.
|
PLL is running at 10 times of main clock.
|
||||||
|
|
||||||
config SOC_ATMEL_SAM4S_PLLA_DIVA
|
config SOC_ATMEL_SAM4S_PLLA_DIVA
|
||||||
hex "PLL DIVA"
|
hex "PLL DIVA"
|
||||||
default 0x01
|
default 0x01
|
||||||
help
|
help
|
||||||
This is the divider (DIVA) used by the PLL.
|
This is the divider (DIVA) used by the PLL.
|
||||||
The processor clock is (MAINCK * (MULA + 1) / DIVA).
|
The processor clock is (MAINCK * (MULA + 1) / DIVA).
|
||||||
|
|
||||||
Board config file can override this settings
|
Board config file can override this settings
|
||||||
for a particular board.
|
for a particular board.
|
||||||
|
|
||||||
With default of MULA == 9, and DIVA == 1,
|
With default of MULA == 9, and DIVA == 1,
|
||||||
PLL is running at 10 times of main clock.
|
PLL is running at 10 times of main clock.
|
||||||
|
|
||||||
config SOC_ATMEL_SAM4S_WAIT_MODE
|
config SOC_ATMEL_SAM4S_WAIT_MODE
|
||||||
bool "Atmel SAM4S goes to Wait mode instead of Sleep mode"
|
bool "Atmel SAM4S goes to Wait mode instead of Sleep mode"
|
||||||
depends on SOC_ATMEL_SAM4S_EXT_MAINCK
|
depends on SOC_ATMEL_SAM4S_EXT_MAINCK
|
||||||
default y if DEBUG
|
default y if DEBUG
|
||||||
help
|
help
|
||||||
For JTAG debugging CPU clock (HCLK) should not stop. In order
|
For JTAG debugging CPU clock (HCLK) should not stop. In order
|
||||||
to achieve this, make CPU go to Wait mode instead of Sleep
|
to achieve this, make CPU go to Wait mode instead of Sleep
|
||||||
mode while using external crystal oscillator for main clock.
|
mode while using external crystal oscillator for main clock.
|
||||||
|
|
||||||
endif # SOC_SERIES_SAM4S
|
endif # SOC_SERIES_SAM4S
|
||||||
|
|
|
@ -15,6 +15,6 @@ config SOC_SERIES_SAME70
|
||||||
select XIP
|
select XIP
|
||||||
select SYS_POWER_LOW_POWER_STATE_SUPPORTED
|
select SYS_POWER_LOW_POWER_STATE_SUPPORTED
|
||||||
help
|
help
|
||||||
Enable support for Atmel SAM E70 ARM Cortex-M7 Microcontrollers.
|
Enable support for Atmel SAM E70 ARM Cortex-M7 Microcontrollers.
|
||||||
Part No.: SAME70J19, SAME70J20, SAME70J21, SAME70N19, SAME70N20,
|
Part No.: SAME70J19, SAME70J20, SAME70J21, SAME70N19, SAME70N20,
|
||||||
SAME70N21, SAME70Q19, SAME70Q20, SAME70Q21
|
SAME70N21, SAME70Q19, SAME70Q20, SAME70Q21
|
||||||
|
|
|
@ -42,91 +42,91 @@ config SOC_ATMEL_SAME70_EXT_SLCK
|
||||||
bool "Use external crystal oscillator for slow clock"
|
bool "Use external crystal oscillator for slow clock"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Say y if you want to use external 32 kHz crystal
|
Say y if you want to use external 32 kHz crystal
|
||||||
oscillator to drive the slow clock. Note that this
|
oscillator to drive the slow clock. Note that this
|
||||||
adds a few seconds to boot time, as the crystal
|
adds a few seconds to boot time, as the crystal
|
||||||
needs to stabilize after power-up.
|
needs to stabilize after power-up.
|
||||||
|
|
||||||
Says n if you do not need accurate and precise timers.
|
Says n if you do not need accurate and precise timers.
|
||||||
The slow clock will be driven by the internal fast
|
The slow clock will be driven by the internal fast
|
||||||
RC oscillator running at 32 kHz.
|
RC oscillator running at 32 kHz.
|
||||||
|
|
||||||
config SOC_ATMEL_SAME70_EXT_MAINCK
|
config SOC_ATMEL_SAME70_EXT_MAINCK
|
||||||
bool "Use external crystal oscillator for main clock"
|
bool "Use external crystal oscillator for main clock"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
The main clock is being used to drive the PLL, and
|
The main clock is being used to drive the PLL, and
|
||||||
thus driving the processor clock.
|
thus driving the processor clock.
|
||||||
|
|
||||||
Say y if you want to use external crystal oscillator
|
Say y if you want to use external crystal oscillator
|
||||||
to drive the main clock. Note that this adds about
|
to drive the main clock. Note that this adds about
|
||||||
a second to boot time, as the crystal needs to
|
a second to boot time, as the crystal needs to
|
||||||
stabilize after power-up.
|
stabilize after power-up.
|
||||||
|
|
||||||
The crystal used here can be from 3 to 20 MHz.
|
The crystal used here can be from 3 to 20 MHz.
|
||||||
|
|
||||||
Says n here will use the internal fast RC oscillator
|
Says n here will use the internal fast RC oscillator
|
||||||
running at 12 MHz.
|
running at 12 MHz.
|
||||||
|
|
||||||
config SOC_ATMEL_SAME70_MDIV
|
config SOC_ATMEL_SAME70_MDIV
|
||||||
int "MDIV"
|
int "MDIV"
|
||||||
default 2
|
default 2
|
||||||
range 1 4
|
range 1 4
|
||||||
help
|
help
|
||||||
This divisor defines a ratio between processor clock (HCLK)
|
This divisor defines a ratio between processor clock (HCLK)
|
||||||
and master clock (MCK):
|
and master clock (MCK):
|
||||||
MCK = HCLK / MDIV
|
MCK = HCLK / MDIV
|
||||||
|
|
||||||
config SOC_ATMEL_SAME70_PLLA_MULA
|
config SOC_ATMEL_SAME70_PLLA_MULA
|
||||||
int "PLL MULA"
|
int "PLL MULA"
|
||||||
default 24
|
default 24
|
||||||
range 1 62
|
range 1 62
|
||||||
help
|
help
|
||||||
This is the multiplier MULA used by the PLL.
|
This is the multiplier MULA used by the PLL.
|
||||||
The processor clock is (MAINCK * (MULA + 1) / DIVA).
|
The processor clock is (MAINCK * (MULA + 1) / DIVA).
|
||||||
|
|
||||||
Board config file can override this settings
|
Board config file can override this settings
|
||||||
for a particular board.
|
for a particular board.
|
||||||
|
|
||||||
Setting MULA=0 would disable PLL at boot, this is currently
|
Setting MULA=0 would disable PLL at boot, this is currently
|
||||||
not supported.
|
not supported.
|
||||||
|
|
||||||
With default of MULA == 24, and DIVA == 1,
|
With default of MULA == 24, and DIVA == 1,
|
||||||
PLL is running at 25 times the main clock frequency.
|
PLL is running at 25 times the main clock frequency.
|
||||||
|
|
||||||
config SOC_ATMEL_SAME70_PLLA_DIVA
|
config SOC_ATMEL_SAME70_PLLA_DIVA
|
||||||
int "PLL DIVA"
|
int "PLL DIVA"
|
||||||
default 1
|
default 1
|
||||||
range 1 255
|
range 1 255
|
||||||
help
|
help
|
||||||
This is the divider DIVA used by the PLL.
|
This is the divider DIVA used by the PLL.
|
||||||
The processor clock is (MAINCK * (MULA + 1) / DIVA).
|
The processor clock is (MAINCK * (MULA + 1) / DIVA).
|
||||||
|
|
||||||
Board config file can override this settings
|
Board config file can override this settings
|
||||||
for a particular board.
|
for a particular board.
|
||||||
|
|
||||||
Setting DIVA=0 would disable PLL at boot, this is currently
|
Setting DIVA=0 would disable PLL at boot, this is currently
|
||||||
not supported.
|
not supported.
|
||||||
|
|
||||||
With default of MULA == 24, and DIVA == 1,
|
With default of MULA == 24, and DIVA == 1,
|
||||||
PLL is running at 25 times the main clock frequency.
|
PLL is running at 25 times the main clock frequency.
|
||||||
|
|
||||||
config SOC_ATMEL_SAME70_WAIT_MODE
|
config SOC_ATMEL_SAME70_WAIT_MODE
|
||||||
bool "Go to Wait mode instead of Sleep mode"
|
bool "Go to Wait mode instead of Sleep mode"
|
||||||
depends on SOC_ATMEL_SAME70_EXT_MAINCK
|
depends on SOC_ATMEL_SAME70_EXT_MAINCK
|
||||||
default y if DEBUG
|
default y if DEBUG
|
||||||
help
|
help
|
||||||
For JTAG debugging CPU clock (HCLK) should not stop. In order
|
For JTAG debugging CPU clock (HCLK) should not stop. In order
|
||||||
to achieve this, make CPU go to Wait mode instead of Sleep
|
to achieve this, make CPU go to Wait mode instead of Sleep
|
||||||
mode while using external crystal oscillator for main clock.
|
mode while using external crystal oscillator for main clock.
|
||||||
|
|
||||||
config SOC_ATMEL_SAME70_DISABLE_ERASE_PIN
|
config SOC_ATMEL_SAME70_DISABLE_ERASE_PIN
|
||||||
bool "Disable ERASE pin"
|
bool "Disable ERASE pin"
|
||||||
default 0
|
default 0
|
||||||
help
|
help
|
||||||
At reset ERASE pin is configured in System IO mode. Asserting the ERASE
|
At reset ERASE pin is configured in System IO mode. Asserting the ERASE
|
||||||
pin at '1' will completely erase Flash memory. Setting this option will
|
pin at '1' will completely erase Flash memory. Setting this option will
|
||||||
switch the pin to general IO mode giving control of the pin to the GPIO
|
switch the pin to general IO mode giving control of the pin to the GPIO
|
||||||
module.
|
module.
|
||||||
|
|
||||||
endif # SOC_SERIES_SAME70
|
endif # SOC_SERIES_SAME70
|
||||||
|
|
|
@ -4,50 +4,50 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Atmel SAMD21 MCU Selection"
|
prompt "Atmel SAMD21 MCU Selection"
|
||||||
depends on SOC_SERIES_SAMD21
|
depends on SOC_SERIES_SAMD21
|
||||||
|
|
||||||
config SOC_PART_NUMBER_SAMD21E15A
|
config SOC_PART_NUMBER_SAMD21E15A
|
||||||
bool "SAMD21E15A"
|
bool "SAMD21E15A"
|
||||||
|
|
||||||
config SOC_PART_NUMBER_SAMD21E16A
|
config SOC_PART_NUMBER_SAMD21E16A
|
||||||
bool "SAMD21E16A"
|
bool "SAMD21E16A"
|
||||||
|
|
||||||
config SOC_PART_NUMBER_SAMD21E17A
|
config SOC_PART_NUMBER_SAMD21E17A
|
||||||
bool "SAMD21E17A"
|
bool "SAMD21E17A"
|
||||||
|
|
||||||
config SOC_PART_NUMBER_SAMD21E18A
|
config SOC_PART_NUMBER_SAMD21E18A
|
||||||
bool "SAMD21E18A"
|
bool "SAMD21E18A"
|
||||||
|
|
||||||
config SOC_PART_NUMBER_SAMD21G15A
|
config SOC_PART_NUMBER_SAMD21G15A
|
||||||
bool "SAMD21G15A"
|
bool "SAMD21G15A"
|
||||||
|
|
||||||
config SOC_PART_NUMBER_SAMD21G16A
|
config SOC_PART_NUMBER_SAMD21G16A
|
||||||
bool "SAMD21G16A"
|
bool "SAMD21G16A"
|
||||||
|
|
||||||
config SOC_PART_NUMBER_SAMD21G17A
|
config SOC_PART_NUMBER_SAMD21G17A
|
||||||
bool "SAMD21G17A"
|
bool "SAMD21G17A"
|
||||||
|
|
||||||
config SOC_PART_NUMBER_SAMD21G17AU
|
config SOC_PART_NUMBER_SAMD21G17AU
|
||||||
bool "SAMD21G17AU"
|
bool "SAMD21G17AU"
|
||||||
|
|
||||||
config SOC_PART_NUMBER_SAMD21G18A
|
config SOC_PART_NUMBER_SAMD21G18A
|
||||||
bool "SAMD21G18A"
|
bool "SAMD21G18A"
|
||||||
|
|
||||||
config SOC_PART_NUMBER_SAMD21G18AU
|
config SOC_PART_NUMBER_SAMD21G18AU
|
||||||
bool "SAMD21G18AU"
|
bool "SAMD21G18AU"
|
||||||
|
|
||||||
config SOC_PART_NUMBER_SAMD21J15A
|
config SOC_PART_NUMBER_SAMD21J15A
|
||||||
bool "SAMD21J15A"
|
bool "SAMD21J15A"
|
||||||
|
|
||||||
config SOC_PART_NUMBER_SAMD21J16A
|
config SOC_PART_NUMBER_SAMD21J16A
|
||||||
bool "SAMD21J16A"
|
bool "SAMD21J16A"
|
||||||
|
|
||||||
config SOC_PART_NUMBER_SAMD21J17A
|
config SOC_PART_NUMBER_SAMD21J17A
|
||||||
bool "SAMD21J17A"
|
bool "SAMD21J17A"
|
||||||
|
|
||||||
config SOC_PART_NUMBER_SAMD21J18A
|
config SOC_PART_NUMBER_SAMD21J18A
|
||||||
bool "SAMD21J18A"
|
bool "SAMD21J18A"
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
@ -57,32 +57,32 @@ config SOC_ATMEL_SAMD_XOSC32K
|
||||||
bool "Enable the external 32 kHz crystal oscillator"
|
bool "Enable the external 32 kHz crystal oscillator"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Say y to enable the external 32 kHZ crystal oscillator at
|
Say y to enable the external 32 kHZ crystal oscillator at
|
||||||
startup. This can then be selected as the main clock source
|
startup. This can then be selected as the main clock source
|
||||||
for the SOC.
|
for the SOC.
|
||||||
|
|
||||||
config SOC_ATMEL_SAMD_XOSC
|
config SOC_ATMEL_SAMD_XOSC
|
||||||
bool "Enable the external crystal oscillator"
|
bool "Enable the external crystal oscillator"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Say y to enable the external crystal oscillator at startup.
|
Say y to enable the external crystal oscillator at startup.
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Main clock source"
|
prompt "Main clock source"
|
||||||
help
|
help
|
||||||
Selects the clock that the main clocks, such as the CPU
|
Selects the clock that the main clocks, such as the CPU
|
||||||
clock and AHB clock, will be derived from.
|
clock and AHB clock, will be derived from.
|
||||||
|
|
||||||
config SOC_ATMEL_SAMD_XOSC32K_AS_MAIN
|
config SOC_ATMEL_SAMD_XOSC32K_AS_MAIN
|
||||||
depends on SOC_ATMEL_SAMD_XOSC32K
|
depends on SOC_ATMEL_SAMD_XOSC32K
|
||||||
bool "XOSC32K"
|
bool "XOSC32K"
|
||||||
|
|
||||||
config SOC_ATMEL_SAMD_XOSC_AS_MAIN
|
config SOC_ATMEL_SAMD_XOSC_AS_MAIN
|
||||||
depends on SOC_ATMEL_SAMD_XOSC
|
depends on SOC_ATMEL_SAMD_XOSC
|
||||||
bool "XOSC"
|
bool "XOSC"
|
||||||
|
|
||||||
config SOC_ATMEL_SAMD_OSC8M_AS_MAIN
|
config SOC_ATMEL_SAMD_OSC8M_AS_MAIN
|
||||||
bool "OSC8M"
|
bool "OSC8M"
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
|
|
@ -74,8 +74,8 @@ config SOC_PART_NUMBER_KINETIS_KL2X
|
||||||
default "MKL25Z64VLK4" if SOC_PART_NUMBER_MKL25Z64VLK4
|
default "MKL25Z64VLK4" if SOC_PART_NUMBER_MKL25Z64VLK4
|
||||||
default "MKL25Z128VLK4" if SOC_PART_NUMBER_MKL25Z128VLK4
|
default "MKL25Z128VLK4" if SOC_PART_NUMBER_MKL25Z128VLK4
|
||||||
help
|
help
|
||||||
This string holds the full part number of the SoC. It is a hidden option
|
This string holds the full part number of the SoC. It is a hidden option
|
||||||
that you should not set directly. The part number selection choice defines
|
that you should not set directly. The part number selection choice defines
|
||||||
the default value for this string.
|
the default value for this string.
|
||||||
|
|
||||||
endif # SOC_SERIES_KINETIS_KL2X
|
endif # SOC_SERIES_KINETIS_KL2X
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
config SOC_POSIX
|
config SOC_POSIX
|
||||||
bool "Native POSIX port"
|
bool "Native POSIX port"
|
||||||
help
|
help
|
||||||
SOC for to the POSIX arch. It emulates a CPU running at an infinitely fast
|
SOC for to the POSIX arch. It emulates a CPU running at an infinitely fast
|
||||||
clock. That means the CPU will always run in zero time until completion after
|
clock. That means the CPU will always run in zero time until completion after
|
||||||
each wake reason (e.g. interrupts), before going back to idle. Note that an
|
each wake reason (e.g. interrupts), before going back to idle. Note that an
|
||||||
infinite loop in the code which does not sleep the CPU will cause the process
|
infinite loop in the code which does not sleep the CPU will cause the process
|
||||||
to appear "hung", as simulated time does not advance while the CPU does not
|
to appear "hung", as simulated time does not advance while the CPU does not
|
||||||
sleep. Therefore do not use busy waits while waiting for something to happen
|
sleep. Therefore do not use busy waits while waiting for something to happen
|
||||||
(if needed use k_busy_wait()).
|
(if needed use k_busy_wait()).
|
||||||
Note that the interrupt handling is provided by the board.
|
Note that the interrupt handling is provided by the board.
|
||||||
|
|
|
@ -10,4 +10,4 @@ config SOC_SERIES_RISCV32_FE310
|
||||||
depends on RISCV32
|
depends on RISCV32
|
||||||
select SOC_FAMILY_RISCV_PRIVILEGE
|
select SOC_FAMILY_RISCV_PRIVILEGE
|
||||||
help
|
help
|
||||||
Enable support for SiFive Freedom E310 SOC
|
Enable support for SiFive Freedom E310 SOC
|
||||||
|
|
|
@ -10,4 +10,4 @@ config SOC_SERIES_RISCV32_QEMU
|
||||||
depends on RISCV32
|
depends on RISCV32
|
||||||
select SOC_FAMILY_RISCV_PRIVILEGE
|
select SOC_FAMILY_RISCV_PRIVILEGE
|
||||||
help
|
help
|
||||||
Enable support for riscv32 QEMU SOC implementation
|
Enable support for riscv32 QEMU SOC implementation
|
||||||
|
|
|
@ -10,4 +10,4 @@ config SOC_SERIES_QUARK_X1000
|
||||||
select SYS_POWER_DEEP_SLEEP_SUPPORTED
|
select SYS_POWER_DEEP_SLEEP_SUPPORTED
|
||||||
select SOC_FAMILY_QUARK
|
select SOC_FAMILY_QUARK
|
||||||
help
|
help
|
||||||
Intel Quark X1000 SoC.
|
Intel Quark X1000 SoC.
|
||||||
|
|
|
@ -10,4 +10,4 @@ config SOC_QUARK_X1000
|
||||||
select SYS_POWER_DEEP_SLEEP_SUPPORTED
|
select SYS_POWER_DEEP_SLEEP_SUPPORTED
|
||||||
depends on SOC_SERIES_QUARK_X1000
|
depends on SOC_SERIES_QUARK_X1000
|
||||||
help
|
help
|
||||||
Intel Quark X1000 SoC.
|
Intel Quark X1000 SoC.
|
||||||
|
|
|
@ -8,9 +8,9 @@ config BOARD_EM_STARTERKIT
|
||||||
bool "ARC EM Starter Kit"
|
bool "ARC EM Starter Kit"
|
||||||
depends on (SOC_EM7D || SOC_EM9D || SOC_EM11D)
|
depends on (SOC_EM7D || SOC_EM9D || SOC_EM11D)
|
||||||
help
|
help
|
||||||
The DesignWare ARC EM Starter Kit board is a board
|
The DesignWare ARC EM Starter Kit board is a board
|
||||||
that can host up to 3 different SOC FPGA bit files.
|
that can host up to 3 different SOC FPGA bit files.
|
||||||
Both version 2.2 and 2.3 firmware have EM7D, EM9D and EM11D configurations.
|
Both version 2.2 and 2.3 firmware have EM7D, EM9D and EM11D configurations.
|
||||||
EM9D using CCM memories and is a Harvard Architecture.
|
EM9D using CCM memories and is a Harvard Architecture.
|
||||||
EM7D and EM11D have access to 128MB DRAM and use i-cache and d-cache.
|
EM7D and EM11D have access to 128MB DRAM and use i-cache and d-cache.
|
||||||
EM7D of EMSK 2.3 supports secure mode.
|
EM7D of EMSK 2.3 supports secure mode.
|
||||||
|
|
|
@ -4,8 +4,8 @@ config BOARD_GALILEO
|
||||||
depends on SOC_SERIES_QUARK_X1000
|
depends on SOC_SERIES_QUARK_X1000
|
||||||
select HAS_DTS
|
select HAS_DTS
|
||||||
help
|
help
|
||||||
The Intel Galileo Gen 2 development board is a microcontroller board
|
The Intel Galileo Gen 2 development board is a microcontroller board
|
||||||
based on the Intel Quark SoC X1000 application processor, a 32-bit
|
based on the Intel Quark SoC X1000 application processor, a 32-bit
|
||||||
Intel(r) Pentium(r) brand system on a chip (SoC). It is the first board
|
Intel(r) Pentium(r) brand system on a chip (SoC). It is the first board
|
||||||
based on Intel architecture designed to be hardware and software
|
based on Intel architecture designed to be hardware and software
|
||||||
pin-compatible with shields designed for the Arduino Uno* R3.
|
pin-compatible with shields designed for the Arduino Uno* R3.
|
||||||
|
|
|
@ -12,7 +12,7 @@ menuconfig ADC_TI_ADC108S102
|
||||||
select ADC_0
|
select ADC_0
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable support for TI's ADC chip adc108s102 driver.
|
Enable support for TI's ADC chip adc108s102 driver.
|
||||||
|
|
||||||
if ADC_TI_ADC108S102
|
if ADC_TI_ADC108S102
|
||||||
|
|
||||||
|
|
|
@ -12,12 +12,12 @@ menuconfig TELNET_CONSOLE
|
||||||
select NETWORKING
|
select NETWORKING
|
||||||
select NET_TCP
|
select NET_TCP
|
||||||
help
|
help
|
||||||
This option enables telnet as a network console service. It is for
|
This option enables telnet as a network console service. It is for
|
||||||
now a very basic implementation of the telnet protocol. Currently,
|
now a very basic implementation of the telnet protocol. Currently,
|
||||||
it is basically just a redirection of the Zephyr console through TCP.
|
it is basically just a redirection of the Zephyr console through TCP.
|
||||||
It nicely works along with another console driver (like uart), twist
|
It nicely works along with another console driver (like uart), twist
|
||||||
being that it will take over the output if only a successful
|
being that it will take over the output if only a successful
|
||||||
connection to its port is done.
|
connection to its port is done.
|
||||||
|
|
||||||
if TELNET_CONSOLE
|
if TELNET_CONSOLE
|
||||||
|
|
||||||
|
@ -25,101 +25,101 @@ config TELNET_CONSOLE_PORT
|
||||||
int "Telnet console port number"
|
int "Telnet console port number"
|
||||||
default 23
|
default 23
|
||||||
help
|
help
|
||||||
This option is used to configure on which port telnet is going
|
This option is used to configure on which port telnet is going
|
||||||
to be bound.
|
to be bound.
|
||||||
|
|
||||||
config TELNET_CONSOLE_LINE_BUF_SIZE
|
config TELNET_CONSOLE_LINE_BUF_SIZE
|
||||||
int "Telnet console line buffer size"
|
int "Telnet console line buffer size"
|
||||||
default 64
|
default 64
|
||||||
help
|
help
|
||||||
This option can be used to modify the size of the buffer storing
|
This option can be used to modify the size of the buffer storing
|
||||||
console output line, prior to sending it through the network.
|
console output line, prior to sending it through the network.
|
||||||
Of course an output line can be longer than such size, it just
|
Of course an output line can be longer than such size, it just
|
||||||
means sending it will start as soon as it reaches this size.
|
means sending it will start as soon as it reaches this size.
|
||||||
It really depends on what type of output is expected.
|
It really depends on what type of output is expected.
|
||||||
A lot of short lines: better reduce this value. On the contrary,
|
A lot of short lines: better reduce this value. On the contrary,
|
||||||
raise it.
|
raise it.
|
||||||
|
|
||||||
config TELNET_CONSOLE_LINE_BUF_NUMBERS
|
config TELNET_CONSOLE_LINE_BUF_NUMBERS
|
||||||
int "Telnet console line buffers"
|
int "Telnet console line buffers"
|
||||||
default 4
|
default 4
|
||||||
help
|
help
|
||||||
This option can be used to modify the amount of line buffers the
|
This option can be used to modify the amount of line buffers the
|
||||||
driver can use. It really depends on how much output is meant to be
|
driver can use. It really depends on how much output is meant to be
|
||||||
sent, depending on the system load etc. You can play on both
|
sent, depending on the system load etc. You can play on both
|
||||||
TELNET_CONSOLE_LINE_BUF_SIZE and this current option to get the
|
TELNET_CONSOLE_LINE_BUF_SIZE and this current option to get the
|
||||||
best possible buffer settings you need.
|
best possible buffer settings you need.
|
||||||
|
|
||||||
config TELNET_CONSOLE_SEND_TIMEOUT
|
config TELNET_CONSOLE_SEND_TIMEOUT
|
||||||
int "Telnet console line send timeout"
|
int "Telnet console line send timeout"
|
||||||
default 100
|
default 100
|
||||||
help
|
help
|
||||||
This option can be used to modify the duration of the timer that kick
|
This option can be used to modify the duration of the timer that kick
|
||||||
in when a line buffer is not empty but did not yet meet the line feed.
|
in when a line buffer is not empty but did not yet meet the line feed.
|
||||||
|
|
||||||
config TELNET_CONSOLE_SEND_THRESHOLD
|
config TELNET_CONSOLE_SEND_THRESHOLD
|
||||||
int "Telnet console line send threshold"
|
int "Telnet console line send threshold"
|
||||||
default 5
|
default 5
|
||||||
help
|
help
|
||||||
This option can be used to modify the minimal amount of a line buffer
|
This option can be used to modify the minimal amount of a line buffer
|
||||||
that can be sent by the telnet server when nothing has happened for
|
that can be sent by the telnet server when nothing has happened for
|
||||||
a little while (see TELNET_CONSOLE_SEND_TIMEOUT) and when the line
|
a little while (see TELNET_CONSOLE_SEND_TIMEOUT) and when the line
|
||||||
buffer did not meet the line feed yet.
|
buffer did not meet the line feed yet.
|
||||||
|
|
||||||
config TELNET_CONSOLE_SUPPORT_COMMAND
|
config TELNET_CONSOLE_SUPPORT_COMMAND
|
||||||
bool "Add support for telnet commands (IAC) [Experimental]"
|
bool "Add support for telnet commands (IAC) [Experimental]"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Current support is so limited it's not interesting to enable it.
|
Current support is so limited it's not interesting to enable it.
|
||||||
However, if proven to be needed at some point, it will be possible
|
However, if proven to be needed at some point, it will be possible
|
||||||
to extend such support.
|
to extend such support.
|
||||||
|
|
||||||
config TELNET_CONSOLE_THREAD_STACK
|
config TELNET_CONSOLE_THREAD_STACK
|
||||||
int "Telnet console inner thread stack size"
|
int "Telnet console inner thread stack size"
|
||||||
default 1024
|
default 1024
|
||||||
help
|
help
|
||||||
This option helps to fine-tune telnet's inner thread stack size.
|
This option helps to fine-tune telnet's inner thread stack size.
|
||||||
|
|
||||||
config TELNET_CONSOLE_PRIO
|
config TELNET_CONSOLE_PRIO
|
||||||
int "Telnet console inner thread priority"
|
int "Telnet console inner thread priority"
|
||||||
default 7
|
default 7
|
||||||
help
|
help
|
||||||
This option helps to fine-tune telnet's inner thread priority.
|
This option helps to fine-tune telnet's inner thread priority.
|
||||||
|
|
||||||
config SYS_LOG_TELNET_CONSOLE_LEVEL
|
config SYS_LOG_TELNET_CONSOLE_LEVEL
|
||||||
int "Telnet console log level"
|
int "Telnet console log level"
|
||||||
default 0
|
default 0
|
||||||
depends on SYS_LOG
|
depends on SYS_LOG
|
||||||
help
|
help
|
||||||
Sets log level for telnet console (for telnet console dev only)
|
Sets log level for telnet console (for telnet console dev only)
|
||||||
|
|
||||||
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 TELNET_CONSOLE_DEBUG_DEEP
|
config TELNET_CONSOLE_DEBUG_DEEP
|
||||||
bool "Forward output to original console handler"
|
bool "Forward output to original console handler"
|
||||||
depends on UART_CONSOLE
|
depends on UART_CONSOLE
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
For telnet developers only, this will forward each output to
|
For telnet developers only, this will forward each output to
|
||||||
original console handler. So if by chance telnet seems silent,
|
original console handler. So if by chance telnet seems silent,
|
||||||
at least things will be printed to original handler, usually
|
at least things will be printed to original handler, usually
|
||||||
UART console.
|
UART console.
|
||||||
|
|
||||||
config TELNET_CONSOLE_INIT_PRIORITY
|
config TELNET_CONSOLE_INIT_PRIORITY
|
||||||
int "Telnet console init priority"
|
int "Telnet console init priority"
|
||||||
default 99
|
default 99
|
||||||
help
|
help
|
||||||
Telnet console driver initialization priority. Note that Telnet works
|
Telnet console driver initialization priority. Note that Telnet works
|
||||||
on application level. Usually, you won't have to tweak this.
|
on application level. Usually, you won't have to tweak this.
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -11,4 +11,4 @@ menuconfig DMA_QMSI
|
||||||
default n
|
default n
|
||||||
depends on QMSI
|
depends on QMSI
|
||||||
help
|
help
|
||||||
QMSI DMA driver.
|
QMSI DMA driver.
|
||||||
|
|
|
@ -11,58 +11,58 @@ menuconfig DMA_STM32F4X
|
||||||
default n
|
default n
|
||||||
depends on SOC_SERIES_STM32F4X
|
depends on SOC_SERIES_STM32F4X
|
||||||
help
|
help
|
||||||
DMA driver for STM32F4x series SoCs.
|
DMA driver for STM32F4x series SoCs.
|
||||||
|
|
||||||
config DMA_0_RX_SUB_CHANNEL_ID
|
config DMA_0_RX_SUB_CHANNEL_ID
|
||||||
int "Requested RX sub-channel ID"
|
int "Requested RX sub-channel ID"
|
||||||
default 0
|
default 0
|
||||||
depends on DMA_STM32F4X
|
depends on DMA_STM32F4X
|
||||||
help
|
help
|
||||||
This configuration is required to choose a valid sub-channel
|
This configuration is required to choose a valid sub-channel
|
||||||
for communication from a peripheral/device. Not required
|
for communication from a peripheral/device. Not required
|
||||||
for memory to memory comms.
|
for memory to memory comms.
|
||||||
|
|
||||||
config DMA_0_TX_SUB_CHANNEL_ID
|
config DMA_0_TX_SUB_CHANNEL_ID
|
||||||
int "Requested TX sub-channel ID"
|
int "Requested TX sub-channel ID"
|
||||||
default 0
|
default 0
|
||||||
depends on DMA_STM32F4X
|
depends on DMA_STM32F4X
|
||||||
help
|
help
|
||||||
This configuration is required to choose a valid sub-channel
|
This configuration is required to choose a valid sub-channel
|
||||||
for communication to a peripheral/device. Not required
|
for communication to a peripheral/device. Not required
|
||||||
for memory to memory comms.
|
for memory to memory comms.
|
||||||
|
|
||||||
config DMA_1_RX_SUB_CHANNEL_ID
|
config DMA_1_RX_SUB_CHANNEL_ID
|
||||||
int "Requested RX sub-channel ID"
|
int "Requested RX sub-channel ID"
|
||||||
default 0
|
default 0
|
||||||
depends on DMA_STM32F4X
|
depends on DMA_STM32F4X
|
||||||
help
|
help
|
||||||
This configuration is required to choose a valid sub-channel
|
This configuration is required to choose a valid sub-channel
|
||||||
for communication from a peripheral/device. Not required
|
for communication from a peripheral/device. Not required
|
||||||
for memory to memory comms.
|
for memory to memory comms.
|
||||||
|
|
||||||
config DMA_1_TX_SUB_CHANNEL_ID
|
config DMA_1_TX_SUB_CHANNEL_ID
|
||||||
int "Requested TX sub-channel ID"
|
int "Requested TX sub-channel ID"
|
||||||
default 0
|
default 0
|
||||||
depends on DMA_STM32F4X
|
depends on DMA_STM32F4X
|
||||||
help
|
help
|
||||||
This configuration is required to choose a valid sub-channel
|
This configuration is required to choose a valid sub-channel
|
||||||
for communication to a peripheral/device. Not required
|
for communication to a peripheral/device. Not required
|
||||||
for memory to memory comms.
|
for memory to memory comms.
|
||||||
|
|
||||||
config DMA_2_RX_SUB_CHANNEL_ID
|
config DMA_2_RX_SUB_CHANNEL_ID
|
||||||
int "Requested RX sub-channel ID"
|
int "Requested RX sub-channel ID"
|
||||||
default 0
|
default 0
|
||||||
depends on DMA_STM32F4X
|
depends on DMA_STM32F4X
|
||||||
help
|
help
|
||||||
This configuration is required to choose a valid sub-channel
|
This configuration is required to choose a valid sub-channel
|
||||||
for communication from a peripheral/device. Not required
|
for communication from a peripheral/device. Not required
|
||||||
for memory to memory comms.
|
for memory to memory comms.
|
||||||
|
|
||||||
config DMA_2_TX_SUB_CHANNEL_ID
|
config DMA_2_TX_SUB_CHANNEL_ID
|
||||||
int "Requested TX sub-channel ID"
|
int "Requested TX sub-channel ID"
|
||||||
default 0
|
default 0
|
||||||
depends on DMA_STM32F4X
|
depends on DMA_STM32F4X
|
||||||
help
|
help
|
||||||
This configuration is required to choose a valid sub-channel
|
This configuration is required to choose a valid sub-channel
|
||||||
for communication to a peripheral/device. Not required
|
for communication to a peripheral/device. Not required
|
||||||
for memory to memory comms.
|
for memory to memory comms.
|
||||||
|
|
|
@ -63,6 +63,6 @@ config ETH_DW_0_IRQ_PRI
|
||||||
depends on ETH_DW_0 && ETH_DW_0_IRQ_DIRECT
|
depends on ETH_DW_0 && ETH_DW_0_IRQ_DIRECT
|
||||||
default 0
|
default 0
|
||||||
help
|
help
|
||||||
IRQ priority
|
IRQ priority
|
||||||
|
|
||||||
endif # ETH_DW
|
endif # ETH_DW
|
||||||
|
|
|
@ -13,40 +13,40 @@ menuconfig ETH_ENC28J60
|
||||||
depends on SPI
|
depends on SPI
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
ENC28J60C Stand-Alone Ethernet Controller
|
ENC28J60C Stand-Alone Ethernet Controller
|
||||||
with SPI Interface
|
with SPI Interface
|
||||||
|
|
||||||
config ETH_ENC28J60_RX_THREAD_STACK_SIZE
|
config ETH_ENC28J60_RX_THREAD_STACK_SIZE
|
||||||
int "Stack size for internal incoming packet handler"
|
int "Stack size for internal incoming packet handler"
|
||||||
depends on ETH_ENC28J60
|
depends on ETH_ENC28J60
|
||||||
default 800
|
default 800
|
||||||
help
|
help
|
||||||
Size of the stack used for internal thread which is ran for
|
Size of the stack used for internal thread which is ran for
|
||||||
incoming packet processing.
|
incoming packet processing.
|
||||||
|
|
||||||
config ETH_ENC28J60_RX_THREAD_PRIO
|
config ETH_ENC28J60_RX_THREAD_PRIO
|
||||||
int "Priority for internal incoming packet handler"
|
int "Priority for internal incoming packet handler"
|
||||||
depends on ETH_ENC28J60
|
depends on ETH_ENC28J60
|
||||||
default 2
|
default 2
|
||||||
help
|
help
|
||||||
Priority level for internal thread which is ran for incoming
|
Priority level for internal thread which is ran for incoming
|
||||||
packet processing.
|
packet processing.
|
||||||
|
|
||||||
config ETH_EN28J60_TIMEOUT
|
config ETH_EN28J60_TIMEOUT
|
||||||
int "IP buffer timeout"
|
int "IP buffer timeout"
|
||||||
depends on ETH_ENC28J60
|
depends on ETH_ENC28J60
|
||||||
default 100
|
default 100
|
||||||
help
|
help
|
||||||
Given timeout in milliseconds. Maximum amount of time
|
Given timeout in milliseconds. Maximum amount of time
|
||||||
that the driver will wait from the IP stack to get
|
that the driver will wait from the IP stack to get
|
||||||
a memory buffer before the Ethernet frame is dropped.
|
a memory buffer before the Ethernet frame is dropped.
|
||||||
|
|
||||||
config ETH_ENC28J60_0
|
config ETH_ENC28J60_0
|
||||||
bool "ENC28J60C Ethernet port 0"
|
bool "ENC28J60C Ethernet port 0"
|
||||||
depends on ETH_ENC28J60
|
depends on ETH_ENC28J60
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Include port 0 driver
|
Include port 0 driver
|
||||||
|
|
||||||
if ETH_ENC28J60 && ETH_ENC28J60_0
|
if ETH_ENC28J60 && ETH_ENC28J60_0
|
||||||
config ETH_ENC28J60_0_NAME
|
config ETH_ENC28J60_0_NAME
|
||||||
|
@ -57,61 +57,61 @@ config ETH_EN28J60_0_FULL_DUPLEX
|
||||||
bool "ENC28J60 full duplex"
|
bool "ENC28J60 full duplex"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enable Full Duplex. Device is configured half duplex
|
Enable Full Duplex. Device is configured half duplex
|
||||||
when disabled.
|
when disabled.
|
||||||
|
|
||||||
config ETH_ENC28J60_0_GPIO_PORT_NAME
|
config ETH_ENC28J60_0_GPIO_PORT_NAME
|
||||||
string "GPIO controller port name"
|
string "GPIO controller port name"
|
||||||
default "GPIO_0"
|
default "GPIO_0"
|
||||||
help
|
help
|
||||||
GPIO port name through which ENC28J60C interruption is received.
|
GPIO port name through which ENC28J60C interruption is received.
|
||||||
|
|
||||||
config ETH_ENC28J60_0_GPIO_PIN
|
config ETH_ENC28J60_0_GPIO_PIN
|
||||||
int "ENC28J60C INT GPIO PIN"
|
int "ENC28J60C INT GPIO PIN"
|
||||||
default 19
|
default 19
|
||||||
help
|
help
|
||||||
GPIO pin number used to connect INT
|
GPIO pin number used to connect INT
|
||||||
|
|
||||||
config ETH_ENC28J60_0_SPI_PORT_NAME
|
config ETH_ENC28J60_0_SPI_PORT_NAME
|
||||||
string "SPI master controller port name"
|
string "SPI master controller port name"
|
||||||
default "SPI_0"
|
default "SPI_0"
|
||||||
help
|
help
|
||||||
Master SPI port name through which ENC28J60C chip is accessed.
|
Master SPI port name through which ENC28J60C chip is accessed.
|
||||||
|
|
||||||
config ETH_ENC28J60_0_SLAVE
|
config ETH_ENC28J60_0_SLAVE
|
||||||
hex "ETH_ENC28J60 SPI slave select pin"
|
hex "ETH_ENC28J60 SPI slave select pin"
|
||||||
default 1
|
default 1
|
||||||
help
|
help
|
||||||
ENC28J60C chip select pin.
|
ENC28J60C chip select pin.
|
||||||
|
|
||||||
config ETH_ENC28J60_0_SPI_BUS_FREQ
|
config ETH_ENC28J60_0_SPI_BUS_FREQ
|
||||||
int "ENC28J60C SPI bus speed in Hz"
|
int "ENC28J60C SPI bus speed in Hz"
|
||||||
default 128
|
default 128
|
||||||
help
|
help
|
||||||
This is the maximum supported SPI bus frequency.
|
This is the maximum supported SPI bus frequency.
|
||||||
|
|
||||||
config ETH_ENC28J60_0_MAC3
|
config ETH_ENC28J60_0_MAC3
|
||||||
hex "MAC Address Byte 3"
|
hex "MAC Address Byte 3"
|
||||||
default 0
|
default 0
|
||||||
help
|
help
|
||||||
MACADDR<0:23> are Microchip's OUI.
|
MACADDR<0:23> are Microchip's OUI.
|
||||||
This is the byte 3 of the MAC address.
|
This is the byte 3 of the MAC address.
|
||||||
MACADDR<31:24>
|
MACADDR<31:24>
|
||||||
|
|
||||||
config ETH_ENC28J60_0_MAC4
|
config ETH_ENC28J60_0_MAC4
|
||||||
hex "MAC Address Byte 4"
|
hex "MAC Address Byte 4"
|
||||||
default 0
|
default 0
|
||||||
help
|
help
|
||||||
MACADDR<0:23> are Microchip's OUI.
|
MACADDR<0:23> are Microchip's OUI.
|
||||||
This is the byte 4 of the MAC address.
|
This is the byte 4 of the MAC address.
|
||||||
MACADDR<40:32>
|
MACADDR<40:32>
|
||||||
|
|
||||||
config ETH_ENC28J60_0_MAC5
|
config ETH_ENC28J60_0_MAC5
|
||||||
hex "MAC Address Byte 5"
|
hex "MAC Address Byte 5"
|
||||||
default 0
|
default 0
|
||||||
help
|
help
|
||||||
MACADDR<0:23> are Microchip's OUI.
|
MACADDR<0:23> are Microchip's OUI.
|
||||||
This is the byte 5 of the MAC address.
|
This is the byte 5 of the MAC address.
|
||||||
MACADDR<48:41>
|
MACADDR<48:41>
|
||||||
|
|
||||||
endif #ETH_ENC28J60 && ETH_ENC28J60_0
|
endif #ETH_ENC28J60 && ETH_ENC28J60_0
|
||||||
|
|
|
@ -231,6 +231,6 @@ config GPIO_DW_3_IRQ_PRI
|
||||||
int "Controller interrupt priority"
|
int "Controller interrupt priority"
|
||||||
depends on GPIO_DW_3 && GPIO_DW_3_IRQ_DIRECT
|
depends on GPIO_DW_3 && GPIO_DW_3_IRQ_DIRECT
|
||||||
help
|
help
|
||||||
IRQ priority
|
IRQ priority
|
||||||
|
|
||||||
endif # GPIO_DW
|
endif # GPIO_DW
|
||||||
|
|
|
@ -11,7 +11,7 @@ menuconfig GPIO_ESP32
|
||||||
depends on GPIO && SOC_ESP32
|
depends on GPIO && SOC_ESP32
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enables the ESP32 GPIO driver
|
Enables the ESP32 GPIO driver
|
||||||
|
|
||||||
if GPIO_ESP32
|
if GPIO_ESP32
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ config GPIO_ESP32_0
|
||||||
bool "ESP32 GPIO (pins 0-31)"
|
bool "ESP32 GPIO (pins 0-31)"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Include support for GPIO pins 0-31 on the ESP32.
|
Include support for GPIO pins 0-31 on the ESP32.
|
||||||
|
|
||||||
config GPIO_ESP32_0_NAME
|
config GPIO_ESP32_0_NAME
|
||||||
string "Driver name"
|
string "Driver name"
|
||||||
|
@ -34,7 +34,7 @@ config GPIO_ESP32_1
|
||||||
bool "ESP32 GPIO (pins 32-39)"
|
bool "ESP32 GPIO (pins 32-39)"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Include support for GPIO pins 32-39 on the ESP32.
|
Include support for GPIO pins 32-39 on the ESP32.
|
||||||
|
|
||||||
config GPIO_ESP32_1_NAME
|
config GPIO_ESP32_1_NAME
|
||||||
string "Driver name"
|
string "Driver name"
|
||||||
|
|
|
@ -21,19 +21,19 @@ config SYS_LOG_GPIO_PCAL9535A_LEVEL
|
||||||
depends on GPIO_PCAL9535A && SYS_LOG
|
depends on GPIO_PCAL9535A && SYS_LOG
|
||||||
default 0
|
default 0
|
||||||
help
|
help
|
||||||
Sets log level for clock PCAL9535A driver
|
Sets log level for clock PCAL9535A 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 GPIO_PCAL9535A_INIT_PRIORITY
|
config GPIO_PCAL9535A_INIT_PRIORITY
|
||||||
int
|
int
|
||||||
|
|
|
@ -38,7 +38,7 @@ config GPIO_QMSI_API_REENTRANCY
|
||||||
depends on GPIO_QMSI
|
depends on GPIO_QMSI
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable support for QMSI GPIO driver API reentrancy.
|
Enable support for QMSI GPIO driver API reentrancy.
|
||||||
|
|
||||||
if GPIO_QMSI
|
if GPIO_QMSI
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ menuconfig GPIO_STM32
|
||||||
depends on GPIO && SOC_FAMILY_STM32
|
depends on GPIO && SOC_FAMILY_STM32
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable GPIO driver for STM32 line of MCUs
|
Enable GPIO driver for STM32 line of MCUs
|
||||||
|
|
||||||
if GPIO_STM32
|
if GPIO_STM32
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,8 @@ menuconfig I2S_SAM_SSC
|
||||||
select DMA
|
select DMA
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable Inter Sound (I2S) bus driver for Atmel SAM MCU family based on
|
Enable Inter Sound (I2S) bus driver for Atmel SAM MCU family based on
|
||||||
Synchronous Serial Controller (SSC) module.
|
Synchronous Serial Controller (SSC) module.
|
||||||
|
|
||||||
if I2S_SAM_SSC
|
if I2S_SAM_SSC
|
||||||
|
|
||||||
|
|
|
@ -13,75 +13,75 @@ config IEEE802154_CC1200_DRV_NAME
|
||||||
string "TI CC1200 Driver's name"
|
string "TI CC1200 Driver's name"
|
||||||
default "cc1200"
|
default "cc1200"
|
||||||
help
|
help
|
||||||
This option sets the driver name
|
This option sets the driver name
|
||||||
|
|
||||||
config IEEE802154_CC1200_SPI_DRV_NAME
|
config IEEE802154_CC1200_SPI_DRV_NAME
|
||||||
string "SPI driver's name to use to access CC1200"
|
string "SPI driver's name to use to access CC1200"
|
||||||
default ""
|
default ""
|
||||||
help
|
help
|
||||||
This option is mandatory to set which SPI controller to use in order
|
This option is mandatory to set which SPI controller to use in order
|
||||||
to actually control the CC1200 chip.
|
to actually control the CC1200 chip.
|
||||||
|
|
||||||
config IEEE802154_CC1200_SPI_FREQ
|
config IEEE802154_CC1200_SPI_FREQ
|
||||||
int "SPI system frequency"
|
int "SPI system frequency"
|
||||||
default 0
|
default 0
|
||||||
help
|
help
|
||||||
This option sets the SPI controller's frequency. Beware this value
|
This option sets the SPI controller's frequency. Beware this value
|
||||||
depends on the SPI controller being used and also on the system
|
depends on the SPI controller being used and also on the system
|
||||||
clock.
|
clock.
|
||||||
|
|
||||||
config IEEE802154_CC1200_SPI_SLAVE
|
config IEEE802154_CC1200_SPI_SLAVE
|
||||||
int "SPI slave linked to CC1200"
|
int "SPI slave linked to CC1200"
|
||||||
default 0
|
default 0
|
||||||
help
|
help
|
||||||
This option sets the SPI slave number SPI controller has to switch
|
This option sets the SPI slave number SPI controller has to switch
|
||||||
to when dealing with CC1200 chip.
|
to when dealing with CC1200 chip.
|
||||||
|
|
||||||
config IEEE802154_CC1200_GPIO_SPI_CS
|
config IEEE802154_CC1200_GPIO_SPI_CS
|
||||||
bool "Manage SPI CS through a GPIO pin"
|
bool "Manage SPI CS through a GPIO pin"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This option is useful if one needs to manage SPI CS through a GPIO
|
This option is useful if one needs to manage SPI CS through a GPIO
|
||||||
pin to by-pass the SPI controller's CS logic.
|
pin to by-pass the SPI controller's CS logic.
|
||||||
|
|
||||||
config IEEE802154_CC1200_GPIO_SPI_CS_DRV_NAME
|
config IEEE802154_CC1200_GPIO_SPI_CS_DRV_NAME
|
||||||
string "GPIO driver's name to use to drive SPI CS through"
|
string "GPIO driver's name to use to drive SPI CS through"
|
||||||
default ""
|
default ""
|
||||||
depends on IEEE802154_CC1200_GPIO_SPI_CS
|
depends on IEEE802154_CC1200_GPIO_SPI_CS
|
||||||
help
|
help
|
||||||
This option is mandatory to set which GPIO controller to use in order
|
This option is mandatory to set which GPIO controller to use in order
|
||||||
to actually emulate the SPI CS.
|
to actually emulate the SPI CS.
|
||||||
|
|
||||||
config IEEE802154_CC1200_GPIO_SPI_CS_PIN
|
config IEEE802154_CC1200_GPIO_SPI_CS_PIN
|
||||||
int "GPIO PIN to use to drive SPI CS through"
|
int "GPIO PIN to use to drive SPI CS through"
|
||||||
default 0
|
default 0
|
||||||
depends on IEEE802154_CC1200_GPIO_SPI_CS
|
depends on IEEE802154_CC1200_GPIO_SPI_CS
|
||||||
help
|
help
|
||||||
This option is mandatory to set which GPIO pin to use in order
|
This option is mandatory to set which GPIO pin to use in order
|
||||||
to actually emulate the SPI CS.
|
to actually emulate the SPI CS.
|
||||||
|
|
||||||
config IEEE802154_CC1200_RX_STACK_SIZE
|
config IEEE802154_CC1200_RX_STACK_SIZE
|
||||||
int "Driver's internal RX thread stack size"
|
int "Driver's internal RX thread stack size"
|
||||||
default 800
|
default 800
|
||||||
help
|
help
|
||||||
This option sets the driver's stack size for its internal RX thread.
|
This option sets the driver's stack size for its internal RX thread.
|
||||||
The default value should be sufficient, but in case it proves to be
|
The default value should be sufficient, but in case it proves to be
|
||||||
a too little one, this option makes it easy to play with the size.
|
a too little one, this option makes it easy to play with the size.
|
||||||
|
|
||||||
config IEEE802154_CC1200_INIT_PRIO
|
config IEEE802154_CC1200_INIT_PRIO
|
||||||
int "CC1200 initialization priority"
|
int "CC1200 initialization priority"
|
||||||
default 80
|
default 80
|
||||||
help
|
help
|
||||||
Set the initialization priority number. Do not mess with it unless
|
Set the initialization priority number. Do not mess with it unless
|
||||||
you know what you are doing. Beware cc1200 requires gpio and spi to
|
you know what you are doing. Beware cc1200 requires gpio and spi to
|
||||||
be ready first (and sometime gpio should be the very first as spi
|
be ready first (and sometime gpio should be the very first as spi
|
||||||
might need it too). And of course it has to start before the net stack.
|
might need it too). And of course it has to start before the net stack.
|
||||||
|
|
||||||
config IEEE802154_CC1200_RANDOM_MAC
|
config IEEE802154_CC1200_RANDOM_MAC
|
||||||
bool "Random MAC address"
|
bool "Random MAC address"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Generate a random MAC address dynamically.
|
Generate a random MAC address dynamically.
|
||||||
|
|
||||||
if ! IEEE802154_CC1200_RANDOM_MAC
|
if ! IEEE802154_CC1200_RANDOM_MAC
|
||||||
|
|
||||||
|
@ -90,28 +90,28 @@ config IEEE802154_CC1200_MAC4
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 ff
|
||||||
help
|
help
|
||||||
This is the byte 4 of the MAC address.
|
This is the byte 4 of the MAC address.
|
||||||
|
|
||||||
config IEEE802154_CC1200_MAC5
|
config IEEE802154_CC1200_MAC5
|
||||||
hex "MAC Address Byte 5"
|
hex "MAC Address Byte 5"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 ff
|
||||||
help
|
help
|
||||||
This is the byte 5 of the MAC address.
|
This is the byte 5 of the MAC address.
|
||||||
|
|
||||||
config IEEE802154_CC1200_MAC6
|
config IEEE802154_CC1200_MAC6
|
||||||
hex "MAC Address Byte 6"
|
hex "MAC Address Byte 6"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 ff
|
||||||
help
|
help
|
||||||
This is the byte 6 of the MAC address.
|
This is the byte 6 of the MAC address.
|
||||||
|
|
||||||
config IEEE802154_CC1200_MAC7
|
config IEEE802154_CC1200_MAC7
|
||||||
hex "MAC Address Byte 7"
|
hex "MAC Address Byte 7"
|
||||||
default 0
|
default 0
|
||||||
range 0 ff
|
range 0 ff
|
||||||
help
|
help
|
||||||
This is the byte 7 of the MAC address.
|
This is the byte 7 of the MAC address.
|
||||||
|
|
||||||
endif # IEEE802154_CC1200_RANDOM_MAC
|
endif # IEEE802154_CC1200_RANDOM_MAC
|
||||||
|
|
||||||
|
@ -119,9 +119,9 @@ config IEEE802154_CC1200_XOSC
|
||||||
int "Value of the Crystal oscillator in kHz"
|
int "Value of the Crystal oscillator in kHz"
|
||||||
default 40000
|
default 40000
|
||||||
help
|
help
|
||||||
This sets the XOSC value, it must be between 38400 and 40000.
|
This sets the XOSC value, it must be between 38400 and 40000.
|
||||||
This value should follow what has been set in the RF settings via
|
This value should follow what has been set in the RF settings via
|
||||||
SmartRF tool. Do not touch this unless you know what you are doing.
|
SmartRF tool. Do not touch this unless you know what you are doing.
|
||||||
|
|
||||||
config IEEE802154_CC1200_RF_PRESET
|
config IEEE802154_CC1200_RF_PRESET
|
||||||
bool "Use TI CC1200 RF pre-sets"
|
bool "Use TI CC1200 RF pre-sets"
|
||||||
|
@ -132,7 +132,7 @@ choice
|
||||||
default IEEE802154_CC1200_RF_SET_0
|
default IEEE802154_CC1200_RF_SET_0
|
||||||
depends on IEEE802154_CC1200_RF_PRESET
|
depends on IEEE802154_CC1200_RF_PRESET
|
||||||
help
|
help
|
||||||
Set the RF preset you want to use.
|
Set the RF preset you want to use.
|
||||||
|
|
||||||
config IEEE802154_CC1200_RF_SET_0
|
config IEEE802154_CC1200_RF_SET_0
|
||||||
bool "868MHz - 50Kbps - 2-GFSK - IEEE 802.15.4g compliant - ETSI"
|
bool "868MHz - 50Kbps - 2-GFSK - IEEE 802.15.4g compliant - ETSI"
|
||||||
|
@ -149,15 +149,15 @@ config IEEE802154_CC1200_CCA_THRESHOLD
|
||||||
int "Value in dbm of the CCA threshold"
|
int "Value in dbm of the CCA threshold"
|
||||||
default -91
|
default -91
|
||||||
help
|
help
|
||||||
Set the CCA threshold. See datasheet's AGC_CS_THR register for
|
Set the CCA threshold. See datasheet's AGC_CS_THR register for
|
||||||
more information. Do not touch this unless you know what you are doing.
|
more information. Do not touch this unless you know what you are doing.
|
||||||
|
|
||||||
config IEEE802154_CC1200_RSSI_OFFSET
|
config IEEE802154_CC1200_RSSI_OFFSET
|
||||||
int "Value in dbm of the RSSI offset"
|
int "Value in dbm of the RSSI offset"
|
||||||
default -81
|
default -81
|
||||||
help
|
help
|
||||||
Set the gain adjustment. See datasheet's AGC_GAIN_ADJUST register for
|
Set the gain adjustment. See datasheet's AGC_GAIN_ADJUST register for
|
||||||
more information. Do not touch this unless you know what you are doing.
|
more information. Do not touch this unless you know what you are doing.
|
||||||
|
|
||||||
# Do no touch below settings unless you know what you are doing
|
# Do no touch below settings unless you know what you are doing
|
||||||
config IEEE802154_CC1200_SETTLING_CFG
|
config IEEE802154_CC1200_SETTLING_CFG
|
||||||
|
|
|
@ -17,46 +17,46 @@ config IEEE802154_CC2520_DRV_NAME
|
||||||
string "TI CC2520 Driver's name"
|
string "TI CC2520 Driver's name"
|
||||||
default "cc2520"
|
default "cc2520"
|
||||||
help
|
help
|
||||||
This option sets the driver name
|
This option sets the driver name
|
||||||
|
|
||||||
config IEEE802154_CC2520_SPI_DRV_NAME
|
config IEEE802154_CC2520_SPI_DRV_NAME
|
||||||
string "SPI driver's name to use to access CC2520"
|
string "SPI driver's name to use to access CC2520"
|
||||||
default ""
|
default ""
|
||||||
help
|
help
|
||||||
This option is mandatory to set which SPI controller to use in order
|
This option is mandatory to set which SPI controller to use in order
|
||||||
to actually control the CC2520 chip.
|
to actually control the CC2520 chip.
|
||||||
|
|
||||||
config IEEE802154_CC2520_SPI_FREQ
|
config IEEE802154_CC2520_SPI_FREQ
|
||||||
int "SPI system frequency"
|
int "SPI system frequency"
|
||||||
default 0
|
default 0
|
||||||
help
|
help
|
||||||
This option sets the SPI controller's frequency. Beware this value
|
This option sets the SPI controller's frequency. Beware this value
|
||||||
depends on the SPI controller being used and also on the system
|
depends on the SPI controller being used and also on the system
|
||||||
clock.
|
clock.
|
||||||
|
|
||||||
config IEEE802154_CC2520_SPI_SLAVE
|
config IEEE802154_CC2520_SPI_SLAVE
|
||||||
int "SPI slave linked to CC2520"
|
int "SPI slave linked to CC2520"
|
||||||
default 0
|
default 0
|
||||||
help
|
help
|
||||||
This option sets the SPI slave number SPI controller has to switch
|
This option sets the SPI slave number SPI controller has to switch
|
||||||
to when dealing with CC2520 chip.
|
to when dealing with CC2520 chip.
|
||||||
|
|
||||||
config IEEE802154_CC2520_RX_STACK_SIZE
|
config IEEE802154_CC2520_RX_STACK_SIZE
|
||||||
int "Driver's internal RX thread stack size"
|
int "Driver's internal RX thread stack size"
|
||||||
default 800
|
default 800
|
||||||
help
|
help
|
||||||
This option sets the driver's stack size for its internal RX thread.
|
This option sets the driver's stack size for its internal RX thread.
|
||||||
The default value should be sufficient, but in case it proves to be
|
The default value should be sufficient, but in case it proves to be
|
||||||
a too little one, this option makes it easy to play with the size.
|
a too little one, this option makes it easy to play with the size.
|
||||||
|
|
||||||
config IEEE802154_CC2520_INIT_PRIO
|
config IEEE802154_CC2520_INIT_PRIO
|
||||||
int "CC2520 initialization priority"
|
int "CC2520 initialization priority"
|
||||||
default 80
|
default 80
|
||||||
help
|
help
|
||||||
Set the initialization priority number. Do not mess with it unless
|
Set the initialization priority number. Do not mess with it unless
|
||||||
you know what you are doing. Beware cc2520 requires gpio and spi to
|
you know what you are doing. Beware cc2520 requires gpio and spi to
|
||||||
be ready first (and sometime gpio should be the very first as spi
|
be ready first (and sometime gpio should be the very first as spi
|
||||||
might need it too). And of course it has to start before the net stack.
|
might need it too). And of course it has to start before the net stack.
|
||||||
|
|
||||||
config IEEE802154_CC2520_RANDOM_MAC
|
config IEEE802154_CC2520_RANDOM_MAC
|
||||||
bool "Random MAC address"
|
bool "Random MAC address"
|
||||||
|
@ -101,24 +101,24 @@ config IEEE802154_CC2520_CRYPTO
|
||||||
default n
|
default n
|
||||||
depends on NET_L2_IEEE802154_SECURITY
|
depends on NET_L2_IEEE802154_SECURITY
|
||||||
help
|
help
|
||||||
This option will expose the hardware AES encryption from CC2520.
|
This option will expose the hardware AES encryption from CC2520.
|
||||||
Such feature should not be used for anything but 802.15.4 security.
|
Such feature should not be used for anything but 802.15.4 security.
|
||||||
The crypto device exposed will only support synchronous CCM operation.
|
The crypto device exposed will only support synchronous CCM operation.
|
||||||
|
|
||||||
config IEEE802154_CC2520_CRYPTO_DRV_NAME
|
config IEEE802154_CC2520_CRYPTO_DRV_NAME
|
||||||
string "TI CC2520 Crypto Driver's name"
|
string "TI CC2520 Crypto Driver's name"
|
||||||
default "cc2520_crypto"
|
default "cc2520_crypto"
|
||||||
depends on IEEE802154_CC2520_CRYPTO
|
depends on IEEE802154_CC2520_CRYPTO
|
||||||
help
|
help
|
||||||
This option sets the driver name for the crypto part found on CC2520.
|
This option sets the driver name for the crypto part found on CC2520.
|
||||||
|
|
||||||
config IEEE802154_CC2520_CRYPTO_INIT_PRIO
|
config IEEE802154_CC2520_CRYPTO_INIT_PRIO
|
||||||
int "TI CC2520 crypto device initialization priority"
|
int "TI CC2520 crypto device initialization priority"
|
||||||
default 81
|
default 81
|
||||||
depends on IEEE802154_CC2520_CRYPTO
|
depends on IEEE802154_CC2520_CRYPTO
|
||||||
help
|
help
|
||||||
Set the initialization priority number. Do not mess with it unless
|
Set the initialization priority number. Do not mess with it unless
|
||||||
you know what you are doing. It should be initialized after CC2520
|
you know what you are doing. It should be initialized after CC2520
|
||||||
as it shares the same runtime context.
|
as it shares the same runtime context.
|
||||||
|
|
||||||
endif # IEEE802154_CC2520
|
endif # IEEE802154_CC2520
|
||||||
|
|
|
@ -32,7 +32,7 @@ config KW41_DBG_TRACE
|
||||||
bool "Enabled simplified debug tracing of events"
|
bool "Enabled simplified debug tracing of events"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
The value depends on your debugging needs. This generates an encoded
|
The value depends on your debugging needs. This generates an encoded
|
||||||
trace of events without going to debug logging to avoid timing impact
|
trace of events without going to debug logging to avoid timing impact
|
||||||
on running code. The buffer is post analyzed via the debugger.
|
on running code. The buffer is post analyzed via the debugger.
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -17,29 +17,29 @@ config IEEE802154_MCR20A_DRV_NAME
|
||||||
string "NXP MCR20A Driver's name"
|
string "NXP MCR20A Driver's name"
|
||||||
default "mcr20a"
|
default "mcr20a"
|
||||||
help
|
help
|
||||||
This option sets the driver name
|
This option sets the driver name
|
||||||
|
|
||||||
config IEEE802154_MCR20A_SPI_DRV_NAME
|
config IEEE802154_MCR20A_SPI_DRV_NAME
|
||||||
string "SPI driver's name to use to access MCR20A"
|
string "SPI driver's name to use to access MCR20A"
|
||||||
default SPI_0_NAME
|
default SPI_0_NAME
|
||||||
help
|
help
|
||||||
This option is mandatory to set which SPI controller to use in order
|
This option is mandatory to set which SPI controller to use in order
|
||||||
to actually control the MCR20A chip.
|
to actually control the MCR20A chip.
|
||||||
|
|
||||||
config IEEE802154_MCR20A_SPI_FREQ
|
config IEEE802154_MCR20A_SPI_FREQ
|
||||||
int "SPI system frequency"
|
int "SPI system frequency"
|
||||||
default 4000000
|
default 4000000
|
||||||
help
|
help
|
||||||
This option sets the SPI controller's frequency. Beware this value
|
This option sets the SPI controller's frequency. Beware this value
|
||||||
depends on the SPI controller being used and also on the system
|
depends on the SPI controller being used and also on the system
|
||||||
clock.
|
clock.
|
||||||
|
|
||||||
config IEEE802154_MCR20A_SPI_SLAVE
|
config IEEE802154_MCR20A_SPI_SLAVE
|
||||||
int "SPI slave linked to MCR20A"
|
int "SPI slave linked to MCR20A"
|
||||||
default 0
|
default 0
|
||||||
help
|
help
|
||||||
This option sets the SPI slave number SPI controller has to switch
|
This option sets the SPI slave number SPI controller has to switch
|
||||||
to when dealing with MCR20A chip.
|
to when dealing with MCR20A chip.
|
||||||
|
|
||||||
config MCR20A_GPIO_IRQ_B_NAME
|
config MCR20A_GPIO_IRQ_B_NAME
|
||||||
string "GPIO device used for IRQ_B output of MCR20A"
|
string "GPIO device used for IRQ_B output of MCR20A"
|
||||||
|
@ -61,16 +61,16 @@ config MCR20A_IS_PART_OF_KW2XD_SIP
|
||||||
bool "MCR20A device is part of KW2xD SiP"
|
bool "MCR20A device is part of KW2xD SiP"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
If this option is set, the driver does not perform a hardware
|
If this option is set, the driver does not perform a hardware
|
||||||
reset and the CLK_OUT frequency is not set, instead these settings
|
reset and the CLK_OUT frequency is not set, instead these settings
|
||||||
are performed during the initialization of the SoC.
|
are performed during the initialization of the SoC.
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "CLK_OUT frequency"
|
prompt "CLK_OUT frequency"
|
||||||
default MCR20A_CLK_OUT_4MHZ if MCR20A_IS_PART_OF_KW2XD_SIP
|
default MCR20A_CLK_OUT_4MHZ if MCR20A_IS_PART_OF_KW2XD_SIP
|
||||||
default MCR20A_CLK_OUT_DISABLED
|
default MCR20A_CLK_OUT_DISABLED
|
||||||
help
|
help
|
||||||
Configuration of the MCR20A clock output pin.
|
Configuration of the MCR20A clock output pin.
|
||||||
|
|
||||||
config MCR20A_CLK_OUT_DISABLED
|
config MCR20A_CLK_OUT_DISABLED
|
||||||
bool "Disabled"
|
bool "Disabled"
|
||||||
|
@ -105,18 +105,18 @@ config IEEE802154_MCR20A_RX_STACK_SIZE
|
||||||
int "Driver's internal RX thread stack size"
|
int "Driver's internal RX thread stack size"
|
||||||
default 800
|
default 800
|
||||||
help
|
help
|
||||||
This option sets the driver's stack size for its internal RX thread.
|
This option sets the driver's stack size for its internal RX thread.
|
||||||
The default value should be sufficient, but in case it proves to be
|
The default value should be sufficient, but in case it proves to be
|
||||||
a too little one, this option makes it easy to play with the size.
|
a too little one, this option makes it easy to play with the size.
|
||||||
|
|
||||||
config IEEE802154_MCR20A_INIT_PRIO
|
config IEEE802154_MCR20A_INIT_PRIO
|
||||||
int "MCR20A initialization priority"
|
int "MCR20A initialization priority"
|
||||||
default 80
|
default 80
|
||||||
help
|
help
|
||||||
Set the initialization priority number. Do not mess with it unless
|
Set the initialization priority number. Do not mess with it unless
|
||||||
you know what you are doing. Beware mcr20a requires gpio and spi to
|
you know what you are doing. Beware mcr20a requires gpio and spi to
|
||||||
be ready first (and sometime gpio should be the very first as spi
|
be ready first (and sometime gpio should be the very first as spi
|
||||||
might need it too). And of course it has to start before the net stack.
|
might need it too). And of course it has to start before the net stack.
|
||||||
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -18,28 +18,28 @@ config IEEE802154_NRF5_DRV_NAME
|
||||||
string "nRF52 IEEE 802.15.4 Driver's name"
|
string "nRF52 IEEE 802.15.4 Driver's name"
|
||||||
default "IEEE802154_nrf5"
|
default "IEEE802154_nrf5"
|
||||||
help
|
help
|
||||||
This option sets the driver name
|
This option sets the driver name
|
||||||
|
|
||||||
config IEEE802154_NRF5_RX_STACK_SIZE
|
config IEEE802154_NRF5_RX_STACK_SIZE
|
||||||
int "Driver's internal RX thread stack size"
|
int "Driver's internal RX thread stack size"
|
||||||
default 800
|
default 800
|
||||||
help
|
help
|
||||||
This option sets the driver's stack size for its internal RX thread.
|
This option sets the driver's stack size for its internal RX thread.
|
||||||
The default value should be sufficient, but in case it proves to be
|
The default value should be sufficient, but in case it proves to be
|
||||||
a too little one, this option makes it easy to play with the size.
|
a too little one, this option makes it easy to play with the size.
|
||||||
|
|
||||||
config IEEE802154_NRF5_INIT_PRIO
|
config IEEE802154_NRF5_INIT_PRIO
|
||||||
int "nRF52 IEEE 802.15.4 initialization priority"
|
int "nRF52 IEEE 802.15.4 initialization priority"
|
||||||
default 80
|
default 80
|
||||||
help
|
help
|
||||||
Set the initialization priority number. Do not mess with it unless
|
Set the initialization priority number. Do not mess with it unless
|
||||||
you know what you are doing.
|
you know what you are doing.
|
||||||
|
|
||||||
choice IEEE802154_NRF5_CCA_MODE
|
choice IEEE802154_NRF5_CCA_MODE
|
||||||
prompt "nRF52 IEEE 802.15.4 CCA mode"
|
prompt "nRF52 IEEE 802.15.4 CCA mode"
|
||||||
default IEEE802154_NRF5_CCA_MODE_ED
|
default IEEE802154_NRF5_CCA_MODE_ED
|
||||||
help
|
help
|
||||||
CCA mode
|
CCA mode
|
||||||
|
|
||||||
config IEEE802154_NRF5_CCA_MODE_ED
|
config IEEE802154_NRF5_CCA_MODE_ED
|
||||||
bool "Energy Above Threshold"
|
bool "Energy Above Threshold"
|
||||||
|
@ -59,8 +59,8 @@ config IEEE802154_NRF5_CCA_ED_THRESHOLD
|
||||||
int "nRF52 IEEE 802.15.4 CCA Energy Detection threshold"
|
int "nRF52 IEEE 802.15.4 CCA Energy Detection threshold"
|
||||||
default 45
|
default 45
|
||||||
help
|
help
|
||||||
If energy detected in a given channel is above the value then the channel
|
If energy detected in a given channel is above the value then the channel
|
||||||
is deemed busy. The unit is defined as per 802.15.4-2006 spec.
|
is deemed busy. The unit is defined as per 802.15.4-2006 spec.
|
||||||
|
|
||||||
config IEEE802154_NRF5_CCA_CORR_THRESHOLD
|
config IEEE802154_NRF5_CCA_CORR_THRESHOLD
|
||||||
int "nRF52 IEEE 802.15.4 CCA Correlator threshold"
|
int "nRF52 IEEE 802.15.4 CCA Correlator threshold"
|
||||||
|
@ -70,7 +70,7 @@ config IEEE802154_NRF5_CCA_CORR_LIMIT
|
||||||
int "nRF52 IEEE 802.15.4 CCA Correlator limit"
|
int "nRF52 IEEE 802.15.4 CCA Correlator limit"
|
||||||
default 2
|
default 2
|
||||||
help
|
help
|
||||||
Limit for occurrences above correlator threshold. When not equal to zero the
|
Limit for occurrences above correlator threshold. When not equal to zero the
|
||||||
correlator based signal detect is enabled.
|
correlator based signal detect is enabled.
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -11,4 +11,4 @@ menuconfig PINMUX_BEETLE
|
||||||
depends on PINMUX && SOC_SERIES_BEETLE
|
depends on PINMUX && SOC_SERIES_BEETLE
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable driver for ARM V2M Beetle Pin multiplexer.
|
Enable driver for ARM V2M Beetle Pin multiplexer.
|
||||||
|
|
|
@ -11,5 +11,5 @@ menuconfig PINMUX_ESP32
|
||||||
depends on PINMUX && SOC_ESP32
|
depends on PINMUX && SOC_ESP32
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable driver for ESP32 Pin multiplexer.
|
Enable driver for ESP32 Pin multiplexer.
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ menuconfig PINMUX_FE310
|
||||||
depends on PINMUX && SOC_SERIES_RISCV32_FE310
|
depends on PINMUX && SOC_SERIES_RISCV32_FE310
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable driver for the SiFive Freedom E310 SOC pinmux driver
|
Enable driver for the SiFive Freedom E310 SOC pinmux driver
|
||||||
|
|
||||||
if PINMUX_FE310
|
if PINMUX_FE310
|
||||||
|
|
||||||
|
|
|
@ -35,4 +35,4 @@ config PWM_QMSI_API_REENTRANCY
|
||||||
depends on PWM_QMSI
|
depends on PWM_QMSI
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable support for PWM shim driver API reentrancy.
|
Enable support for PWM shim driver API reentrancy.
|
||||||
|
|
|
@ -3,6 +3,6 @@ menuconfig UART_ALTERA_JTAG
|
||||||
default n
|
default n
|
||||||
select SERIAL_HAS_DRIVER
|
select SERIAL_HAS_DRIVER
|
||||||
help
|
help
|
||||||
Enable the Altera JTAG UART driver, built in to many Nios II CPU
|
Enable the Altera JTAG UART driver, built in to many Nios II CPU
|
||||||
designs.
|
designs.
|
||||||
|
|
||||||
|
|
|
@ -4,5 +4,5 @@ menuconfig UART_ESP32
|
||||||
select SERIAL_HAS_DRIVER
|
select SERIAL_HAS_DRIVER
|
||||||
depends on SOC_ESP32
|
depends on SOC_ESP32
|
||||||
help
|
help
|
||||||
Enable the ESP32 UART using ROM routines.
|
Enable the ESP32 UART using ROM routines.
|
||||||
|
|
||||||
|
|
|
@ -11,4 +11,4 @@ menuconfig UART_RISCV_QEMU
|
||||||
default n
|
default n
|
||||||
select SERIAL_HAS_DRIVER
|
select SERIAL_HAS_DRIVER
|
||||||
help
|
help
|
||||||
Enable the riscv-qemu UART driver.
|
Enable the riscv-qemu UART driver.
|
||||||
|
|
|
@ -4,9 +4,9 @@ menuconfig UART_STELLARIS
|
||||||
select SERIAL_HAS_DRIVER
|
select SERIAL_HAS_DRIVER
|
||||||
select SERIAL_SUPPORT_INTERRUPT
|
select SERIAL_SUPPORT_INTERRUPT
|
||||||
help
|
help
|
||||||
This option enables the Stellaris serial driver.
|
This option enables the Stellaris serial driver.
|
||||||
This specific driver can be used for the serial hardware
|
This specific driver can be used for the serial hardware
|
||||||
available at the Texas Instrument LM3S6965 board.
|
available at the Texas Instrument LM3S6965 board.
|
||||||
|
|
||||||
# ---------- Port 0 ----------
|
# ---------- Port 0 ----------
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ menuconfig SPI_MCUX_DSPI
|
||||||
depends on SPI && HAS_MCUX
|
depends on SPI && HAS_MCUX
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable support for mcux spi driver.
|
Enable support for mcux spi driver.
|
||||||
|
|
||||||
if SPI_MCUX_DSPI
|
if SPI_MCUX_DSPI
|
||||||
|
|
||||||
|
@ -20,17 +20,17 @@ config SPI_MCUX_BUF_SIZE
|
||||||
int "Number of bytes in the local buffer"
|
int "Number of bytes in the local buffer"
|
||||||
default 16
|
default 16
|
||||||
help
|
help
|
||||||
The mcux driver requires that the RX and TX buffers are the same
|
The mcux driver requires that the RX and TX buffers are the same
|
||||||
length, however the Zephyr spi interface allows them to be different.
|
length, however the Zephyr spi interface allows them to be different.
|
||||||
When they are different, the mcux shim driver uses a local buffer. This
|
When they are different, the mcux shim driver uses a local buffer. This
|
||||||
option defines the size of the local buffer.
|
option defines the size of the local buffer.
|
||||||
|
|
||||||
config SPI_MCUX_DUMMY_CHAR
|
config SPI_MCUX_DUMMY_CHAR
|
||||||
hex "Dummy character"
|
hex "Dummy character"
|
||||||
default 0x00
|
default 0x00
|
||||||
range 0x00 0xff
|
range 0x00 0xff
|
||||||
help
|
help
|
||||||
This option configures what value to send when the TX buffer length is
|
This option configures what value to send when the TX buffer length is
|
||||||
less than the RX buffer length.
|
less than the RX buffer length.
|
||||||
|
|
||||||
endif # SPI_MCUX_DSPI
|
endif # SPI_MCUX_DSPI
|
||||||
|
|
|
@ -38,7 +38,7 @@ config MBEDTLS_BUILTIN
|
||||||
config MBEDTLS_LIBRARY
|
config MBEDTLS_LIBRARY
|
||||||
bool "Enable mbedTLS external library"
|
bool "Enable mbedTLS external library"
|
||||||
help
|
help
|
||||||
This option enables mbedTLS library.
|
This option enables mbedTLS library.
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
|
|
@ -10,10 +10,10 @@ menuconfig KERNEL_EVENT_LOGGER
|
||||||
default n
|
default n
|
||||||
select RING_BUFFER
|
select RING_BUFFER
|
||||||
help
|
help
|
||||||
This feature enables the usage of the profiling logger. Provides the
|
This feature enables the usage of the profiling logger. Provides the
|
||||||
logging of sleep events (either entering or leaving low power conditions),
|
logging of sleep events (either entering or leaving low power conditions),
|
||||||
context switch events, interrupt events, boot events and a method to
|
context switch events, interrupt events, boot events and a method to
|
||||||
collect these event messages.
|
collect these event messages.
|
||||||
|
|
||||||
if KERNEL_EVENT_LOGGER
|
if KERNEL_EVENT_LOGGER
|
||||||
config KERNEL_EVENT_LOGGER_BUFFER_SIZE
|
config KERNEL_EVENT_LOGGER_BUFFER_SIZE
|
||||||
|
@ -21,25 +21,25 @@ config KERNEL_EVENT_LOGGER_BUFFER_SIZE
|
||||||
prompt "Kernel event logger buffer size"
|
prompt "Kernel event logger buffer size"
|
||||||
default 128
|
default 128
|
||||||
help
|
help
|
||||||
Buffer size in 32-bit words.
|
Buffer size in 32-bit words.
|
||||||
|
|
||||||
config KERNEL_EVENT_LOGGER_DYNAMIC
|
config KERNEL_EVENT_LOGGER_DYNAMIC
|
||||||
bool
|
bool
|
||||||
prompt "Kernel event logger dynamic enabling"
|
prompt "Kernel event logger dynamic enabling"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
If enabled, kernel event logger is not logging any data to the ring buffer
|
If enabled, kernel event logger is not logging any data to the ring buffer
|
||||||
It is up to the application to set the appropriate flags to enable/disable the
|
It is up to the application to set the appropriate flags to enable/disable the
|
||||||
logging of each event type.
|
logging of each event type.
|
||||||
|
|
||||||
config KERNEL_EVENT_LOGGER_CUSTOM_TIMESTAMP
|
config KERNEL_EVENT_LOGGER_CUSTOM_TIMESTAMP
|
||||||
bool
|
bool
|
||||||
prompt "Kernel event logger custom timestamp"
|
prompt "Kernel event logger custom timestamp"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This flag enables the possibility to set the timer function to be used to
|
This flag enables the possibility to set the timer function to be used to
|
||||||
populate kernel event logger timestamp. This has to be done at runtime by
|
populate kernel event logger timestamp. This has to be done at runtime by
|
||||||
calling sys_k_event_logger_set_timer and providing the function callback.
|
calling sys_k_event_logger_set_timer and providing the function callback.
|
||||||
|
|
||||||
menu "Kernel event logging points"
|
menu "Kernel event logging points"
|
||||||
|
|
||||||
|
@ -48,15 +48,15 @@ config KERNEL_EVENT_LOGGER_CONTEXT_SWITCH
|
||||||
prompt "Context switch event logging point"
|
prompt "Context switch event logging point"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable the context switch event messages.
|
Enable the context switch event messages.
|
||||||
|
|
||||||
config KERNEL_EVENT_LOGGER_INTERRUPT
|
config KERNEL_EVENT_LOGGER_INTERRUPT
|
||||||
bool
|
bool
|
||||||
prompt "Interrupt event logging point"
|
prompt "Interrupt event logging point"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable interrupt event messages. These messages provide the following
|
Enable interrupt event messages. These messages provide the following
|
||||||
information: The time when interrupts occur.
|
information: The time when interrupts occur.
|
||||||
|
|
||||||
config KERNEL_EVENT_LOGGER_SLEEP
|
config KERNEL_EVENT_LOGGER_SLEEP
|
||||||
bool
|
bool
|
||||||
|
@ -64,8 +64,8 @@ config KERNEL_EVENT_LOGGER_SLEEP
|
||||||
default n
|
default n
|
||||||
depends on SYS_POWER_MANAGEMENT
|
depends on SYS_POWER_MANAGEMENT
|
||||||
help
|
help
|
||||||
Enable low power condition event messages. These messages provide the
|
Enable low power condition event messages. These messages provide the
|
||||||
following information:
|
following information:
|
||||||
|
|
||||||
- When the CPU went to sleep mode.
|
- When the CPU went to sleep mode.
|
||||||
- When the CPU woke up.
|
- When the CPU woke up.
|
||||||
|
@ -76,15 +76,15 @@ config KERNEL_EVENT_LOGGER_THREAD
|
||||||
prompt "Thread event logging point"
|
prompt "Thread event logging point"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable thread event messages. These messages provide the following
|
Enable thread event messages. These messages provide the following
|
||||||
information:
|
information:
|
||||||
|
|
||||||
- When threads are marked as ready to be executed.
|
- When threads are marked as ready to be executed.
|
||||||
- When threads are marked as pending.
|
- When threads are marked as pending.
|
||||||
- When threads end.
|
- When threads end.
|
||||||
|
|
||||||
Context switching messages should be enabled by enabling the
|
Context switching messages should be enabled by enabling the
|
||||||
CONFIG_KERNEL_EVENT_LOGGER_CONTEXT_SWITCH setting instead.
|
CONFIG_KERNEL_EVENT_LOGGER_CONTEXT_SWITCH setting instead.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
|
@ -10,10 +10,10 @@ menuconfig SYS_POWER_MANAGEMENT
|
||||||
prompt "Power management"
|
prompt "Power management"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This option enables the board to implement extra power management
|
This option enables the board to implement extra power management
|
||||||
policies whenever the kernel becomes idle. The kernel informs the
|
policies whenever the kernel becomes idle. The kernel informs the
|
||||||
power management subsystem of the number of ticks until the next kernel
|
power management subsystem of the number of ticks until the next kernel
|
||||||
timer is due to expire.
|
timer is due to expire.
|
||||||
|
|
||||||
if SYS_POWER_MANAGEMENT
|
if SYS_POWER_MANAGEMENT
|
||||||
config SYS_POWER_LOW_POWER_STATE
|
config SYS_POWER_LOW_POWER_STATE
|
||||||
|
@ -22,11 +22,11 @@ config SYS_POWER_LOW_POWER_STATE
|
||||||
default n
|
default n
|
||||||
depends on SYS_POWER_LOW_POWER_STATE_SUPPORTED
|
depends on SYS_POWER_LOW_POWER_STATE_SUPPORTED
|
||||||
help
|
help
|
||||||
This option enables the kernel to interface with a power manager
|
This option enables the kernel to interface with a power manager
|
||||||
application. This permits the system to enter a custom CPU low power
|
application. This permits the system to enter a custom CPU low power
|
||||||
state when the kernel becomes idle. The low power state could be any of
|
state when the kernel becomes idle. The low power state could be any of
|
||||||
the CPU low power states supported by the processor. Generally the one
|
the CPU low power states supported by the processor. Generally the one
|
||||||
saving most power.
|
saving most power.
|
||||||
|
|
||||||
config SYS_POWER_DEEP_SLEEP
|
config SYS_POWER_DEEP_SLEEP
|
||||||
bool
|
bool
|
||||||
|
@ -34,36 +34,36 @@ config SYS_POWER_DEEP_SLEEP
|
||||||
default n
|
default n
|
||||||
depends on SYS_POWER_DEEP_SLEEP_SUPPORTED
|
depends on SYS_POWER_DEEP_SLEEP_SUPPORTED
|
||||||
help
|
help
|
||||||
This option enables the kernel to interface with a power manager
|
This option enables the kernel to interface with a power manager
|
||||||
application. This permits the system to enter a Deep sleep state
|
application. This permits the system to enter a Deep sleep state
|
||||||
supported by the SOC where the system clock is turned off while RAM is
|
supported by the SOC where the system clock is turned off while RAM is
|
||||||
retained. This state would be entered when the kernel becomes idle for
|
retained. This state would be entered when the kernel becomes idle for
|
||||||
extended periods and would have a high wake latency. Resume would be
|
extended periods and would have a high wake latency. Resume would be
|
||||||
from the reset vector same as cold boot. The interface allows
|
from the reset vector same as cold boot. The interface allows
|
||||||
restoration of states that were saved at the time of suspend.
|
restoration of states that were saved at the time of suspend.
|
||||||
|
|
||||||
config DEVICE_POWER_MANAGEMENT
|
config DEVICE_POWER_MANAGEMENT
|
||||||
bool
|
bool
|
||||||
prompt "Device power management"
|
prompt "Device power management"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This option enables the device power management interface. The
|
This option enables the device power management interface. The
|
||||||
interface consists of hook functions implemented by device drivers
|
interface consists of hook functions implemented by device drivers
|
||||||
that get called by the power manager application when the system
|
that get called by the power manager application when the system
|
||||||
is going to suspend state or resuming from suspend state. This allows
|
is going to suspend state or resuming from suspend state. This allows
|
||||||
device drivers to do any necessary power management operations
|
device drivers to do any necessary power management operations
|
||||||
like turning off device clocks and peripherals. The device drivers
|
like turning off device clocks and peripherals. The device drivers
|
||||||
may also save and restore states in these hook functions.
|
may also save and restore states in these hook functions.
|
||||||
|
|
||||||
config TICKLESS_IDLE
|
config TICKLESS_IDLE
|
||||||
bool
|
bool
|
||||||
prompt "Tickless idle"
|
prompt "Tickless idle"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This option suppresses periodic system clock interrupts whenever the
|
This option suppresses periodic system clock interrupts whenever the
|
||||||
kernel becomes idle. This permits the system to remain in a power
|
kernel becomes idle. This permits the system to remain in a power
|
||||||
saving state for extended periods without having to wake up to
|
saving state for extended periods without having to wake up to
|
||||||
service each tick as it occurs.
|
service each tick as it occurs.
|
||||||
|
|
||||||
config TICKLESS_IDLE_THRESH
|
config TICKLESS_IDLE_THRESH
|
||||||
int
|
int
|
||||||
|
@ -71,10 +71,10 @@ config TICKLESS_IDLE_THRESH
|
||||||
default 3
|
default 3
|
||||||
depends on TICKLESS_IDLE
|
depends on TICKLESS_IDLE
|
||||||
help
|
help
|
||||||
This option enables clock interrupt suppression when the kernel idles
|
This option enables clock interrupt suppression when the kernel idles
|
||||||
for only a short period of time. It specifies the minimum number of
|
for only a short period of time. It specifies the minimum number of
|
||||||
ticks that must occur before the next kernel timer expires in order
|
ticks that must occur before the next kernel timer expires in order
|
||||||
for suppression to happen.
|
for suppression to happen.
|
||||||
|
|
||||||
config TICKLESS_KERNEL
|
config TICKLESS_KERNEL
|
||||||
bool
|
bool
|
||||||
|
@ -82,9 +82,9 @@ config TICKLESS_KERNEL
|
||||||
default n
|
default n
|
||||||
depends on TICKLESS_IDLE
|
depends on TICKLESS_IDLE
|
||||||
help
|
help
|
||||||
This option enables a fully event driven kernel. Periodic system
|
This option enables a fully event driven kernel. Periodic system
|
||||||
clock interrupt generation would be stopped at all times. This option
|
clock interrupt generation would be stopped at all times. This option
|
||||||
requires Tickless Idle option to be enabled.
|
requires Tickless Idle option to be enabled.
|
||||||
|
|
||||||
config TICKLESS_KERNEL_TIME_UNIT_IN_MICRO_SECS
|
config TICKLESS_KERNEL_TIME_UNIT_IN_MICRO_SECS
|
||||||
int
|
int
|
||||||
|
@ -92,24 +92,24 @@ config TICKLESS_KERNEL_TIME_UNIT_IN_MICRO_SECS
|
||||||
default 1000
|
default 1000
|
||||||
depends on TICKLESS_KERNEL
|
depends on TICKLESS_KERNEL
|
||||||
help
|
help
|
||||||
This option makes the system clock and scheduling granularity.
|
This option makes the system clock and scheduling granularity.
|
||||||
The default will be one millisecond. This option also determines
|
The default will be one millisecond. This option also determines
|
||||||
the time unit passed in functions like _sys_soc_suspend. The
|
the time unit passed in functions like _sys_soc_suspend. The
|
||||||
value should be determined based what the timer hardware and driver
|
value should be determined based what the timer hardware and driver
|
||||||
can support. Specifying too small a time unit than what the overall
|
can support. Specifying too small a time unit than what the overall
|
||||||
system speed can support would cause scheduling errors.
|
system speed can support would cause scheduling errors.
|
||||||
|
|
||||||
config BUSY_WAIT_USES_ALTERNATE_CLOCK
|
config BUSY_WAIT_USES_ALTERNATE_CLOCK
|
||||||
bool
|
bool
|
||||||
prompt "Busy wait uses alternate clock in tickless kernel mode"
|
prompt "Busy wait uses alternate clock in tickless kernel mode"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
In tickless kernel mode, the system clock will be stopped when
|
In tickless kernel mode, the system clock will be stopped when
|
||||||
there are no timer events programmed. If the system clock is to
|
there are no timer events programmed. If the system clock is to
|
||||||
be used to keep time e.g. to get a delta of time cycles then it
|
be used to keep time e.g. to get a delta of time cycles then it
|
||||||
needs to be turned on using provided APIs. Some platforms have
|
needs to be turned on using provided APIs. Some platforms have
|
||||||
alternate clocks which can be used instead. In that case this flag
|
alternate clocks which can be used instead. In that case this flag
|
||||||
would be set to true. This flag would be checked before turning
|
would be set to true. This flag would be checked before turning
|
||||||
on the system clock in APIs that do busy wait reading clock
|
on the system clock in APIs that do busy wait reading clock
|
||||||
cycles.
|
cycles.
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -10,8 +10,8 @@ config NET_HOSTNAME_ENABLE
|
||||||
bool "Add hostname to the device"
|
bool "Add hostname to the device"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This is used for example in mDNS to respond to <hostname>.local
|
This is used for example in mDNS to respond to <hostname>.local
|
||||||
mDNS queries.
|
mDNS queries.
|
||||||
|
|
||||||
if NET_HOSTNAME_ENABLE
|
if NET_HOSTNAME_ENABLE
|
||||||
|
|
||||||
|
@ -19,21 +19,21 @@ config NET_HOSTNAME
|
||||||
string "The hostname of this device"
|
string "The hostname of this device"
|
||||||
default "zephyr"
|
default "zephyr"
|
||||||
help
|
help
|
||||||
The string should be a valid hostname.
|
The string should be a valid hostname.
|
||||||
|
|
||||||
config NET_HOSTNAME_UNIQUE
|
config NET_HOSTNAME_UNIQUE
|
||||||
bool "Make hostname unique"
|
bool "Make hostname unique"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This will append link address to hostname to create a unique
|
This will append link address to hostname to create a unique
|
||||||
hostname. For example, zephyr00005e005357 could be the hostname
|
hostname. For example, zephyr00005e005357 could be the hostname
|
||||||
if this setting is enabled.
|
if this setting is enabled.
|
||||||
|
|
||||||
config NET_DEBUG_HOSTNAME
|
config NET_DEBUG_HOSTNAME
|
||||||
bool "Debug hostname configuration"
|
bool "Debug hostname configuration"
|
||||||
default n
|
default n
|
||||||
depends on NET_LOG
|
depends on NET_LOG
|
||||||
help
|
help
|
||||||
Enables hostname configuration functions to output debug messages
|
Enables hostname configuration functions to output debug messages
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -72,8 +72,8 @@ config NET_ROUTING
|
||||||
default n
|
default n
|
||||||
depends on NET_ROUTE
|
depends on NET_ROUTE
|
||||||
help
|
help
|
||||||
Allow IPv6 routing between different network interfaces and
|
Allow IPv6 routing between different network interfaces and
|
||||||
technologies.
|
technologies.
|
||||||
|
|
||||||
config NET_MAX_ROUTES
|
config NET_MAX_ROUTES
|
||||||
int "Max number of routing entries stored."
|
int "Max number of routing entries stored."
|
||||||
|
|
|
@ -11,9 +11,9 @@ menuconfig NET_LOG
|
||||||
default n
|
default n
|
||||||
select SYS_LOG
|
select SYS_LOG
|
||||||
help
|
help
|
||||||
Enable logging in various parts of the network stack.
|
Enable logging in various parts of the network stack.
|
||||||
Specific debugging options to other sub-menus will be unlocked
|
Specific debugging options to other sub-menus will be unlocked
|
||||||
as well (IPv6, IPv4, ...).
|
as well (IPv6, IPv4, ...).
|
||||||
|
|
||||||
if NET_LOG
|
if NET_LOG
|
||||||
|
|
||||||
|
@ -56,72 +56,72 @@ config NET_LOG_GLOBAL
|
||||||
select NET_DEBUG_MGMT_EVENT if NET_MGMT
|
select NET_DEBUG_MGMT_EVENT if NET_MGMT
|
||||||
select NET_DEBUG_MGMT_EVENT_STACK if NET_MGMT_EVENT
|
select NET_DEBUG_MGMT_EVENT_STACK if NET_MGMT_EVENT
|
||||||
help
|
help
|
||||||
By default, logging will apply only on enabled CONFIG_NET_DEBUG_*
|
By default, logging will apply only on enabled CONFIG_NET_DEBUG_*
|
||||||
options, on which CONFIG_SYS_LOG_NET_LEVEL would be applied.
|
options, on which CONFIG_SYS_LOG_NET_LEVEL would be applied.
|
||||||
However, if you want all the network stack logging enabled at once,
|
However, if you want all the network stack logging enabled at once,
|
||||||
use this option. Beware logging takes a lot of ROM/RAM and kills
|
use this option. Beware logging takes a lot of ROM/RAM and kills
|
||||||
execution timing so it can affect your use case.
|
execution timing so it can affect your use case.
|
||||||
|
|
||||||
config NET_DEBUG_CORE
|
config NET_DEBUG_CORE
|
||||||
bool "Debug core IP stack"
|
bool "Debug core IP stack"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enables core network stack code part to output debug messages
|
Enables core network stack code part to output debug messages
|
||||||
|
|
||||||
config NET_DEBUG_IF
|
config NET_DEBUG_IF
|
||||||
bool "Debug network interface code"
|
bool "Debug network interface code"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enables network interface code part to output debug messages
|
Enables network interface code part to output debug messages
|
||||||
|
|
||||||
config NET_DEBUG_UTILS
|
config NET_DEBUG_UTILS
|
||||||
bool "Debug utility functions in IP stack"
|
bool "Debug utility functions in IP stack"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enables utility functions to output debug messages
|
Enables utility functions to output debug messages
|
||||||
|
|
||||||
config NET_DEBUG_CONTEXT
|
config NET_DEBUG_CONTEXT
|
||||||
bool "Debug network context allocation"
|
bool "Debug network context allocation"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enables printing of network context allocations and frees.
|
Enables printing of network context allocations and frees.
|
||||||
|
|
||||||
config NET_DEBUG_NET_PKT
|
config NET_DEBUG_NET_PKT
|
||||||
bool "Debug network packet and buffer allocation"
|
bool "Debug network packet and buffer allocation"
|
||||||
default n
|
default n
|
||||||
select NET_BUF_POOL_USAGE
|
select NET_BUF_POOL_USAGE
|
||||||
help
|
help
|
||||||
Enables collection of network packet and buffer allocations and frees.
|
Enables collection of network packet and buffer allocations and frees.
|
||||||
|
|
||||||
config NET_DEBUG_NET_PKT_ALL
|
config NET_DEBUG_NET_PKT_ALL
|
||||||
bool "Debug network packet and buffer individual allocation"
|
bool "Debug network packet and buffer individual allocation"
|
||||||
default n
|
default n
|
||||||
depends on NET_DEBUG_NET_PKT
|
depends on NET_DEBUG_NET_PKT
|
||||||
help
|
help
|
||||||
Enables printing of network packet and buffer allocations and frees for
|
Enables printing of network packet and buffer allocations and frees for
|
||||||
each allocation. This can produce lot of output so it is disabled by
|
each allocation. This can produce lot of output so it is disabled by
|
||||||
default.
|
default.
|
||||||
|
|
||||||
config NET_DEBUG_NET_PKT_EXTERNALS
|
config NET_DEBUG_NET_PKT_EXTERNALS
|
||||||
int "How many external network packet allocations"
|
int "How many external network packet allocations"
|
||||||
default 0
|
default 0
|
||||||
depends on NET_DEBUG_NET_PKT
|
depends on NET_DEBUG_NET_PKT
|
||||||
help
|
help
|
||||||
How many external net_pkt objects are there in user specific pools.
|
How many external net_pkt objects are there in user specific pools.
|
||||||
This value is used when allocating space for tracking the
|
This value is used when allocating space for tracking the
|
||||||
memory allocations.
|
memory allocations.
|
||||||
|
|
||||||
config NET_DEBUG_CONN
|
config NET_DEBUG_CONN
|
||||||
bool "Debug connection handling"
|
bool "Debug connection handling"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enables connection debug messages
|
Enables connection debug messages
|
||||||
|
|
||||||
config NET_DEBUG_ROUTE
|
config NET_DEBUG_ROUTE
|
||||||
bool "Debug route management"
|
bool "Debug route management"
|
||||||
depends on NET_ROUTE
|
depends on NET_ROUTE
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enables routing engine debug messages
|
Enables routing engine debug messages
|
||||||
|
|
||||||
endif # NET_LOG
|
endif # NET_LOG
|
||||||
|
|
|
@ -10,8 +10,8 @@ menuconfig NET_IPV4
|
||||||
bool "IPv4"
|
bool "IPv4"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable IPv4 support. If this is enabled then the device is
|
Enable IPv4 support. If this is enabled then the device is
|
||||||
able to send and receive IPv4 network packets.
|
able to send and receive IPv4 network packets.
|
||||||
|
|
||||||
if NET_IPV4
|
if NET_IPV4
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ config NET_INITIAL_TTL
|
||||||
int "Initial time to live for a connection"
|
int "Initial time to live for a connection"
|
||||||
default 64
|
default 64
|
||||||
help
|
help
|
||||||
The value should be > 0
|
The value should be > 0
|
||||||
|
|
||||||
config NET_IF_UNICAST_IPV4_ADDR_COUNT
|
config NET_IF_UNICAST_IPV4_ADDR_COUNT
|
||||||
int "Max number of unicast IPv4 addresses per network interface"
|
int "Max number of unicast IPv4 addresses per network interface"
|
||||||
|
@ -40,20 +40,20 @@ config NET_DEBUG_IPV4
|
||||||
bool "Debug core IPv4"
|
bool "Debug core IPv4"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enables core IPv4 code part to output debug messages
|
Enables core IPv4 code part to output debug messages
|
||||||
|
|
||||||
config NET_DEBUG_ICMPV4
|
config NET_DEBUG_ICMPV4
|
||||||
bool "Debug ICMPv4"
|
bool "Debug ICMPv4"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enables ICMPv4 code part to output debug messages
|
Enables ICMPv4 code part to output debug messages
|
||||||
|
|
||||||
config NET_DEBUG_DHCPV4
|
config NET_DEBUG_DHCPV4
|
||||||
bool "Debug DHCPv4 client"
|
bool "Debug DHCPv4 client"
|
||||||
depends on NET_DHCPV4
|
depends on NET_DHCPV4
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable debug diagnostic from DHCPV4 client.
|
Enable debug diagnostic from DHCPV4 client.
|
||||||
|
|
||||||
endif # NET_LOG
|
endif # NET_LOG
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,8 @@ menuconfig NET_IPV6
|
||||||
bool "IPv6"
|
bool "IPv6"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enable IPv6 support. This should be selected by default as there
|
Enable IPv6 support. This should be selected by default as there
|
||||||
is limited set of network bearers provided that support IPv4.
|
is limited set of network bearers provided that support IPv4.
|
||||||
|
|
||||||
if NET_IPV6
|
if NET_IPV6
|
||||||
|
|
||||||
|
@ -31,24 +31,24 @@ config NET_INITIAL_HOP_LIMIT
|
||||||
int "Initial hop limit for a connection"
|
int "Initial hop limit for a connection"
|
||||||
default 64
|
default 64
|
||||||
help
|
help
|
||||||
The value should be > 0
|
The value should be > 0
|
||||||
|
|
||||||
config NET_IPV6_MAX_NEIGHBORS
|
config NET_IPV6_MAX_NEIGHBORS
|
||||||
int "How many IPv6 neighbors are supported"
|
int "How many IPv6 neighbors are supported"
|
||||||
default 8
|
default 8
|
||||||
range 1 254
|
range 1 254
|
||||||
help
|
help
|
||||||
The value depends on your network needs.
|
The value depends on your network needs.
|
||||||
|
|
||||||
config NET_IPV6_FRAGMENT
|
config NET_IPV6_FRAGMENT
|
||||||
bool "Support IPv6 fragmentation"
|
bool "Support IPv6 fragmentation"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
IPv6 fragmentation is disabled by default. This saves memory and
|
IPv6 fragmentation is disabled by default. This saves memory and
|
||||||
should not cause issues normally as we support anyway the minimum
|
should not cause issues normally as we support anyway the minimum
|
||||||
length IPv6 packets (1280 bytes). If you enable fragmentation
|
length IPv6 packets (1280 bytes). If you enable fragmentation
|
||||||
support, please increase amount of RX data buffers so that larger
|
support, please increase amount of RX data buffers so that larger
|
||||||
than 1280 byte packets can be received.
|
than 1280 byte packets can be received.
|
||||||
|
|
||||||
config NET_IPV6_FRAGMENT_MAX_COUNT
|
config NET_IPV6_FRAGMENT_MAX_COUNT
|
||||||
int "How many packets to reassemble at a time"
|
int "How many packets to reassemble at a time"
|
||||||
|
@ -56,10 +56,10 @@ config NET_IPV6_FRAGMENT_MAX_COUNT
|
||||||
default 1
|
default 1
|
||||||
depends on NET_IPV6_FRAGMENT
|
depends on NET_IPV6_FRAGMENT
|
||||||
help
|
help
|
||||||
How many fragmented IPv6 packets can be waiting reassembly
|
How many fragmented IPv6 packets can be waiting reassembly
|
||||||
simultaneously. Each fragment count might use up to 1280 bytes
|
simultaneously. Each fragment count might use up to 1280 bytes
|
||||||
of memory so you need to plan this and increase the network buffer
|
of memory so you need to plan this and increase the network buffer
|
||||||
count.
|
count.
|
||||||
|
|
||||||
config NET_IPV6_FRAGMENT_TIMEOUT
|
config NET_IPV6_FRAGMENT_TIMEOUT
|
||||||
int "How long to wait the fragments to receive"
|
int "How long to wait the fragments to receive"
|
||||||
|
@ -67,65 +67,65 @@ config NET_IPV6_FRAGMENT_TIMEOUT
|
||||||
default 5
|
default 5
|
||||||
depends on NET_IPV6_FRAGMENT
|
depends on NET_IPV6_FRAGMENT
|
||||||
help
|
help
|
||||||
How long to wait for IPv6 fragment to arrive before the reassembly
|
How long to wait for IPv6 fragment to arrive before the reassembly
|
||||||
will timeout. RFC 2460 chapter 4.5 tells to wait for 60 seconds but
|
will timeout. RFC 2460 chapter 4.5 tells to wait for 60 seconds but
|
||||||
this might be too long in memory constrained devices. This value
|
this might be too long in memory constrained devices. This value
|
||||||
is in seconds.
|
is in seconds.
|
||||||
|
|
||||||
config NET_IPV6_MLD
|
config NET_IPV6_MLD
|
||||||
bool "Multicast Listener Discovery support"
|
bool "Multicast Listener Discovery support"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
The value depends on your network needs. MLD should normally
|
The value depends on your network needs. MLD should normally
|
||||||
be active. Currently we support only MLDv2. See RFC 3810 for
|
be active. Currently we support only MLDv2. See RFC 3810 for
|
||||||
details.
|
details.
|
||||||
|
|
||||||
config NET_IPV6_NBR_CACHE
|
config NET_IPV6_NBR_CACHE
|
||||||
bool "Neighbor cache"
|
bool "Neighbor cache"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
The value depends on your network needs. Neighbor cache should
|
The value depends on your network needs. Neighbor cache should
|
||||||
normally be active.
|
normally be active.
|
||||||
|
|
||||||
config NET_IPV6_ND
|
config NET_IPV6_ND
|
||||||
bool "Activate neighbor discovery"
|
bool "Activate neighbor discovery"
|
||||||
depends on NET_IPV6_NBR_CACHE
|
depends on NET_IPV6_NBR_CACHE
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
The value depends on your network needs. ND should normally
|
The value depends on your network needs. ND should normally
|
||||||
be active.
|
be active.
|
||||||
|
|
||||||
config NET_IPV6_DAD
|
config NET_IPV6_DAD
|
||||||
bool "Activate duplicate address detection"
|
bool "Activate duplicate address detection"
|
||||||
depends on NET_IPV6_NBR_CACHE
|
depends on NET_IPV6_NBR_CACHE
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
The value depends on your network needs. DAD should normally
|
The value depends on your network needs. DAD should normally
|
||||||
be active.
|
be active.
|
||||||
|
|
||||||
config NET_IPV6_RA_RDNSS
|
config NET_IPV6_RA_RDNSS
|
||||||
bool "Support RA RDNSS option"
|
bool "Support RA RDNSS option"
|
||||||
depends on NET_IPV6_ND
|
depends on NET_IPV6_ND
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Support Router Advertisement Recursive DNS Server option.
|
Support Router Advertisement Recursive DNS Server option.
|
||||||
See RFC 6106 for details. The value depends on your network needs.
|
See RFC 6106 for details. The value depends on your network needs.
|
||||||
|
|
||||||
config NET_6LO
|
config NET_6LO
|
||||||
bool "Enable 6lowpan IPv6 Compression library"
|
bool "Enable 6lowpan IPv6 Compression library"
|
||||||
default n
|
default n
|
||||||
default y if NET_L2_IEEE802154
|
default y if NET_L2_IEEE802154
|
||||||
help
|
help
|
||||||
6lowpan compression and fragmentation. It is enabled by default
|
6lowpan compression and fragmentation. It is enabled by default
|
||||||
if 802.15.4 is present, since using IPv6 on it requires it.
|
if 802.15.4 is present, since using IPv6 on it requires it.
|
||||||
|
|
||||||
config NET_6LO_CONTEXT
|
config NET_6LO_CONTEXT
|
||||||
bool "Enable 6lowpan context based compression"
|
bool "Enable 6lowpan context based compression"
|
||||||
default n
|
default n
|
||||||
depends on NET_6LO
|
depends on NET_6LO
|
||||||
help
|
help
|
||||||
Enables 6lowpan context based compression based on information
|
Enables 6lowpan context based compression based on information
|
||||||
received in RA(Router Advertisement) message.
|
received in RA(Router Advertisement) message.
|
||||||
|
|
||||||
config NET_MAX_6LO_CONTEXTS
|
config NET_MAX_6LO_CONTEXTS
|
||||||
int "Number of supported 6CO (6lowpan contexts options)"
|
int "Number of supported 6CO (6lowpan contexts options)"
|
||||||
|
@ -133,8 +133,8 @@ config NET_MAX_6LO_CONTEXTS
|
||||||
default 1
|
default 1
|
||||||
range 1 16
|
range 1 16
|
||||||
help
|
help
|
||||||
6lowpan context options table size. The value depends on your
|
6lowpan context options table size. The value depends on your
|
||||||
network and memory consumption. More 6CO options uses more memory.
|
network and memory consumption. More 6CO options uses more memory.
|
||||||
|
|
||||||
config NET_DEBUG_6LO
|
config NET_DEBUG_6LO
|
||||||
bool "Enable 6lowpan debug"
|
bool "Enable 6lowpan debug"
|
||||||
|
@ -146,19 +146,19 @@ config NET_DEBUG_IPV6
|
||||||
bool "Debug core IPv6"
|
bool "Debug core IPv6"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enables core IPv6 code part to output debug messages
|
Enables core IPv6 code part to output debug messages
|
||||||
|
|
||||||
config NET_DEBUG_ICMPV6
|
config NET_DEBUG_ICMPV6
|
||||||
bool "Debug ICMPv6"
|
bool "Debug ICMPv6"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enables ICMPv6 code part to output debug messages
|
Enables ICMPv6 code part to output debug messages
|
||||||
|
|
||||||
config NET_DEBUG_IPV6_NBR_CACHE
|
config NET_DEBUG_IPV6_NBR_CACHE
|
||||||
bool "Debug IPv6 neighbor cache"
|
bool "Debug IPv6 neighbor cache"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enables Neighbor Cache code to output debug messages
|
Enables Neighbor Cache code to output debug messages
|
||||||
|
|
||||||
endif # NET_LOG
|
endif # NET_LOG
|
||||||
|
|
||||||
|
|
|
@ -8,9 +8,9 @@ menuconfig NET_MGMT
|
||||||
bool "Network Management API"
|
bool "Network Management API"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Add support for NM API that enables managing different aspects
|
Add support for NM API that enables managing different aspects
|
||||||
of the network stack as well as receiving notification on network
|
of the network stack as well as receiving notification on network
|
||||||
events (ip address change, iface up and running ...).
|
events (ip address change, iface up and running ...).
|
||||||
|
|
||||||
if NET_MGMT
|
if NET_MGMT
|
||||||
|
|
||||||
|
@ -18,10 +18,10 @@ config NET_MGMT_EVENT
|
||||||
bool "Add support for runtime network event notifications"
|
bool "Add support for runtime network event notifications"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This adds support for the stack to notify events towards any
|
This adds support for the stack to notify events towards any
|
||||||
relevant listener. This can be necessary when application
|
relevant listener. This can be necessary when application
|
||||||
(or else) needs to be notified on a specific network event
|
(or else) needs to be notified on a specific network event
|
||||||
(ip address change for instance) to trigger some related work.
|
(ip address change for instance) to trigger some related work.
|
||||||
|
|
||||||
if NET_MGMT_EVENT
|
if NET_MGMT_EVENT
|
||||||
|
|
||||||
|
@ -29,46 +29,46 @@ config NET_MGMT_EVENT_STACK_SIZE
|
||||||
int "Stack size for the inner thread handling event callbacks"
|
int "Stack size for the inner thread handling event callbacks"
|
||||||
default 512
|
default 512
|
||||||
help
|
help
|
||||||
Set the internal stack size for NM to run registered callbacks
|
Set the internal stack size for NM to run registered callbacks
|
||||||
on events.
|
on events.
|
||||||
|
|
||||||
config NET_MGMT_EVENT_THREAD_PRIO
|
config NET_MGMT_EVENT_THREAD_PRIO
|
||||||
int "Inner thread priority (use with care)"
|
int "Inner thread priority (use with care)"
|
||||||
default 7
|
default 7
|
||||||
help
|
help
|
||||||
Set the network management event core's inner thread priority.
|
Set the network management event core's inner thread priority.
|
||||||
Do not change this unless you know what you are doing.
|
Do not change this unless you know what you are doing.
|
||||||
|
|
||||||
config NET_MGMT_EVENT_QUEUE_SIZE
|
config NET_MGMT_EVENT_QUEUE_SIZE
|
||||||
int "Size of event queue"
|
int "Size of event queue"
|
||||||
default 2
|
default 2
|
||||||
range 1 8
|
range 1 8
|
||||||
help
|
help
|
||||||
Numbers of events which can be queued at same time. Note that if a
|
Numbers of events which can be queued at same time. Note that if a
|
||||||
3rd event comes in, the first will be removed without generating any
|
3rd event comes in, the first will be removed without generating any
|
||||||
notification. Thus the size of this queue has to be tweaked depending
|
notification. Thus the size of this queue has to be tweaked depending
|
||||||
on the load of the system, planned for the usage.
|
on the load of the system, planned for the usage.
|
||||||
|
|
||||||
config NET_MGMT_EVENT_INFO
|
config NET_MGMT_EVENT_INFO
|
||||||
bool "Enable passing information along with an event"
|
bool "Enable passing information along with an event"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Event notifier will be able to provide information to an event,
|
Event notifier will be able to provide information to an event,
|
||||||
and listeners will then be able to get it. Such information depends
|
and listeners will then be able to get it. Such information depends
|
||||||
on the type of event.
|
on the type of event.
|
||||||
|
|
||||||
config NET_DEBUG_MGMT_EVENT
|
config NET_DEBUG_MGMT_EVENT
|
||||||
bool "Enable debug output on Net MGMT event core"
|
bool "Enable debug output on Net MGMT event core"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Add debug messages output on how Net MGMT events are handled.
|
Add debug messages output on how Net MGMT events are handled.
|
||||||
|
|
||||||
config NET_DEBUG_MGMT_EVENT_STACK
|
config NET_DEBUG_MGMT_EVENT_STACK
|
||||||
bool "Enable stack analysis output on Net MGMT event core"
|
bool "Enable stack analysis output on Net MGMT event core"
|
||||||
default n
|
default n
|
||||||
select INIT_STACKS
|
select INIT_STACKS
|
||||||
help
|
help
|
||||||
Add debug messages output on how much Net MGMT event stack is used.
|
Add debug messages output on how much Net MGMT event stack is used.
|
||||||
|
|
||||||
endif # NET_MGMT_EVENT
|
endif # NET_MGMT_EVENT
|
||||||
endif # NET_MGMT
|
endif # NET_MGMT
|
||||||
|
|
|
@ -13,27 +13,27 @@ menuconfig NET_RPL
|
||||||
select NET_IPV6_NBR_CACHE
|
select NET_IPV6_NBR_CACHE
|
||||||
select NET_ROUTE
|
select NET_ROUTE
|
||||||
help
|
help
|
||||||
See RFC 6550 and RFC 6551 for details. Enable this if required by
|
See RFC 6550 and RFC 6551 for details. Enable this if required by
|
||||||
the network needs.
|
the network needs.
|
||||||
|
|
||||||
if NET_RPL
|
if NET_RPL
|
||||||
|
|
||||||
config NET_RPL_PREFIX
|
config NET_RPL_PREFIX
|
||||||
string "Network IPv6 prefix"
|
string "Network IPv6 prefix"
|
||||||
help
|
help
|
||||||
What is the DAG id (prefix) of the RPL network. This is only used
|
What is the DAG id (prefix) of the RPL network. This is only used
|
||||||
if you are creating a root node. You should specify here the full
|
if you are creating a root node. You should specify here the full
|
||||||
IPv6 address as that is used as a root node address.
|
IPv6 address as that is used as a root node address.
|
||||||
Example: 2001:db8::1/64
|
Example: 2001:db8::1/64
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Network type"
|
prompt "Network type"
|
||||||
default NET_RPL_L2_ANY
|
default NET_RPL_L2_ANY
|
||||||
default NET_RPL_L2_IEEE802154 if NET_L2_IEEE802154
|
default NET_RPL_L2_IEEE802154 if NET_L2_IEEE802154
|
||||||
help
|
help
|
||||||
The type of the network that this RPL device is supporting.
|
The type of the network that this RPL device is supporting.
|
||||||
Currently all the nodes in the network need to be the same type
|
Currently all the nodes in the network need to be the same type
|
||||||
like IEEE 802.15.4.
|
like IEEE 802.15.4.
|
||||||
|
|
||||||
config NET_RPL_L2_ANY
|
config NET_RPL_L2_ANY
|
||||||
bool "Any network type"
|
bool "Any network type"
|
||||||
|
@ -46,29 +46,29 @@ choice
|
||||||
prompt "Objective function"
|
prompt "Objective function"
|
||||||
default NET_RPL_MRHOF
|
default NET_RPL_MRHOF
|
||||||
help
|
help
|
||||||
The objective function to use. All RPL nodes in a DODAG
|
The objective function to use. All RPL nodes in a DODAG
|
||||||
must use the same OF.
|
must use the same OF.
|
||||||
The default is MRHOF, see RFC 6719 for details.
|
The default is MRHOF, see RFC 6719 for details.
|
||||||
Other alternative is OF0, see RFC 6552 for details.
|
Other alternative is OF0, see RFC 6552 for details.
|
||||||
|
|
||||||
config NET_RPL_MRHOF
|
config NET_RPL_MRHOF
|
||||||
bool "Minimum Rank with Hysteresis, RFC 6719"
|
bool "Minimum Rank with Hysteresis, RFC 6719"
|
||||||
help
|
help
|
||||||
Choose this (MRHOF) if unsure.
|
Choose this (MRHOF) if unsure.
|
||||||
|
|
||||||
config NET_RPL_OF0
|
config NET_RPL_OF0
|
||||||
bool "OF Zero, RFC 6552"
|
bool "OF Zero, RFC 6552"
|
||||||
help
|
help
|
||||||
Objective function zero (OF0).
|
Objective function zero (OF0).
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Routing Metric"
|
prompt "Routing Metric"
|
||||||
default NET_RPL_MC_NONE
|
default NET_RPL_MC_NONE
|
||||||
help
|
help
|
||||||
The routing metric to use. This must be a valid DAG Metric Container
|
The routing metric to use. This must be a valid DAG Metric Container
|
||||||
Object Type. When MRH OF (RFC6719) is used with ETX, no metric
|
Object Type. When MRH OF (RFC6719) is used with ETX, no metric
|
||||||
container must be used as the rank carries ETX directly.
|
container must be used as the rank carries ETX directly.
|
||||||
|
|
||||||
config NET_RPL_MC_NONE
|
config NET_RPL_MC_NONE
|
||||||
bool "No routing metric"
|
bool "No routing metric"
|
||||||
|
@ -84,17 +84,17 @@ choice
|
||||||
prompt "Mode of operation (MOP)"
|
prompt "Mode of operation (MOP)"
|
||||||
default NET_RPL_MOP2
|
default NET_RPL_MOP2
|
||||||
help
|
help
|
||||||
Mode of operation (MOP) level.
|
Mode of operation (MOP) level.
|
||||||
MOP0 : No Downward routes maintained by RPL
|
MOP0 : No Downward routes maintained by RPL
|
||||||
MOP1 : Non-Storing Mode of Operation
|
MOP1 : Non-Storing Mode of Operation
|
||||||
MOP2 : Storing Mode of Operation with no multicast support
|
MOP2 : Storing Mode of Operation with no multicast support
|
||||||
MOP3 : Storing Mode of Operation with multicast support
|
MOP3 : Storing Mode of Operation with multicast support
|
||||||
See RFC 6550 ch. 6.3.1 figure 15 for details.
|
See RFC 6550 ch. 6.3.1 figure 15 for details.
|
||||||
|
|
||||||
config NET_RPL_MOP2
|
config NET_RPL_MOP2
|
||||||
bool "Storing Mode of Operation with no multicast support"
|
bool "Storing Mode of Operation with no multicast support"
|
||||||
help
|
help
|
||||||
Choose this if unsure.
|
Choose this if unsure.
|
||||||
|
|
||||||
config NET_RPL_MOP3
|
config NET_RPL_MOP3
|
||||||
bool "Storing Mode of Operation with multicast support"
|
bool "Storing Mode of Operation with multicast support"
|
||||||
|
@ -106,86 +106,86 @@ config NET_RPL_PROBING
|
||||||
depends on NET_RPL
|
depends on NET_RPL
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
When enabled, probes will be sent periodically to keep
|
When enabled, probes will be sent periodically to keep
|
||||||
parent link estimates up to date.
|
parent link estimates up to date.
|
||||||
|
|
||||||
config NET_RPL_MAX_INSTANCES
|
config NET_RPL_MAX_INSTANCES
|
||||||
int "Maximum number of RPL instances"
|
int "Maximum number of RPL instances"
|
||||||
depends on NET_RPL
|
depends on NET_RPL
|
||||||
default 1
|
default 1
|
||||||
help
|
help
|
||||||
This determines how many RPL instances to allocate.
|
This determines how many RPL instances to allocate.
|
||||||
|
|
||||||
config NET_RPL_MAX_DAG_PER_INSTANCE
|
config NET_RPL_MAX_DAG_PER_INSTANCE
|
||||||
int "Maximum number of DAGs within an instance"
|
int "Maximum number of DAGs within an instance"
|
||||||
depends on NET_RPL
|
depends on NET_RPL
|
||||||
default 2
|
default 2
|
||||||
help
|
help
|
||||||
This determines how many DAG to allocate within one RPL instance.
|
This determines how many DAG to allocate within one RPL instance.
|
||||||
|
|
||||||
config NET_RPL_MAX_PARENTS
|
config NET_RPL_MAX_PARENTS
|
||||||
int "Maximum number of parents for one node"
|
int "Maximum number of parents for one node"
|
||||||
default NET_IPV6_MAX_NEIGHBORS
|
default NET_IPV6_MAX_NEIGHBORS
|
||||||
help
|
help
|
||||||
This determines how many RPL parents each node can have.
|
This determines how many RPL parents each node can have.
|
||||||
|
|
||||||
config NET_RPL_DAO_SPECIFY_DAG
|
config NET_RPL_DAO_SPECIFY_DAG
|
||||||
bool "Specify DAG when sending a DAO message."
|
bool "Specify DAG when sending a DAO message."
|
||||||
depends on NET_RPL
|
depends on NET_RPL
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This determines whether the DAG is embedded into DAO ICMPv6 message.
|
This determines whether the DAG is embedded into DAO ICMPv6 message.
|
||||||
|
|
||||||
config NET_RPL_DIO_INTERVAL_MIN
|
config NET_RPL_DIO_INTERVAL_MIN
|
||||||
int "DIO interval."
|
int "DIO interval."
|
||||||
depends on NET_RPL
|
depends on NET_RPL
|
||||||
default 12
|
default 12
|
||||||
help
|
help
|
||||||
The DIO interval value n represents 2^n ms.
|
The DIO interval value n represents 2^n ms.
|
||||||
According to the specification, the default value is 3 which
|
According to the specification, the default value is 3 which
|
||||||
means 8 milliseconds. That is far too low when using duty cycling
|
means 8 milliseconds. That is far too low when using duty cycling
|
||||||
with wake-up intervals that are typically hundreds of milliseconds.
|
with wake-up intervals that are typically hundreds of milliseconds.
|
||||||
We thus set the default to 2^12 ms = 4.096 s.
|
We thus set the default to 2^12 ms = 4.096 s.
|
||||||
|
|
||||||
config NET_RPL_DIO_INTERVAL_DOUBLINGS
|
config NET_RPL_DIO_INTERVAL_DOUBLINGS
|
||||||
int "Maximum amount of timer doublings."
|
int "Maximum amount of timer doublings."
|
||||||
depends on NET_RPL
|
depends on NET_RPL
|
||||||
default 8
|
default 8
|
||||||
help
|
help
|
||||||
The maximum interval by default will be 2^(12+8) ms = 1048.576 s.
|
The maximum interval by default will be 2^(12+8) ms = 1048.576 s.
|
||||||
RFC 6550 suggests a default value of 20, which would not be ok
|
RFC 6550 suggests a default value of 20, which would not be ok
|
||||||
when we start with a minimum interval of 2^12.
|
when we start with a minimum interval of 2^12.
|
||||||
|
|
||||||
config NET_RPL_DIO_REDUNDANCY
|
config NET_RPL_DIO_REDUNDANCY
|
||||||
int "DIO redundancy."
|
int "DIO redundancy."
|
||||||
depends on NET_RPL
|
depends on NET_RPL
|
||||||
default 10
|
default 10
|
||||||
help
|
help
|
||||||
RFC 6550 suggests a default value of 10. It is unclear what the basis
|
RFC 6550 suggests a default value of 10. It is unclear what the basis
|
||||||
of this suggestion is. Network operators might attain more efficient
|
of this suggestion is. Network operators might attain more efficient
|
||||||
operation by tuning this parameter for specific deployments.
|
operation by tuning this parameter for specific deployments.
|
||||||
See also RFC 6206.
|
See also RFC 6206.
|
||||||
|
|
||||||
config NET_RPL_DEFAULT_LIFETIME_UNIT
|
config NET_RPL_DEFAULT_LIFETIME_UNIT
|
||||||
int "Default route lifetime unit."
|
int "Default route lifetime unit."
|
||||||
depends on NET_RPL
|
depends on NET_RPL
|
||||||
default 65535
|
default 65535
|
||||||
help
|
help
|
||||||
This is the granularity of time used in RPL lifetime values, in seconds.
|
This is the granularity of time used in RPL lifetime values, in seconds.
|
||||||
|
|
||||||
config NET_RPL_DEFAULT_LIFETIME
|
config NET_RPL_DEFAULT_LIFETIME
|
||||||
int "Default route lifetime."
|
int "Default route lifetime."
|
||||||
depends on NET_RPL
|
depends on NET_RPL
|
||||||
default 255
|
default 255
|
||||||
help
|
help
|
||||||
Default route lifetime as a multiple of the lifetime unit.
|
Default route lifetime as a multiple of the lifetime unit.
|
||||||
|
|
||||||
config NET_RPL_MCAST_LIFETIME
|
config NET_RPL_MCAST_LIFETIME
|
||||||
int "Multicast route lifetime."
|
int "Multicast route lifetime."
|
||||||
depends on NET_RPL_MOP3
|
depends on NET_RPL_MOP3
|
||||||
default 3
|
default 3
|
||||||
help
|
help
|
||||||
Multicast route lifetime as a multiple of the lifetime unit.
|
Multicast route lifetime as a multiple of the lifetime unit.
|
||||||
|
|
||||||
config NET_RPL_MIN_HOP_RANK_INC
|
config NET_RPL_MIN_HOP_RANK_INC
|
||||||
int "Minimum hop rank increment"
|
int "Minimum hop rank increment"
|
||||||
|
@ -197,22 +197,22 @@ config NET_RPL_INIT_LINK_METRIC
|
||||||
depends on NET_RPL
|
depends on NET_RPL
|
||||||
default 1
|
default 1
|
||||||
help
|
help
|
||||||
Initial metric attributed to a link when the ETX is unknown.
|
Initial metric attributed to a link when the ETX is unknown.
|
||||||
|
|
||||||
config NET_RPL_DAO_TIMER
|
config NET_RPL_DAO_TIMER
|
||||||
int "DAO sending timer value"
|
int "DAO sending timer value"
|
||||||
depends on NET_RPL
|
depends on NET_RPL
|
||||||
default 4
|
default 4
|
||||||
help
|
help
|
||||||
How many seconds to wait before sending DAO.
|
How many seconds to wait before sending DAO.
|
||||||
|
|
||||||
config NET_RPL_DAO_ACK
|
config NET_RPL_DAO_ACK
|
||||||
bool "Node expecting DAO ACK"
|
bool "Node expecting DAO ACK"
|
||||||
depends on NET_RPL
|
depends on NET_RPL
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Node expecting DAO ACK for DAO message. Enable if interested
|
Node expecting DAO ACK for DAO message. Enable if interested
|
||||||
in status of DAO message.
|
in status of DAO message.
|
||||||
|
|
||||||
config NET_RPL_DAO_MAX_RETRANSMISSIONS
|
config NET_RPL_DAO_MAX_RETRANSMISSIONS
|
||||||
int "Max DAO retransmissions"
|
int "Max DAO retransmissions"
|
||||||
|
@ -220,9 +220,9 @@ config NET_RPL_DAO_MAX_RETRANSMISSIONS
|
||||||
default 4
|
default 4
|
||||||
range 1 5
|
range 1 5
|
||||||
help
|
help
|
||||||
If NET_RPL_DAO_ACK enabled then node expects DAO ACK message from
|
If NET_RPL_DAO_ACK enabled then node expects DAO ACK message from
|
||||||
the parent. If DAO message is routed through different nodes, ACK
|
the parent. If DAO message is routed through different nodes, ACK
|
||||||
may be lost. So retry sending DAO message for max number of trials.
|
may be lost. So retry sending DAO message for max number of trials.
|
||||||
|
|
||||||
config NET_RPL_PREFERENCE
|
config NET_RPL_PREFERENCE
|
||||||
int "DAG preference field default value"
|
int "DAG preference field default value"
|
||||||
|
@ -234,54 +234,54 @@ config NET_RPL_GROUNDED
|
||||||
depends on NET_RPL
|
depends on NET_RPL
|
||||||
default false
|
default false
|
||||||
help
|
help
|
||||||
A grounded DODAG offers connectivity to hosts that are
|
A grounded DODAG offers connectivity to hosts that are
|
||||||
required for satisfying the application-defined goal. A floating
|
required for satisfying the application-defined goal. A floating
|
||||||
DODAG is not expected to satisfy the goal; in most cases, it only
|
DODAG is not expected to satisfy the goal; in most cases, it only
|
||||||
provides routes to nodes within the DODAG.
|
provides routes to nodes within the DODAG.
|
||||||
|
|
||||||
config NET_RPL_DEFAULT_INSTANCE
|
config NET_RPL_DEFAULT_INSTANCE
|
||||||
hex "Default DAG instance id"
|
hex "Default DAG instance id"
|
||||||
depends on NET_RPL
|
depends on NET_RPL
|
||||||
default 0x1e
|
default 0x1e
|
||||||
help
|
help
|
||||||
This value decides which DAG instance we should participate in
|
This value decides which DAG instance we should participate in
|
||||||
by default.
|
by default.
|
||||||
|
|
||||||
config NET_RPL_INSERT_HBH_OPTION
|
config NET_RPL_INSERT_HBH_OPTION
|
||||||
bool "Add RPL Hop-by-hop ext header to sent UDP packets"
|
bool "Add RPL Hop-by-hop ext header to sent UDP packets"
|
||||||
depends on NET_RPL
|
depends on NET_RPL
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This option control the insertion of the RPL Hop-by-Hop extension
|
This option control the insertion of the RPL Hop-by-Hop extension
|
||||||
header into UDP packets originating from this node.
|
header into UDP packets originating from this node.
|
||||||
|
|
||||||
config NET_RPL_DIS_SEND
|
config NET_RPL_DIS_SEND
|
||||||
bool "Send DIS periodically"
|
bool "Send DIS periodically"
|
||||||
depends on NET_RPL
|
depends on NET_RPL
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enable periodic DODAG Information Solicitation message sending.
|
Enable periodic DODAG Information Solicitation message sending.
|
||||||
|
|
||||||
config NET_RPL_DIS_INTERVAL
|
config NET_RPL_DIS_INTERVAL
|
||||||
int "Default DIS interval"
|
int "Default DIS interval"
|
||||||
depends on NET_RPL_DIS_SEND
|
depends on NET_RPL_DIS_SEND
|
||||||
default 60
|
default 60
|
||||||
help
|
help
|
||||||
This value decides how often DIS messages are sent. The
|
This value decides how often DIS messages are sent. The
|
||||||
value is in seconds.
|
value is in seconds.
|
||||||
|
|
||||||
config NET_STATISTICS_RPL
|
config NET_STATISTICS_RPL
|
||||||
bool "Collect RPL statistics"
|
bool "Collect RPL statistics"
|
||||||
depends on NET_STATISTICS
|
depends on NET_STATISTICS
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Keep track of RPL related statistics
|
Keep track of RPL related statistics
|
||||||
|
|
||||||
config NET_DEBUG_RPL
|
config NET_DEBUG_RPL
|
||||||
bool "Debug RPL"
|
bool "Debug RPL"
|
||||||
default n
|
default n
|
||||||
depends on NET_RPL && NET_LOG
|
depends on NET_RPL && NET_LOG
|
||||||
help
|
help
|
||||||
Enables RPL output debug messages
|
Enables RPL output debug messages
|
||||||
|
|
||||||
endif # NET_RPL
|
endif # NET_RPL
|
||||||
|
|
|
@ -10,7 +10,7 @@ menuconfig NET_STATISTICS
|
||||||
bool "Network statistics"
|
bool "Network statistics"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Manage statistics accounting. This takes memory so say 'n' if unsure.
|
Manage statistics accounting. This takes memory so say 'n' if unsure.
|
||||||
|
|
||||||
if NET_STATISTICS
|
if NET_STATISTICS
|
||||||
|
|
||||||
|
@ -19,72 +19,72 @@ config NET_STATISTICS_USER_API
|
||||||
select NET_MGMT
|
select NET_MGMT
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable this if you need to grab relevant statistics in your code,
|
Enable this if you need to grab relevant statistics in your code,
|
||||||
via calling net_mgmt() with relevant NET_REQUEST_STATS_GET_* command.
|
via calling net_mgmt() with relevant NET_REQUEST_STATS_GET_* command.
|
||||||
|
|
||||||
config NET_STATISTICS_PERIODIC_OUTPUT
|
config NET_STATISTICS_PERIODIC_OUTPUT
|
||||||
bool "Simple periodic output"
|
bool "Simple periodic output"
|
||||||
depends on NET_LOG
|
depends on NET_LOG
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Print out all the statistics periodically through logging.
|
Print out all the statistics periodically through logging.
|
||||||
This is meant for testing mostly.
|
This is meant for testing mostly.
|
||||||
|
|
||||||
config NET_STATISTICS_IPV4
|
config NET_STATISTICS_IPV4
|
||||||
bool "IPv4 statistics"
|
bool "IPv4 statistics"
|
||||||
depends on NET_IPV4
|
depends on NET_IPV4
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Keep track of IPv4 related statistics
|
Keep track of IPv4 related statistics
|
||||||
|
|
||||||
config NET_STATISTICS_IPV6
|
config NET_STATISTICS_IPV6
|
||||||
bool "IPv6 statistics"
|
bool "IPv6 statistics"
|
||||||
depends on NET_IPV6
|
depends on NET_IPV6
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Keep track of IPv6 related statistics
|
Keep track of IPv6 related statistics
|
||||||
|
|
||||||
config NET_STATISTICS_IPV6_ND
|
config NET_STATISTICS_IPV6_ND
|
||||||
bool "IPv6 statistics"
|
bool "IPv6 statistics"
|
||||||
depends on NET_IPV6_ND
|
depends on NET_IPV6_ND
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Keep track of IPv6 Neighbor Discovery related statistics
|
Keep track of IPv6 Neighbor Discovery related statistics
|
||||||
|
|
||||||
config NET_STATISTICS_ICMP
|
config NET_STATISTICS_ICMP
|
||||||
bool "ICMP statistics"
|
bool "ICMP statistics"
|
||||||
depends on NET_IPV6 || NET_IPV4
|
depends on NET_IPV6 || NET_IPV4
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Keep track of ICMPv4/6 related statistics, depending whether IPv4
|
Keep track of ICMPv4/6 related statistics, depending whether IPv4
|
||||||
and/or IPv6 is/are enabled.
|
and/or IPv6 is/are enabled.
|
||||||
|
|
||||||
config NET_STATISTICS_UDP
|
config NET_STATISTICS_UDP
|
||||||
bool "UDP statistics"
|
bool "UDP statistics"
|
||||||
depends on NET_UDP
|
depends on NET_UDP
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Keep track of UDP related statistics
|
Keep track of UDP related statistics
|
||||||
|
|
||||||
config NET_STATISTICS_TCP
|
config NET_STATISTICS_TCP
|
||||||
bool "TCP statistics"
|
bool "TCP statistics"
|
||||||
depends on NET_TCP
|
depends on NET_TCP
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Keep track of TCP related statistics
|
Keep track of TCP related statistics
|
||||||
|
|
||||||
config NET_STATISTICS_RPL
|
config NET_STATISTICS_RPL
|
||||||
bool "RPL statistics"
|
bool "RPL statistics"
|
||||||
depends on NET_RPL
|
depends on NET_RPL
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Keep track of RPL related statistics
|
Keep track of RPL related statistics
|
||||||
|
|
||||||
config NET_STATISTICS_MLD
|
config NET_STATISTICS_MLD
|
||||||
bool "Multicast Listener Discovery (MLD) statistics"
|
bool "Multicast Listener Discovery (MLD) statistics"
|
||||||
depends on NET_IPV6_MLD
|
depends on NET_IPV6_MLD
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Keep track of MLD related statistics
|
Keep track of MLD related statistics
|
||||||
|
|
||||||
endif # NET_STATISTICS
|
endif # NET_STATISTICS
|
||||||
|
|
|
@ -24,7 +24,7 @@ config OPENTHREAD_PLAT
|
||||||
depends on NET_L2_OPENTHREAD
|
depends on NET_L2_OPENTHREAD
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This option enables OpenThread platform
|
This option enables OpenThread platform
|
||||||
|
|
||||||
if OPENTHREAD_PLAT
|
if OPENTHREAD_PLAT
|
||||||
|
|
||||||
|
|
|
@ -86,33 +86,33 @@ config RNDIS_INT_EP_ADDR
|
||||||
default 0x83
|
default 0x83
|
||||||
range 0x81 0x8F
|
range 0x81 0x8F
|
||||||
help
|
help
|
||||||
RNDIS interrupt endpoint address
|
RNDIS interrupt endpoint address
|
||||||
|
|
||||||
config RNDIS_IN_EP_ADDR
|
config RNDIS_IN_EP_ADDR
|
||||||
hex "RNDIS BULK IN Endpoint address"
|
hex "RNDIS BULK IN Endpoint address"
|
||||||
default 0x82
|
default 0x82
|
||||||
range 0x81 0x8F
|
range 0x81 0x8F
|
||||||
help
|
help
|
||||||
RNDIS bulk IN endpoint address
|
RNDIS bulk IN endpoint address
|
||||||
|
|
||||||
config RNDIS_OUT_EP_ADDR
|
config RNDIS_OUT_EP_ADDR
|
||||||
hex "RNDIS BULK OUT Endpoint address"
|
hex "RNDIS BULK OUT Endpoint address"
|
||||||
default 0x01
|
default 0x01
|
||||||
range 0x01 0x0F
|
range 0x01 0x0F
|
||||||
help
|
help
|
||||||
RNDIS bulk OUT endpoint address
|
RNDIS bulk OUT endpoint address
|
||||||
|
|
||||||
config RNDIS_INTERRUPT_EP_MPS
|
config RNDIS_INTERRUPT_EP_MPS
|
||||||
int
|
int
|
||||||
default 16
|
default 16
|
||||||
help
|
help
|
||||||
RNDIS interrupt endpoint size
|
RNDIS interrupt endpoint size
|
||||||
|
|
||||||
config RNDIS_BULK_EP_MPS
|
config RNDIS_BULK_EP_MPS
|
||||||
int
|
int
|
||||||
default 64
|
default 64
|
||||||
help
|
help
|
||||||
RNDIS bulk endpoint size
|
RNDIS bulk endpoint size
|
||||||
|
|
||||||
endif # USB_DEVICE_NETWORK_RNDIS
|
endif # USB_DEVICE_NETWORK_RNDIS
|
||||||
|
|
||||||
|
@ -123,19 +123,19 @@ config SYS_LOG_USB_DEVICE_NETWORK_DEBUG_LEVEL
|
||||||
prompt "USB Device Network debug log level"
|
prompt "USB Device Network debug log level"
|
||||||
default 1
|
default 1
|
||||||
help
|
help
|
||||||
Sets log level for USB Device Network class
|
Sets log level for USB Device Network class
|
||||||
|
|
||||||
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_DEVICE_NETWORK
|
endif # USB_DEVICE_NETWORK
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue