kconfig: Global whitespace/consistency cleanup

Clean up space errors and use a consistent style throughout the Kconfig
files. This makes reading the Kconfig files more distraction-free, helps
with grepping, and encourages the same style getting copied around
everywhere (meaning another pass hopefully won't be needed).

Go for the most common style:

 - Indent properties with a single tab, including for choices.

   Properties on choices work exactly the same syntactically as
   properties on symbols, so not sure how the no-indentation thing
   happened.

 - Indent help texts with a tab followed by two spaces

 - Put a space between 'config' and the symbol name, not a tab. This
   also helps when grepping for definitions.

 - Do '# A comment' instead of '#A comment'

I tweaked Kconfiglib a bit to find most of the stuff.

Some help texts were reflowed to 79 columns with 'gq' in Vim as well,
though not all, because I was afraid I'd accidentally mess up
formatting.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-11-01 10:24:07 +01:00 committed by Kumar Gala
commit 975de21858
197 changed files with 657 additions and 658 deletions

View file

@ -71,13 +71,12 @@ source "subsys/logging/Kconfig.template.log_config"
config BIG_ENDIAN config BIG_ENDIAN
bool bool
help help
This option tells the build system that the target system is This option tells the build system that the target system is big-endian.
big-endian. Little-endian architecture is the default and Little-endian architecture is the default and should leave this option
should leave this option unselected. This option is selected unselected. This option is selected by arch/$ARCH/Kconfig,
by arch/$ARCH/Kconfig, soc/**/Kconfig, or boards/**/Kconfig soc/**/Kconfig, or boards/**/Kconfig and the user should generally avoid
and the user should generally avoid modifying it. The option modifying it. The option is used to select linker script OUTPUT_FORMAT
is used to select linker script OUTPUT_FORMAT and command and command line option for gen_isr_tables.py.
line option for gen_isr_tables.py.
config 64BIT config 64BIT
bool bool

View file

@ -65,8 +65,8 @@ config EXTRA_EXCEPTION_INFO
describing what that cause code means. describing what that cause code means.
choice choice
prompt "Global Pointer options" prompt "Global Pointer options"
default GP_GLOBAL default GP_GLOBAL
config GP_NONE config GP_NONE
bool "No global pointer" bool "No global pointer"

View file

@ -17,8 +17,10 @@ config QEMU_TARGET
# Note: $BOARD_DIR might be a glob pattern # Note: $BOARD_DIR might be a glob pattern
choice choice
prompt "Board Selection" prompt "Board Selection"
source "$(BOARD_DIR)/Kconfig.board" source "$(BOARD_DIR)/Kconfig.board"
endchoice endchoice

View file

@ -77,7 +77,7 @@ config VL53L0X_XSHUT_GPIO_DEV_NAME
config VL53L0X_XSHUT_GPIO_PIN_NUM config VL53L0X_XSHUT_GPIO_PIN_NUM
default 6 default 6
endif #VL53L0X endif # VL53L0X
if LSM6DSL if LSM6DSL
@ -107,7 +107,7 @@ config BT_HCI_ACL_FLOW_CONTROL
config BT_HCI_VS_EXT config BT_HCI_VS_EXT
default n default n
endif #BT endif # BT
if WIFI if WIFI
@ -117,6 +117,6 @@ config SPI
config WIFI_ESWIFI config WIFI_ESWIFI
default y default y
endif #WIFI endif # WIFI
endif # BOARD_DISCO_L475_IOT1 endif # BOARD_DISCO_L475_IOT1

View file

@ -99,7 +99,6 @@ if !RTOS_TIMER
# If RTOS timer is not enabled we use ARM Cortex-M # If RTOS timer is not enabled we use ARM Cortex-M
# SYSTICK. SYSTICK frequency is 48MHz divided by # SYSTICK. SYSTICK frequency is 48MHz divided by
# SOC_MEC1501_PROC_CLK_DIV. # SOC_MEC1501_PROC_CLK_DIV.
#
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
default 48000000 default 48000000
@ -117,6 +116,5 @@ config PS2_XEC_0
config PS2_XEC_1 config PS2_XEC_1
default y default y
endif #PS2 endif # PS2
endif # BOARD_MEC1501MODULAR_ASSY6885 endif # BOARD_MEC1501MODULAR_ASSY6885

View file

@ -117,7 +117,7 @@ config PS2_XEC_0
config PS2_XEC_1 config PS2_XEC_1
default y default y
endif #PS2 endif # PS2
if SPI if SPI

View file

@ -15,7 +15,7 @@ config BOARD_HAS_NRF5_BOOTLOADER
bool "Board has nRF5 bootloader" bool "Board has nRF5 bootloader"
default y default y
help help
If selected, applications are linked so that they can be loaded by If selected, applications are linked so that they can be loaded by Nordic
Nordic nRF5 bootloader. nRF5 bootloader.
endif # BOARD_NRF52840_PCA10059 endif # BOARD_NRF52840_PCA10059

View file

@ -10,9 +10,9 @@ config BOARD_NRF52840_GPIO_RESET
bool "Use nRF52840 PCA10090 GPIO reset pin" bool "Use nRF52840 PCA10090 GPIO reset pin"
default y if BT_H4 default y if BT_H4
help help
Use a GPIO pin to reset the nRF52840 controller and let it wait Use a GPIO pin to reset the nRF52840 controller and let it wait until all
until all bytes traveling to the H4 device have been received bytes traveling to the H4 device have been received and drained, thus
and drained, thus ensuring communication can begin correctly. ensuring communication can begin correctly.
if BOARD_NRF52840_GPIO_RESET if BOARD_NRF52840_GPIO_RESET

View file

@ -31,7 +31,7 @@ if PWM
config PWM_STM32_2 config PWM_STM32_2
default y default y
endif #PWM endif # PWM
endif # BOARD_STEVAL_FCU001V1 endif # BOARD_STEVAL_FCU001V1

View file

@ -27,4 +27,4 @@ config BOARD_TWR_KE18F_SPI_1_PCS2
depends on SPI_1 depends on SPI_1
default y default y
endif #BOARD_TWR_KE18F endif # BOARD_TWR_KE18F

View file

@ -72,7 +72,7 @@ config NATIVE_POSIX_CONSOLE
config UART_CONSOLE config UART_CONSOLE
default y if SERIAL default y if SERIAL
endif #CONSOLE endif # CONSOLE
if DISPLAY if DISPLAY

View file

@ -11,8 +11,8 @@ if BOARD_UP_SQUARED
comment "UP Squared Board Options" comment "UP Squared Board Options"
choice choice
prompt "UP Squared SoC variant" prompt "UP Squared SoC variant"
default BOARD_UP_SQUARED_ATOM default BOARD_UP_SQUARED_ATOM
config BOARD_UP_SQUARED_ATOM config BOARD_UP_SQUARED_ATOM
bool "Atom E3940" bool "Atom E3940"

View file

@ -34,4 +34,4 @@ config CAN_NET_INIT_PRIORITY
Note that the priority needs to be lower than the net stack Note that the priority needs to be lower than the net stack
so that it can start before the networking sub-system. so that it can start before the networking sub-system.
endif #CAN_NET endif # CAN_NET

View file

@ -29,7 +29,7 @@ config CLOCK_CONTROL_STM32_DEVICE_INIT_PRIORITY
at default value 1 at default value 1
choice CLOCK_STM32_SYSCLK_SRC choice CLOCK_STM32_SYSCLK_SRC
prompt "STM32 System Clock Source" prompt "STM32 System Clock Source"
config CLOCK_STM32_SYSCLK_SRC_HSE config CLOCK_STM32_SYSCLK_SRC_HSE
bool "HSE" bool "HSE"
@ -87,9 +87,9 @@ config CLOCK_STM32_MSI_RANGE
Range 11: 48 MHz Range 11: 48 MHz
choice choice
prompt "STM32 PLL Clock Source" prompt "STM32 PLL Clock Source"
depends on CLOCK_STM32_SYSCLK_SRC_PLL default CLOCK_STM32_PLL_SRC_HSI
default CLOCK_STM32_PLL_SRC_HSI depends on CLOCK_STM32_SYSCLK_SRC_PLL
config CLOCK_STM32_PLL_SRC_MSI config CLOCK_STM32_PLL_SRC_MSI
bool "MSI" bool "MSI"
@ -190,8 +190,8 @@ endif # !SOC_SERIES_STM32H7X
# Micro-controller Clock output configuration options # Micro-controller Clock output configuration options
choice choice
prompt "STM32 MCO1 Clock Source" prompt "STM32 MCO1 Clock Source"
default CLOCK_STM32_MCO1_SRC_NOCLOCK default CLOCK_STM32_MCO1_SRC_NOCLOCK
config CLOCK_STM32_MCO1_SRC_NOCLOCK config CLOCK_STM32_MCO1_SRC_NOCLOCK
bool "NOCLOCK" bool "NOCLOCK"
@ -233,8 +233,8 @@ config CLOCK_STM32_MCO1_DIV
allowed values: 1, 2, 3, 4, 5 allowed values: 1, 2, 3, 4, 5
choice choice
prompt "STM32 MCO2 Clock Source" prompt "STM32 MCO2 Clock Source"
default CLOCK_STM32_MCO2_SRC_NOCLOCK default CLOCK_STM32_MCO2_SRC_NOCLOCK
config CLOCK_STM32_MCO2_SRC_NOCLOCK config CLOCK_STM32_MCO2_SRC_NOCLOCK
bool "NOCLOCK" bool "NOCLOCK"

View file

@ -25,4 +25,4 @@ config DUMMY_DISPLAY_Y_RES
int "Y resolution for dummy display" int "Y resolution for dummy display"
default 240 default 240
endif #DUMMY_DISPLAY endif # DUMMY_DISPLAY

View file

@ -41,4 +41,4 @@ config ILI9340_RGB565
endchoice endchoice
endif #ILI9340 endif # ILI9340

View file

@ -40,4 +40,4 @@ config SSD1306_REVERSE_MODE
help help
SSD16XX reverse video mode. SSD16XX reverse video mode.
endif #SSD1306 endif # SSD1306

View file

@ -63,6 +63,6 @@ config ST7789V_REVERSE_Y
help help
Address pixels from bottom to top. Address pixels from bottom to top.
endif #ST7789V_RGB565 endif # ST7789V_RGB565
endif #ST7789V endif # ST7789V

View file

@ -58,4 +58,4 @@ config ETH_ENC28J60_0_GPIO_SPI_CS
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.
endif #ETH_ENC28J60 && ETH_ENC28J60_0 endif # ETH_ENC28J60 && ETH_ENC28J60_0

View file

@ -30,6 +30,7 @@ config SOC_FLASH_STM32
select FLASH_HAS_PAGE_LAYOUT if SOC_SERIES_STM32WBX select FLASH_HAS_PAGE_LAYOUT if SOC_SERIES_STM32WBX
select FLASH_HAS_PAGE_LAYOUT if SOC_SERIES_STM32G4X select FLASH_HAS_PAGE_LAYOUT if SOC_SERIES_STM32G4X
help help
Enable STM32F0x, STM32F3x, STM32F4x, STM32F7x, STM32L4x, STM32WBx, STM32G0x or STM32G4x series flash driver. Enable STM32F0x, STM32F3x, STM32F4x, STM32F7x, STM32L4x, STM32WBx,
STM32G0x or STM32G4x series flash driver.
endif endif

View file

@ -45,4 +45,3 @@ config GPIO_XEC_GPIO240_276
Enable GPIO 240-276 or what would be equivalent to Port E Enable GPIO 240-276 or what would be equivalent to Port E
endif # GPIO_XEC endif # GPIO_XEC

View file

@ -117,4 +117,4 @@ endchoice
endif # I2C_3 && !SPI_3 && !(SOC_SERIES_NRF91X && UART_3_NRF_UARTE) endif # I2C_3 && !SPI_3 && !(SOC_SERIES_NRF91X && UART_3_NRF_UARTE)
endif #I2C_NRFX endif # I2C_NRFX

View file

@ -31,4 +31,4 @@ config I2C_XEC_2
This tells the driver to configure the I2C device at boot, depending This tells the driver to configure the I2C device at boot, depending
on the additional configuration options below. on the additional configuration options below.
endif #I2C_XEC endif # I2C_XEC

View file

@ -76,7 +76,7 @@ config IOAPIC_MASK_RTE
when the OS starts up, or a previous boot stage has done some IOAPIC when the OS starts up, or a previous boot stage has done some IOAPIC
configuration that needs to be preserved. configuration that needs to be preserved.
endif #LOAPIC endif # LOAPIC
config ARCV2_INTERRUPT_UNIT config ARCV2_INTERRUPT_UNIT
bool "ARCv2 Interrupt Unit" bool "ARCv2 Interrupt Unit"

View file

@ -25,4 +25,4 @@ config KSCAN_INIT_PRIORITY
help help
Keyboard scan device driver initialization priority. Keyboard scan device driver initialization priority.
endif #KSCAN endif # KSCAN

View file

@ -46,4 +46,4 @@ config KSCAN_XEC_POLL_PERIOD
help help
Defines the poll period in msecs between between matrix scans. Defines the poll period in msecs between between matrix scans.
endif #KSCAN_XEC endif # KSCAN_XEC

View file

@ -56,4 +56,4 @@ config HT16K33_KEYSCAN_POLL_MSEC
Keyscan poll interval in milliseconds. Polling is only used Keyscan poll interval in milliseconds. Polling is only used
if no interrupt line is present. if no interrupt line is present.
endif #HT16K33_KEYSCAN endif # HT16K33_KEYSCAN

View file

@ -87,7 +87,6 @@ config SLIP_TAP
help help
In TAP the Ethernet frames are transferred over SLIP. In TAP the Ethernet frames are transferred over SLIP.
config SLIP_MAC_ADDR config SLIP_MAC_ADDR
string "MAC address for the interface" string "MAC address for the interface"
help help

View file

@ -74,4 +74,3 @@ config PINMUX_XEC_GPIO240_276_NAME
default "port200_276" default "port200_276"
endif # PINMUX_XEC endif # PINMUX_XEC

View file

@ -27,4 +27,4 @@ config PS2_INIT_PRIORITY
There isn't any critical component relying on this priority at There isn't any critical component relying on this priority at
the moment. the moment.
endif #PS2 endif # PS2

View file

@ -23,4 +23,4 @@ config PS2_XEC_1
help help
Enable PS2 1. Enable PS2 1.
endif #PS2_XEC endif # PS2_XEC

View file

@ -69,4 +69,4 @@ config ADT7420_THREAD_STACK_SIZE
help help
Stack size of thread used by the driver to handle interrupts. Stack size of thread used by the driver to handle interrupts.
endif #ADT7420 endif # ADT7420

View file

@ -220,4 +220,4 @@ config ADXL372_THREAD_STACK_SIZE
help help
Stack size of thread used by the driver to handle interrupts. Stack size of thread used by the driver to handle interrupts.
endif #ADXL372 endif # ADXL372

View file

@ -52,4 +52,4 @@ config AMG88XX_THREAD_STACK_SIZE
help help
Stack size of thread used by the driver to handle interrupts. Stack size of thread used by the driver to handle interrupts.
endif #if AMG88XX endif # AMG88XX

View file

@ -78,7 +78,7 @@ config LSM6DSL_EXT0_LPS22HB
endchoice endchoice
endif #LSM6DSL_SENSORHUB endif # LSM6DSL_SENSORHUB
menu "Attributes" menu "Attributes"

View file

@ -98,7 +98,7 @@ config LSM6DSO_EXT_HTS221
config LSM6DSO_EXT_LPS22HB config LSM6DSO_EXT_LPS22HB
bool "Enable LPS22HB as external sensor" bool "Enable LPS22HB as external sensor"
endif #LSM6DSO_SENSORHUB endif # LSM6DSO_SENSORHUB
menu "Attributes" menu "Attributes"

View file

@ -18,7 +18,6 @@ config MCP9808_DEV_NAME
string "MCP9808 device name" string "MCP9808 device name"
default "MCP9808" default "MCP9808"
config MCP9808_I2C_ADDR config MCP9808_I2C_ADDR
hex "MCP9808 I2C slave address" hex "MCP9808 I2C slave address"
default 0x18 default 0x18

View file

@ -97,7 +97,7 @@ config TSC_CYCLES_PER_SEC
value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC will be used instead; value of CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC will be used instead;
many MCUs these values are the same. many MCUs these values are the same.
endif #LOAPIC_TIMER endif # LOAPIC_TIMER
menuconfig ARCV2_TIMER menuconfig ARCV2_TIMER
bool "ARC Timer" bool "ARC Timer"

View file

@ -7,8 +7,8 @@
if SOC_ARC_EMSDP if SOC_ARC_EMSDP
choice choice
prompt "ARC EM Software Development Platform Core Selection" prompt "ARC EM Software Development Platform Core Selection"
default SOC_EMSDP_EM11D default SOC_EMSDP_EM11D
config SOC_EMSDP_EM4 config SOC_EMSDP_EM4
bool "Synopsys ARC EM4 of EMSDP" bool "Synopsys ARC EM4 of EMSDP"
@ -46,4 +46,4 @@ config SOC_EMSDP_EM11D
endchoice endchoice
endif #SOC_ARC_EMSDP endif # SOC_ARC_EMSDP

View file

@ -43,4 +43,4 @@ config ZTEST_STACKSIZE
endif # ZTEST endif # ZTEST
endif #SOC_EMSDP_EM11D endif # SOC_EMSDP_EM11D

View file

@ -43,4 +43,4 @@ config ZTEST_STACKSIZE
endif # ZTEST endif # ZTEST
endif #SOC_EMSDP_EM4 endif # SOC_EMSDP_EM4

View file

@ -43,4 +43,4 @@ config ZTEST_STACKSIZE
endif # ZTEST endif # ZTEST
endif #SOC_EMSDP_EM5D endif # SOC_EMSDP_EM5D

View file

@ -43,4 +43,4 @@ config ZTEST_STACKSIZE
endif # ZTEST endif # ZTEST
endif #SOC_EMSDP_EM6 endif # SOC_EMSDP_EM6

View file

@ -43,4 +43,4 @@ config ZTEST_STACKSIZE
endif # ZTEST endif # ZTEST
endif #SOC_EMSDP_EM7D endif # SOC_EMSDP_EM7D

View file

@ -30,4 +30,4 @@ config CACHE_FLUSHING
config FP_FPU_DA config FP_FPU_DA
default y default y
endif #SOC_EMSDP_EM7D_ESP endif # SOC_EMSDP_EM7D_ESP

View file

@ -43,4 +43,4 @@ config ZTEST_STACKSIZE
endif # ZTEST endif # ZTEST
endif #SOC_EMSDP_EM9D endif # SOC_EMSDP_EM9D

View file

@ -8,8 +8,8 @@
if SOC_EMSK if SOC_EMSK
choice choice
prompt "ARC EM Starter Kit Core Selection" prompt "ARC EM Starter Kit Core Selection"
default SOC_EMSK_EM7D default SOC_EMSK_EM7D
config SOC_EMSK_EM7D config SOC_EMSK_EM7D
bool "Synopsys ARC EM7D of EMSK" bool "Synopsys ARC EM7D of EMSK"
@ -25,4 +25,4 @@ config SOC_EMSK_EM9D
endchoice endchoice
endif #SOC_EMSK endif # SOC_EMSK

View file

@ -14,4 +14,4 @@ source "soc/arc/snps_emsk/Kconfig.defconfig.em7d"
source "soc/arc/snps_emsk/Kconfig.defconfig.em11d" source "soc/arc/snps_emsk/Kconfig.defconfig.em11d"
source "soc/arc/snps_emsk/Kconfig.defconfig.em9d" source "soc/arc/snps_emsk/Kconfig.defconfig.em9d"
endif #SOC_EMSK endif # SOC_EMSK

View file

@ -35,4 +35,4 @@ config CACHE_FLUSHING
config FP_FPU_DA config FP_FPU_DA
default y default y
endif #SOC_EMSK_EM11D endif # SOC_EMSK_EM11D

View file

@ -58,4 +58,4 @@ endif # ZTEST
endif # ARC_MPU_VER endif # ARC_MPU_VER
endif #SOC_EMSK_EM7D endif # SOC_EMSK_EM7D

View file

@ -29,4 +29,4 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
config HARVARD config HARVARD
default y default y
endif #SOC_EMSK_EM9D endif # SOC_EMSK_EM9D

View file

@ -7,8 +7,8 @@
if SOC_NSIM if SOC_NSIM
choice choice
prompt "ARC nSIM SoC Selection" prompt "ARC nSIM SoC Selection"
default SOC_NSIM_EM default SOC_NSIM_EM
config SOC_NSIM_EM config SOC_NSIM_EM
bool "Synopsys ARC EM in nSIM" bool "Synopsys ARC EM in nSIM"
@ -31,4 +31,4 @@ config SOC_NSIM_HS_SMP
endchoice endchoice
endif #SOC_NSIM endif # SOC_NSIM

View file

@ -17,4 +17,4 @@ source "soc/arc/snps_nsim/Kconfig.defconfig.sem"
source "soc/arc/snps_nsim/Kconfig.defconfig.hs" source "soc/arc/snps_nsim/Kconfig.defconfig.hs"
source "soc/arc/snps_nsim/Kconfig.defconfig.hs_smp" source "soc/arc/snps_nsim/Kconfig.defconfig.hs_smp"
endif #SOC_NSIM endif # SOC_NSIM

View file

@ -56,4 +56,4 @@ endif # ZTEST
endif # ARC_MPU_VER endif # ARC_MPU_VER
endif #SOC_NSIM_EM endif # SOC_NSIM_EM

View file

@ -30,4 +30,4 @@ config ARC_FIRQ
config CACHE_FLUSHING config CACHE_FLUSHING
default y default y
endif #SOC_NSIM_HS endif # SOC_NSIM_HS

View file

@ -36,4 +36,4 @@ config ARC_CONNECT
config MP_NUM_CPUS config MP_NUM_CPUS
default 2 default 2
endif #SOC_NSIM_HS_SMP endif # SOC_NSIM_HS_SMP

View file

@ -36,4 +36,4 @@ config ARC_FIRQ
config CACHE_FLUSHING config CACHE_FLUSHING
default y default y
endif #SOC_NSIM_SEM endif # SOC_NSIM_SEM

View file

@ -7,8 +7,8 @@
# #
choice choice
prompt "ARM Beetle SoC" prompt "ARM Beetle SoC"
depends on SOC_SERIES_BEETLE depends on SOC_SERIES_BEETLE
config SOC_BEETLE_R0 config SOC_BEETLE_R0
bool "ARM BEETLE R0" bool "ARM BEETLE R0"

View file

@ -5,8 +5,8 @@
# #
choice choice
prompt "ARM MPS2 SoCs" prompt "ARM MPS2 SoCs"
depends on SOC_SERIES_MPS2 depends on SOC_SERIES_MPS2
config SOC_MPS2_AN385 config SOC_MPS2_AN385
bool "ARM Cortex-M3 SMM on V2M-MPS2 (Application Note AN385)" bool "ARM Cortex-M3 SMM on V2M-MPS2 (Application Note AN385)"

View file

@ -5,8 +5,8 @@
# #
choice choice
prompt "ARM Musca SoCs" prompt "ARM Musca SoCs"
depends on SOC_SERIES_MUSCA depends on SOC_SERIES_MUSCA
config SOC_V2M_MUSCA_A config SOC_V2M_MUSCA_A
bool "ARM Cortex-M33 SMM-SSE-200 on V2M-MUSCA" bool "ARM Cortex-M33 SMM-SSE-200 on V2M-MUSCA"

View file

@ -5,8 +5,8 @@
# #
choice choice
prompt "ARM Musca B1 SoCs" prompt "ARM Musca B1 SoCs"
depends on SOC_SERIES_MUSCA_B1 depends on SOC_SERIES_MUSCA_B1
config SOC_V2M_MUSCA_B1 config SOC_V2M_MUSCA_B1
bool "ARM Cortex-M33 SMM-SSE-200 on V2M-MUSCA-B1" bool "ARM Cortex-M33 SMM-SSE-200 on V2M-MUSCA-B1"

View file

@ -4,8 +4,8 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
choice choice
prompt "Atmel SAMD20 MCU Selection" prompt "Atmel SAMD20 MCU Selection"
depends on SOC_SERIES_SAMD20 depends on SOC_SERIES_SAMD20
config SOC_PART_NUMBER_SAMD20E14 config SOC_PART_NUMBER_SAMD20E14
bool "SAMD20E14" bool "SAMD20E14"

View file

@ -4,8 +4,8 @@
# 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"

View file

@ -4,8 +4,8 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
choice choice
prompt "Atmel SAMR21 MCU Selection" prompt "Atmel SAMR21 MCU Selection"
depends on SOC_SERIES_SAMR21 depends on SOC_SERIES_SAMR21
config SOC_PART_NUMBER_SAMR21E16A config SOC_PART_NUMBER_SAMR21E16A
bool "SAMR21E16A" bool "SAMR21E16A"

View file

@ -5,8 +5,8 @@
# #
choice choice
prompt "Cypress PSoC6 MCU Selection" prompt "Cypress PSoC6 MCU Selection"
depends on SOC_SERIES_PSOC62 depends on SOC_SERIES_PSOC62
config SOC_PSOC6_M0 config SOC_PSOC6_M0
bool "SOC_PSOC6_M0" bool "SOC_PSOC6_M0"

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "Cypress PSoC6 MCU Selection" prompt "Cypress PSoC6 MCU Selection"
depends on SOC_SERIES_PSOC62 depends on SOC_SERIES_PSOC62
config SOC_PART_NUMBER_CY8C6247BZI_D54 config SOC_PART_NUMBER_CY8C6247BZI_D54
bool "CY8C6247BZI_D54" bool "CY8C6247BZI_D54"

View file

@ -7,8 +7,8 @@
# #
choice choice
prompt "MEC1501 Selection" prompt "MEC1501 Selection"
depends on SOC_SERIES_MEC1501X depends on SOC_SERIES_MEC1501X
config SOC_MEC1501_HSZ config SOC_MEC1501_HSZ
bool "MEC1501_HSZ" bool "MEC1501_HSZ"

View file

@ -7,8 +7,8 @@
# #
choice choice
prompt "MEC1701 Selection" prompt "MEC1701 Selection"
depends on SOC_SERIES_MEC1701X depends on SOC_SERIES_MEC1701X
config SOC_MEC1701_QSZ config SOC_MEC1701_QSZ
bool "MEC1701_QSZ" bool "MEC1701_QSZ"

View file

@ -9,13 +9,15 @@ if SOC_FAMILY_NRF
source "soc/arm/nordic_nrf/*/Kconfig.defconfig.series" source "soc/arm/nordic_nrf/*/Kconfig.defconfig.series"
if SYS_CLOCK_EXISTS
# If the kernel has timer support, enable both clock control and timer # If the kernel has timer support, enable both clock control and timer
if SYS_CLOCK_EXISTS
config CLOCK_CONTROL config CLOCK_CONTROL
default y default y
config NRF_RTC_TIMER config NRF_RTC_TIMER
default y default y
endif # SYS_CLOCK_EXISTS endif # SYS_CLOCK_EXISTS
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "nRF51x MCU Selection" prompt "nRF51x MCU Selection"
depends on SOC_SERIES_NRF51X depends on SOC_SERIES_NRF51X
config SOC_NRF51822_QFAA config SOC_NRF51822_QFAA
bool "NRF51822_QFAA" bool "NRF51822_QFAA"

View file

@ -231,8 +231,8 @@ config SOC_NRF52840
select HAS_HW_NRF_WDT select HAS_HW_NRF_WDT
choice choice
prompt "nRF52x MCU Selection" prompt "nRF52x MCU Selection"
depends on SOC_SERIES_NRF52X depends on SOC_SERIES_NRF52X
config SOC_NRF52810_QFAA config SOC_NRF52810_QFAA
bool "NRF52810_QFAA" bool "NRF52810_QFAA"

View file

@ -57,7 +57,7 @@ config SOC_NRF9160
select HAS_HW_NRF_WDT select HAS_HW_NRF_WDT
choice choice
prompt "nRF91x MCU Selection" prompt "nRF91x MCU Selection"
depends on SOC_SERIES_NRF91X depends on SOC_SERIES_NRF91X
config SOC_NRF9160_SICA config SOC_NRF9160_SICA

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "i.MX 6SoloX Selection" prompt "i.MX 6SoloX Selection"
depends on SOC_SERIES_IMX_6X_M4 depends on SOC_SERIES_IMX_6X_M4
config SOC_MCIMX6X_M4 config SOC_MCIMX6X_M4
bool "SOC_MCIMX6X_M4" bool "SOC_MCIMX6X_M4"

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "i.MX7 M4 Selection" prompt "i.MX7 M4 Selection"
depends on SOC_SERIES_IMX7_M4 depends on SOC_SERIES_IMX7_M4
config SOC_MCIMX7_M4 config SOC_MCIMX7_M4
bool "SOC_MCIMX7_M4" bool "SOC_MCIMX7_M4"

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "i.MX RT Selection" prompt "i.MX RT Selection"
depends on SOC_SERIES_IMX_RT depends on SOC_SERIES_IMX_RT
config SOC_MIMXRT1015 config SOC_MIMXRT1015
bool "SOC_MIMXRT1015" bool "SOC_MIMXRT1015"

View file

@ -8,8 +8,8 @@
# #
choice choice
prompt "Kinetis K2x MCU Selection" prompt "Kinetis K2x MCU Selection"
depends on SOC_SERIES_KINETIS_K2X depends on SOC_SERIES_KINETIS_K2X
config SOC_MK22F51212 config SOC_MK22F51212
bool "SOC_MK22F51212" bool "SOC_MK22F51212"

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "Kinetis K6x MCU Selection" prompt "Kinetis K6x MCU Selection"
depends on SOC_SERIES_KINETIS_K6X depends on SOC_SERIES_KINETIS_K6X
config SOC_MK64F12 config SOC_MK64F12
bool "SOC_MK64F12" bool "SOC_MK64F12"

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "Kinetis KL2x MCU Selection" prompt "Kinetis KL2x MCU Selection"
depends on SOC_SERIES_KINETIS_KL2X depends on SOC_SERIES_KINETIS_KL2X
config SOC_MKL25Z4 config SOC_MKL25Z4
bool "SOC_MKL25Z4" bool "SOC_MKL25Z4"

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "Kinetis KWx MCU Selection" prompt "Kinetis KWx MCU Selection"
depends on SOC_SERIES_KINETIS_KWX depends on SOC_SERIES_KINETIS_KWX
config SOC_MKW22D5 config SOC_MKW22D5
bool "SOC_MKW22D5" bool "SOC_MKW22D5"

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "LPC LPC54XXX MCU Selection" prompt "LPC LPC54XXX MCU Selection"
depends on SOC_SERIES_LPC54XXX depends on SOC_SERIES_LPC54XXX
config SOC_LPC54114_M4 config SOC_LPC54114_M4
bool "SOC_LPC54114_M4" bool "SOC_LPC54114_M4"

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "LPC5500 Series MCU Selection" prompt "LPC5500 Series MCU Selection"
depends on SOC_SERIES_LPC55XXX depends on SOC_SERIES_LPC55XXX
config SOC_LPC55S69_CPU0 config SOC_LPC55S69_CPU0
bool "SOC_LPC55S69 M33 [CPU 0]" bool "SOC_LPC55S69 M33 [CPU 0]"

View file

@ -18,14 +18,14 @@ if CLOCK_CONTROL
config CLOCK_CONTROL_STM32_CUBE config CLOCK_CONTROL_STM32_CUBE
default y default y
endif #CLOCK_CONTROL endif # CLOCK_CONTROL
if SERIAL if SERIAL
config UART_STM32 config UART_STM32
default y default y
endif #SERIAL endif # SERIAL
if GPIO if GPIO
@ -41,14 +41,14 @@ config GPIO_STM32_PORTB
config GPIO_STM32_PORTC config GPIO_STM32_PORTC
default y default y
endif #GPIO endif # GPIO
if PINMUX if PINMUX
config PINMUX_STM32 config PINMUX_STM32
default y default y
endif #PINMUX endif # PINMUX
if WATCHDOG if WATCHDOG

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "STM32F0x MCU Selection" prompt "STM32F0x MCU Selection"
depends on SOC_SERIES_STM32F0X depends on SOC_SERIES_STM32F0X
config SOC_STM32F030X4 config SOC_STM32F030X4
bool "STM32F030X4" bool "STM32F030X4"

View file

@ -7,8 +7,8 @@
# #
choice choice
prompt "STM32F1x MCU Selection" prompt "STM32F1x MCU Selection"
depends on SOC_SERIES_STM32F1X depends on SOC_SERIES_STM32F1X
config SOC_STM32F103XE config SOC_STM32F103XE
bool "STM32F103XE" bool "STM32F103XE"

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "STM32F2X MCU Selection" prompt "STM32F2X MCU Selection"
depends on SOC_SERIES_STM32F2X depends on SOC_SERIES_STM32F2X
config SOC_STM32F207XX config SOC_STM32F207XX
bool "STM32F207XX" bool "STM32F207XX"

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "STM32F3x MCU Selection" prompt "STM32F3x MCU Selection"
depends on SOC_SERIES_STM32F3X depends on SOC_SERIES_STM32F3X
config SOC_STM32F302X8 config SOC_STM32F302X8
bool "STM32F302X8" bool "STM32F302X8"

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "STM32F4x MCU Selection" prompt "STM32F4x MCU Selection"
depends on SOC_SERIES_STM32F4X depends on SOC_SERIES_STM32F4X
config SOC_STM32F401XC config SOC_STM32F401XC
bool "STM32F401XC" bool "STM32F401XC"

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "STM32F7x MCU Selection" prompt "STM32F7x MCU Selection"
depends on SOC_SERIES_STM32F7X depends on SOC_SERIES_STM32F7X
config SOC_STM32F723XX config SOC_STM32F723XX
bool "STM32F723XX" bool "STM32F723XX"

View file

@ -7,11 +7,10 @@
# #
choice choice
prompt "STM32G0x MCU Selection" prompt "STM32G0x MCU Selection"
depends on SOC_SERIES_STM32G0X depends on SOC_SERIES_STM32G0X
config SOC_STM32G071XX config SOC_STM32G071XX
bool "STM32G071XX" bool "STM32G071XX"
endchoice endchoice

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "STM32G4x MCU Selection" prompt "STM32G4x MCU Selection"
depends on SOC_SERIES_STM32G4X depends on SOC_SERIES_STM32G4X
config SOC_STM32G431XX config SOC_STM32G431XX
bool "STM32G431XX" bool "STM32G431XX"

View file

@ -21,8 +21,8 @@ config STM32H7_DUAL_CORE
depends on SOC_SERIES_STM32H7X depends on SOC_SERIES_STM32H7X
choice STM32H7_DUAL_CORE_BOOT choice STM32H7_DUAL_CORE_BOOT
prompt "STM32H7x Boot type selection" prompt "STM32H7x Boot type selection"
depends on STM32H7_DUAL_CORE depends on STM32H7_DUAL_CORE
config STM32H7_BOOT_CM4_CM7 config STM32H7_BOOT_CM4_CM7
bool "Boot both CM4 and CM7" bool "Boot both CM4 and CM7"

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "STM32H7x MCU Selection" prompt "STM32H7x MCU Selection"
depends on SOC_SERIES_STM32H7X depends on SOC_SERIES_STM32H7X
config SOC_STM32H747XX config SOC_STM32H747XX
bool "STM32H747XX" bool "STM32H747XX"

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "STM32L0x MCU Selection" prompt "STM32L0x MCU Selection"
depends on SOC_SERIES_STM32L0X depends on SOC_SERIES_STM32L0X
config SOC_STM32L053XX config SOC_STM32L053XX
bool "STM32L053XX" bool "STM32L053XX"

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "STM32L1x MCU Selection" prompt "STM32L1x MCU Selection"
depends on SOC_SERIES_STM32L1X depends on SOC_SERIES_STM32L1X
config SOC_STM32L151X8A config SOC_STM32L151X8A
bool "STM32L151X8A" bool "STM32L151X8A"

View file

@ -9,8 +9,8 @@
# #
choice choice
prompt "STM32L4x MCU Selection" prompt "STM32L4x MCU Selection"
depends on SOC_SERIES_STM32L4X depends on SOC_SERIES_STM32L4X
config SOC_STM32L476XX config SOC_STM32L476XX
bool "STM32L476X" bool "STM32L476X"

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "STM32MP1 MPU Selection" prompt "STM32MP1 MPU Selection"
depends on SOC_SERIES_STM32MP1X depends on SOC_SERIES_STM32MP1X
config SOC_STM32MP15_M4 config SOC_STM32MP15_M4
bool "STM32MP15_M4" bool "STM32MP15_M4"

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "TI SimpleLink MCU Selection" prompt "TI SimpleLink MCU Selection"
depends on SOC_SERIES_CC13X2_CC26X2 depends on SOC_SERIES_CC13X2_CC26X2
config SOC_CC2652R config SOC_CC2652R
bool "CC2652R" bool "CC2652R"

View file

@ -4,8 +4,8 @@
# #
choice choice
prompt "TI SimpleLink MCU Selection" prompt "TI SimpleLink MCU Selection"
depends on SOC_SERIES_CC2650 depends on SOC_SERIES_CC2650
config SOC_CC2650 config SOC_CC2650
bool "CC2650" bool "CC2650"

View file

@ -4,8 +4,8 @@
# #
choice choice
prompt "TI SimpleLink MCU Selection" prompt "TI SimpleLink MCU Selection"
depends on SOC_SERIES_CC32XX depends on SOC_SERIES_CC32XX
config SOC_CC3220SF config SOC_CC3220SF
bool "CC3220SF" bool "CC3220SF"

View file

@ -6,8 +6,8 @@
# #
choice choice
prompt "TI SimpleLink MCU Selection" prompt "TI SimpleLink MCU Selection"
depends on SOC_SERIES_MSP432P4XX depends on SOC_SERIES_MSP432P4XX
config SOC_MSP432P401R config SOC_MSP432P401R
bool "MSP432P401R" bool "MSP432P401R"

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