build/Kconfig: fix warnings detected by kconfiglib
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
parent
3a0fdb019d
commit
e942a7c55e
@ -60,7 +60,7 @@ config ARCH_CHIP_A1X
|
||||
select ARCH_HAVE_LOWVECTORS
|
||||
select ARCH_HAVE_FETCHADD
|
||||
select ARCH_HAVE_SDRAM
|
||||
select BOOT_RUNFROMSDRAM
|
||||
depends on BOOT_RUNFROMSDRAM
|
||||
select ARCH_HAVE_ADDRENV
|
||||
select ARCH_NEED_ADDRENV_MAPPING
|
||||
---help---
|
||||
@ -74,7 +74,7 @@ config ARCH_CHIP_AM335X
|
||||
select ARCH_HAVE_LOWVECTORS
|
||||
select ARCH_HAVE_FETCHADD
|
||||
select ARCH_HAVE_SDRAM
|
||||
select BOOT_RUNFROMSDRAM
|
||||
depends on BOOT_RUNFROMSDRAM
|
||||
select ARCH_HAVE_ADDRENV
|
||||
select ARCH_NEED_ADDRENV_MAPPING
|
||||
---help---
|
||||
@ -144,7 +144,7 @@ config ARCH_CHIP_IMX6
|
||||
select ARCH_HAVE_LOWVECTORS
|
||||
select ARCH_HAVE_FETCHADD
|
||||
select ARCH_HAVE_SDRAM
|
||||
select BOOT_RUNFROMSDRAM
|
||||
depends on BOOT_RUNFROMSDRAM
|
||||
select ARCH_HAVE_ADDRENV
|
||||
select ARCH_NEED_ADDRENV_MAPPING
|
||||
---help---
|
||||
@ -1358,7 +1358,7 @@ if ARCH_CHIP_S32K1XX
|
||||
source "arch/arm/src/s32k1xx/Kconfig"
|
||||
endif
|
||||
if ARCH_CHIP_S32K3XX
|
||||
source arch/arm/src/s32k3xx/Kconfig
|
||||
source "arch/arm/src/s32k3xx/Kconfig"
|
||||
endif
|
||||
if ARCH_CHIP_MAX326XX
|
||||
source "arch/arm/src/max326xx/Kconfig"
|
||||
@ -1415,7 +1415,7 @@ if ARCH_CHIP_STM32U5
|
||||
source "arch/arm/src/stm32u5/Kconfig"
|
||||
endif
|
||||
if ARCH_CHIP_STM32WB
|
||||
source arch/arm/src/stm32wb/Kconfig
|
||||
source "arch/arm/src/stm32wb/Kconfig"
|
||||
endif
|
||||
if ARCH_CHIP_STM32WL5
|
||||
source "arch/arm/src/stm32wl5/Kconfig"
|
||||
|
@ -308,14 +308,14 @@ choice
|
||||
config LEUART0_SERIAL_CONSOLE
|
||||
bool "Use LEUART0 as the serial console"
|
||||
depends on EFM32_LEUART0
|
||||
select OTHER_SERIAL_CONSOLE
|
||||
depends on OTHER_SERIAL_CONSOLE
|
||||
---help---
|
||||
Use the LEUART0 device as the serial console
|
||||
|
||||
config LEUART1_SERIAL_CONSOLE
|
||||
bool "Use LEUART1 as the serial console"
|
||||
depends on EFM32_LEUART1
|
||||
select OTHER_SERIAL_CONSOLE
|
||||
depends on OTHER_SERIAL_CONSOLE
|
||||
---help---
|
||||
Use the LEUART0 device as the serial console
|
||||
|
||||
|
@ -181,19 +181,19 @@ choice
|
||||
|
||||
config IMX6_BOOT_OCRAM
|
||||
bool "Running from internal OCRAM"
|
||||
select BOOT_RUNFROMISRAM
|
||||
depends on BOOT_RUNFROMISRAM
|
||||
|
||||
config IMX6_BOOT_SDRAM
|
||||
bool "Running from external SDRAM"
|
||||
select BOOT_RUNFROMSDRAM
|
||||
depends on BOOT_RUNFROMSDRAM
|
||||
|
||||
config IMX6_BOOT_NOR
|
||||
bool "Running from external NOR FLASH"
|
||||
select BOOT_RUNFROMFLASH
|
||||
depends on BOOT_RUNFROMFLASH
|
||||
|
||||
config IMX6_BOOT_SRAM
|
||||
bool "Running from external SRAM"
|
||||
select BOOT_RUNFROMEXTSRAM
|
||||
depends on BOOT_RUNFROMEXTSRAM
|
||||
|
||||
endchoice # i.MX6 Boot Configuration
|
||||
|
||||
|
@ -1776,7 +1776,7 @@ endchoice # i.MX RT Ethernet Interface
|
||||
|
||||
choice
|
||||
prompt "i.MX RT Ethernet TX Clock Source"
|
||||
default IMXRT_PROVIDES_TXC
|
||||
default IMXRT_MAC_PROVIDES_TXC
|
||||
depends on IMXRT_ENET
|
||||
|
||||
config IMXRT_MAC_PROVIDES_TXC
|
||||
@ -1892,21 +1892,21 @@ choice
|
||||
|
||||
config IMXRT_BOOT_OCRAM
|
||||
bool "Running from internal OCRAM"
|
||||
select BOOT_RUNFROMISRAM
|
||||
depends on BOOT_RUNFROMISRAM
|
||||
|
||||
config IMXRT_BOOT_SDRAM
|
||||
bool "Running from external SDRAM"
|
||||
select BOOT_RUNFROMSDRAM
|
||||
depends on BOOT_RUNFROMSDRAM
|
||||
depends on IMXRT_SEMC_SDRAM
|
||||
|
||||
config IMXRT_BOOT_NOR
|
||||
bool "Running from external NOR FLASH"
|
||||
select BOOT_RUNFROMFLASH
|
||||
depends on BOOT_RUNFROMFLASH
|
||||
depends on IMXRT_SEMC_NOR
|
||||
|
||||
config IMXRT_BOOT_SRAM
|
||||
bool "Running from external SRAM"
|
||||
select BOOT_RUNFROMEXTSRAM
|
||||
depends on BOOT_RUNFROMEXTSRAM
|
||||
depends on IMXRT_SEMC_SRAM
|
||||
|
||||
endchoice # i.MX RT Boot Configuration
|
||||
|
@ -664,8 +664,7 @@ menuconfig NRF52_SOFTDEVICE_CONTROLLER
|
||||
select ARMV7M_USEBASEPRI
|
||||
select ARCH_RAMVECTORS
|
||||
select ARCH_IRQPRIO
|
||||
select NRF52_USE_LFCLK
|
||||
select NRF52_LFCLK_XTAL
|
||||
depends on NRF52_LFCLK_XTAL
|
||||
---help---
|
||||
This enables use of Nordic SoftDevice controller
|
||||
(SDC). It is a library version of a subset of
|
||||
|
@ -4415,7 +4415,7 @@ if SAMA5_ADC_PWMTRIG
|
||||
|
||||
choice
|
||||
prompt "PWM Event Line Selection"
|
||||
default SAMA5_ADC_PWMTRIG_LINE0
|
||||
default SAMA5_ADC_PWM_TRIG_LINE0
|
||||
|
||||
config SAMA5_ADC_PWM_TRIG_LINE0
|
||||
bool "PWM event Line 0"
|
||||
|
@ -2760,7 +2760,7 @@ config STM32_CORDIC
|
||||
bool "CORDIC Accelerator"
|
||||
default n
|
||||
depends on STM32_HAVE_CORDIC
|
||||
select MATH_CORDIC_USE_Q31
|
||||
depends on MATH_CORDIC_USE_Q31
|
||||
|
||||
config STM32_BKP
|
||||
bool "BKP"
|
||||
|
@ -63,7 +63,7 @@ menu "Atmel AVR Toolchain options"
|
||||
config AVR_HAS_MEMX_PTR
|
||||
bool "Enable in-flash static const stings"
|
||||
depends on AVR_ATMEL_AVR_TOOLCHAIN
|
||||
select ARCH_DEBUG_H
|
||||
depends on ARCH_DEBUG_H
|
||||
default y
|
||||
---help---
|
||||
Enabling this option (recommended) will place all constant
|
||||
|
@ -62,9 +62,9 @@ config ARCH_CHIP
|
||||
default "bm3823" if ARCH_CHIP_BM3823
|
||||
default "s698pm" if ARCH_CHIP_S698PM
|
||||
|
||||
source arch/sparc/src/sparc_v8/Kconfig
|
||||
source arch/sparc/src/bm3803/Kconfig
|
||||
source arch/sparc/src/bm3823/Kconfig
|
||||
source arch/sparc/src/s698pm/Kconfig
|
||||
source "arch/sparc/src/sparc_v8/Kconfig"
|
||||
source "arch/sparc/src/bm3803/Kconfig"
|
||||
source "arch/sparc/src/bm3823/Kconfig"
|
||||
source "arch/sparc/src/s698pm/Kconfig"
|
||||
|
||||
endif
|
||||
|
@ -88,7 +88,7 @@ endchoice # ZDS-II Toolchain version
|
||||
config EZ80_BOOTLOADER
|
||||
bool
|
||||
default n
|
||||
select BOOT_RUNFROMFLASH
|
||||
depends on BOOT_RUNFROMFLASH
|
||||
---help---
|
||||
Binary image is a bootloader that may require special properties
|
||||
such as re-direction of interrupts (eZ80F92)
|
||||
@ -96,7 +96,7 @@ config EZ80_BOOTLOADER
|
||||
config EZ80_PROGRAM
|
||||
bool
|
||||
default n
|
||||
select BOOT_RUNFROMEXTSRAM
|
||||
depends on BOOT_RUNFROMEXTSRAM
|
||||
---help---
|
||||
Binary image is a RAM-resident program loaded by a bootloader and
|
||||
may require special properties such as re-direction of interrupts
|
||||
|
@ -533,7 +533,7 @@ endmenu
|
||||
|
||||
choice
|
||||
prompt "Serial console"
|
||||
default Z180_NO_SERIAL_CONSOLE
|
||||
default Z180_UART0_SERIAL_CONSOLE
|
||||
depends on DEV_CONSOLE
|
||||
|
||||
config Z180_UART0_SERIAL_CONSOLE
|
||||
|
@ -52,7 +52,7 @@ config Z8_TOOLCHAIN_ZDSII
|
||||
|
||||
choice
|
||||
prompt "ZDS-II Toolchain version"
|
||||
default EZ80_ZDSII_V522
|
||||
default Z8_ZDSII_V522
|
||||
|
||||
config Z8_ZDSII_V500
|
||||
bool "ZDS-II 5.0.0"
|
||||
|
@ -315,9 +315,7 @@ config ARCH_BOARD_TTGO_T5V2_ESP32
|
||||
select LCD
|
||||
select LCD_DEV
|
||||
select LCD_FRAMEBUFFER
|
||||
select LCD_PORTRAIT
|
||||
select LCD_SSD1680
|
||||
select LCD_SSD1680_2_90
|
||||
---help---
|
||||
TTGO T5v2 is an ESP32 board with e-ink 2.9 inch display.
|
||||
Display resolution 128/296. More info:
|
||||
@ -1444,7 +1442,7 @@ config ARCH_BOARD_NUCLEO_F446RE
|
||||
|
||||
|
||||
config ARCH_BOARD_STM32G071B_DISCO
|
||||
bool "STM32G071 STM32G071B-DISO "
|
||||
bool "STM32G071 STM32G071B-DISO"
|
||||
depends on ARCH_CHIP_STM32G071RB
|
||||
select ARCH_HAVE_LEDS
|
||||
---help---
|
||||
@ -1797,7 +1795,6 @@ config ARCH_BOARD_SAMA5D2_XULT
|
||||
config ARCH_BOARD_GIANT_BOARD
|
||||
bool "Groboards Giant Board (SAMA5D27C-D1G)"
|
||||
depends on ARCH_CHIP_ATSAMA5D27
|
||||
select SAMA5D27_GIANT_BOARD_492MHZ
|
||||
select ARCH_HAVE_LEDS
|
||||
---help---
|
||||
This options selects support for NuttX on the Groboards Giant Board,
|
||||
|
@ -36,14 +36,11 @@ config GD32F450ZK_EVAL_CONSOLE_BOARD
|
||||
bool "Eval Com Connector"
|
||||
select GD32_USART0
|
||||
select USART0_SERIALDRIVER
|
||||
select USART0_SERIAL_CONSOLE
|
||||
select GD32F4_FLASH_CONFIG_K
|
||||
|
||||
config GD32F450ZK_EVAL_CONSOLE_VIRTUAL
|
||||
bool "Virtual Comport"
|
||||
select GD32_USART3
|
||||
select USART3_SERIALDRIVER
|
||||
select USART3_SERIAL_CONSOLE
|
||||
|
||||
config GD32F450ZK_EVAL_CONSOLE_NONE
|
||||
bool "No Console"
|
||||
|
@ -7,7 +7,7 @@ if ARCH_BOARD_LX_CPU
|
||||
|
||||
choice
|
||||
prompt "LX_CPU ode and boot memory selection"
|
||||
default LX_CPU_BOOT_APP
|
||||
default LX_CPU_BOOT_FLASH_APP
|
||||
depends on ARCH_BOARD_LX_CPU
|
||||
---help---
|
||||
Select where NuttX code/text is stored and how it is started.
|
||||
|
@ -11,13 +11,13 @@ choice
|
||||
|
||||
config METRO_M4_RUNFROMFLASH
|
||||
bool "Run from FLASH"
|
||||
select BOOT_RUNFROMFLASH
|
||||
depends on BOOT_RUNFROMFLASH
|
||||
---help---
|
||||
This is the normal configuration for building METRO M4 code.
|
||||
|
||||
config METRO_M4_RUNFROMSRAM
|
||||
bool "Run from SRAM"
|
||||
select BOOT_RUNFROMISRAM
|
||||
depends on BOOT_RUNFROMISRAM
|
||||
---help---
|
||||
During early bring-up, it is safer to execute entirely from
|
||||
SRAM until you are confident in the initialization logic.
|
||||
|
@ -11,14 +11,14 @@ choice
|
||||
|
||||
config SAME54_XPLAINED_PRO_RUNFROMFLASH
|
||||
bool "Run from FLASH"
|
||||
select BOOT_RUNFROMFLASH
|
||||
depends on BOOT_RUNFROMFLASH
|
||||
---help---
|
||||
This is the normal configuration for building SAM E54 Xplained
|
||||
Pro code.
|
||||
|
||||
config SAME54_XPLAINED_PRO_RUNFROMSRAM
|
||||
bool "Run from SRAM"
|
||||
select BOOT_RUNFROMISRAM
|
||||
depends on BOOT_RUNFROMISRAM
|
||||
---help---
|
||||
During early bring-up, it is safer to execute entirely from
|
||||
SRAM until you are confident in the initialization logic.
|
||||
|
@ -7,7 +7,7 @@ if ARCH_BOARD_B_G431B_ESC1
|
||||
|
||||
choice
|
||||
prompt "PLL clock source"
|
||||
default BOARD_STM32_BG431BESC1_HSI
|
||||
default BOARD_STM32_BG431BESC1_USE_HSI
|
||||
|
||||
config BOARD_STM32_BG431BESC1_USE_HSI
|
||||
bool "HSI"
|
||||
|
@ -36,13 +36,11 @@ config NUCLEO_F429ZI_CONSOLE_ARDUINO
|
||||
bool "Arduino Connector"
|
||||
select STM32_USART6
|
||||
select USART6_SERIALDRIVER
|
||||
select USART6_SERIAL_CONSOLE
|
||||
|
||||
config NUCLEO_F429ZI_CONSOLE_VIRTUAL
|
||||
bool "Virtual Comport"
|
||||
select STM32_USART3
|
||||
select USART3_SERIALDRIVER
|
||||
select USART3_SERIAL_CONSOLE
|
||||
|
||||
config NUCLEO_F429ZI_CONSOLE_NONE
|
||||
bool "No Console"
|
||||
|
@ -7,7 +7,7 @@ if ARCH_BOARD_NUCLEO_G431RB
|
||||
|
||||
choice
|
||||
prompt "PLL Clock source"
|
||||
default BOARD_NUCLEO_G431RB_HSI
|
||||
default BOARD_NUCLEO_G431RB_USE_HSI
|
||||
|
||||
config BOARD_NUCLEO_G431RB_USE_HSI
|
||||
bool "HSI"
|
||||
|
@ -81,25 +81,21 @@ config NUCLEO_CONSOLE_ARDUINO
|
||||
bool "Arduino Connector"
|
||||
select STM32F7_USART6
|
||||
select USART6_SERIALDRIVER
|
||||
select USART6_SERIAL_CONSOLE
|
||||
|
||||
config NUCLEO_CONSOLE_VIRTUAL
|
||||
bool "Virtual Comport"
|
||||
select STM32F7_USART3
|
||||
select USART3_SERIALDRIVER
|
||||
select USART3_SERIAL_CONSOLE
|
||||
|
||||
config NUCLEO_CONSOLE_MORPHO
|
||||
bool "Morpho Connector"
|
||||
select STM32F7_UART8
|
||||
select UART8_SERIALDRIVER
|
||||
select UART8_SERIAL_CONSOLE
|
||||
|
||||
config NUCLEO_CONSOLE_MORPHO_UART4
|
||||
bool "Morpho Connector UART4"
|
||||
select STM32F7_UART4
|
||||
select UART4_SERIALDRIVER
|
||||
select UART4_SERIAL_CONSOLE
|
||||
|
||||
config NUCLEO_CONSOLE_NONE
|
||||
bool "No Console"
|
||||
|
@ -238,7 +238,7 @@ config ARCH_BOARD_FLASH_PART1_FS
|
||||
|
||||
choice
|
||||
prompt "Filesystem of user partition 1"
|
||||
default ARCH_BOARD_FLASH_PART1_FS_RAW
|
||||
default ARCH_BOARD_FLASH_PART1_FS_RAWFS
|
||||
|
||||
config ARCH_BOARD_FLASH_PART1_FS_RAWFS
|
||||
bool "rawfs"
|
||||
@ -304,7 +304,7 @@ config ARCH_BOARD_FLASH_PART2_FS
|
||||
|
||||
choice
|
||||
prompt "Filesystem of user partition 2"
|
||||
default ARCH_BOARD_FLASH_PART2_FS_RAW
|
||||
default ARCH_BOARD_FLASH_PART2_FS_RAWFS
|
||||
|
||||
config ARCH_BOARD_FLASH_PART2_FS_RAWFS
|
||||
bool "rawfs"
|
||||
@ -347,7 +347,7 @@ config ARCH_BOARD_FLASH_PART3_FS
|
||||
|
||||
choice
|
||||
prompt "Filesystem of user partition 3"
|
||||
default ARCH_BOARD_FLASH_PART3_FS_RAW
|
||||
default ARCH_BOARD_FLASH_PART3_FS_RAWFS
|
||||
|
||||
config ARCH_BOARD_FLASH_PART3_FS_RAWFS
|
||||
bool "rawfs"
|
||||
@ -390,7 +390,7 @@ config ARCH_BOARD_FLASH_PART4_FS
|
||||
|
||||
choice
|
||||
prompt "Filesystem of user partition 4"
|
||||
default ARCH_BOARD_FLASH_PART4_FS_RAW
|
||||
default ARCH_BOARD_FLASH_PART4_FS_RAWFS
|
||||
|
||||
config ARCH_BOARD_FLASH_PART4_FS_RAWFS
|
||||
bool "rawfs"
|
||||
|
@ -75,7 +75,7 @@ endif # TIVA_TIMER32_PERIODIC
|
||||
config TM4C1294_LAUNCHPAD_JUMPERS_CAN
|
||||
bool "Use CAN jumpers configuration"
|
||||
default n
|
||||
select TIVA_UART2
|
||||
depends on TIVA_UART2
|
||||
---help---
|
||||
If set, NuttX will assume the jumpers JP4 and JP5 are set in CAN configuration.
|
||||
This means UART2 will be connected to the ICDI serial port.
|
||||
|
@ -21,7 +21,7 @@ config Z20X_SDBOOT
|
||||
|
||||
config Z20X_W25BOOT
|
||||
bool "W25 boot loader"
|
||||
select Z20X_W25_CHARDEV
|
||||
depends on Z20X_W25_CHARDEV
|
||||
select LIBC_HEX2BIN
|
||||
select EZ80_BOOTLOADER
|
||||
depends on EZ80_SPI && MTD_W25
|
||||
@ -39,14 +39,14 @@ config Z20X_PROGRAM
|
||||
|
||||
config Z20X_STANDALONE
|
||||
bool "Standalone FLASH progroam"
|
||||
select BOOT_RUNFROMFLASH
|
||||
depends on BOOT_RUNFROMFLASH
|
||||
---help---
|
||||
Select this option only to build a small program that executes
|
||||
from z20x FLASH memory.
|
||||
|
||||
config Z20X_COPYTORAM
|
||||
bool "Copy to RAM"
|
||||
select BOOT_RUNFROMEXTSRAM
|
||||
depends on BOOT_RUNFROMEXTSRAM
|
||||
---help---
|
||||
This option is available only when running from external SRAM
|
||||
(CONFIG_BOOT_RUNFROMEXTSRAM). In that case there are two possible
|
||||
|
@ -199,7 +199,7 @@ config TTY_LAUNCH_PRIORITY
|
||||
default INIT_PRIORITY
|
||||
|
||||
config TTY_LAUNCH_STACKSIZE
|
||||
hex "TTY launch program stack size"
|
||||
int "TTY launch program stack size"
|
||||
default INIT_STACKSIZE
|
||||
|
||||
choice
|
||||
|
@ -7,27 +7,22 @@ menuconfig DRIVERS_VIRTIO
|
||||
bool "Virtio Device Support"
|
||||
depends on !OPENAMP
|
||||
default n
|
||||
---help---
|
||||
|
||||
if DRIVERS_VIRTIO
|
||||
menuconfig DRIVERS_VIRTIO_MMIO_NUM
|
||||
int "The number of virtio mmio devices"
|
||||
default 1
|
||||
---help---
|
||||
|
||||
if DRIVERS_VIRTIO_MMIO_NUM != 0
|
||||
menuconfig DRIVERS_VIRTIO_MMIO_BASE
|
||||
hex "Virtio-mmio base address"
|
||||
---help---
|
||||
|
||||
menuconfig DRIVERS_VIRTIO_MMIO_REGSIZE
|
||||
hex "Virtio-mmio register size"
|
||||
default 0
|
||||
---help---
|
||||
|
||||
menuconfig DRIVERS_VIRTIO_MMIO_IRQ
|
||||
int "Virtio-mmio irq number"
|
||||
---help---
|
||||
|
||||
endif
|
||||
|
||||
@ -36,13 +31,11 @@ menuconfig DRIVERS_VIRTIO_NET
|
||||
default n
|
||||
depends on DRIVERS_VIRTIO_MMIO_NUM > 0
|
||||
select ARCH_HAVE_NETDEV_STATISTICS
|
||||
---help---
|
||||
|
||||
if DRIVERS_VIRTIO_NET
|
||||
config DRIVERS_VIRTIO_NET_QUEUE_LEN
|
||||
int "Queue length"
|
||||
default 16
|
||||
---help---
|
||||
|
||||
endif
|
||||
endif
|
||||
|
@ -206,7 +206,7 @@ source "libs/libc/machine/renesas/Kconfig"
|
||||
endif
|
||||
|
||||
if ARCH_SPARC
|
||||
source libs/libc/machine/sparc/Kconfig
|
||||
source "libs/libc/machine/sparc/Kconfig"
|
||||
endif
|
||||
|
||||
endmenu # Architecture-Specific Support
|
||||
|
@ -42,7 +42,6 @@ config NET_USRSOCK_UDP
|
||||
bool "User-space daemon provides UDP sockets"
|
||||
default n
|
||||
select NET_UDP_NO_STACK
|
||||
---help---
|
||||
|
||||
config NET_USRSOCK_TCP
|
||||
bool "User-space daemon provides TCP sockets"
|
||||
|
Loading…
Reference in New Issue
Block a user