9
0
Fork 0

Kconfig update

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4927 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2012-07-10 22:27:51 +00:00
parent de424457b2
commit bb44062429
3 changed files with 563 additions and 22 deletions

View File

@ -113,6 +113,7 @@ config ARCH_CHIP
default "lpc214x" if ARCH_CHIP_LPC214X
default "lpc2378" if ARCH_CHIP_LPC2378
default "lpc31xx" if ARCH_CHIP_LPC31XX
default "lpc43xx" if ARCH_CHIP_LPC43XX
default "sam3u" if ARCH_CHIP_SAM3U
default "stm32" if ARCH_CHIP_STM32
default "str71x" if ARCH_CHIP_STR71X
@ -159,19 +160,47 @@ config ARCH_CALIBRATION
watch to measure the 100 second delay then adjust ARCH_LOOPSPERMSEC until
the delay actually is 100 seconds.
if ARCH_CHIP_C5471
source arch/arm/src/c5471/Kconfig
endif
if ARCH_CHIP_CALYPSO
source arch/arm/src/calypso/Kconfig
endif
if ARCH_CHIP_DM320
source arch/arm/src/dm320/Kconfig
endif
if ARCH_CHIP_IMX
source arch/arm/src/imx/Kconfig
endif
if ARCH_CHIP_KINETIS
source arch/arm/src/kinetis/Kconfig
endif
if ARCH_CHIP_LM3S
source arch/arm/src/lm3s/Kconfig
endif
if ARCH_CHIP_LPC17XX
source arch/arm/src/lpc17xx/Kconfig
endif
if ARCH_CHIP_LPC214X
source arch/arm/src/lpc214x/Kconfig
endif
if ARCH_CHIP_LPC2378
source arch/arm/src/lpc2378/Kconfig
endif
if ARCH_CHIP_LPC31XX
source arch/arm/src/lpc31xx/Kconfig
endif
if ARCH_CHIP_LPC43XX
source arch/arm/src/lpc43xx/Kconfig
endif
if ARCH_CHIP_SAM3U
source arch/arm/src/sam3u/Kconfig
endif
if ARCH_CHIP_STM32
source arch/arm/src/stm32/Kconfig
endif
if ARCH_CHIP_STR71X
source arch/arm/src/str71x/Kconfig
endif
endif

View File

@ -9,55 +9,55 @@ choice
depends on ARCH_CHIP_LPC43XX
config ARCH_CHIP_LPC4310FBD144
bool "LPC4310FBD144
bool "LPC4310FBD144"
config ARCH_CHIP_LPC4310FET100
bool "LPC4310FET100
bool "LPC4310FET100"
config ARCH_CHIP_LPC4320FBD144
bool "LPC4320FBD144
bool "LPC4320FBD144"
config ARCH_CHIP_LPC4320FET100
bool "LPC4320FET100
bool "LPC4320FET100"
config ARCH_CHIP_LPC4330FBD144
bool "LPC4330FBD144
bool "LPC4330FBD144"
config ARCH_CHIP_LPC4330FET100
bool "LPC4330FET100
bool "LPC4330FET100"
config ARCH_CHIP_LPC4330FET180
bool "LPC4330FET180
bool "LPC4330FET180"
config ARCH_CHIP_LPC4330FET256
bool "LPC4330FET256
bool "LPC4330FET256"
config ARCH_CHIP_LPC4350FBD208
bool "LPC4350FBD208
bool "LPC4350FBD208"
config ARCH_CHIP_LPC4350FET180
bool "LPC4350FET180
bool "LPC4350FET180"
config ARCH_CHIP_LPC4350FET256
bool "LPC4350FET256
bool "LPC4350FET256"
config ARCH_CHIP_LPC4353FBD208
bool "LPC4353FBD208
bool "LPC4353FBD208"
config ARCH_CHIP_LPC4353FET180
bool "LPC4353FET180
bool "LPC4353FET180"
config ARCH_CHIP_LPC4353FET256
bool "LPC4353FET256
bool "LPC4353FET256"
config ARCH_CHIP_LPC4357FET180
bool "LPC4357FET180
bool "LPC4357FET180"
config ARCH_CHIP_LPC4357FBD208
bool "LPC4357FBD208
bool "LPC4357FBD208"
config ARCH_CHIP_LPC4357FET256
bool "LPC4357FET256
bool "LPC4357FET256"
endchoice
@ -93,3 +93,397 @@ config ARCH_CORTEXM4
bool
default y if ARCH_CHIP_LPC43XX
config ARCH_FPU
bool "FPU support"
default y
depends on ARCH_CORTEXM4
---help---
Build in support for the ARM Cortex-M4 FPU.
choice
prompt "LPC43XX Boot Configuration"
default CONFIG_BOOT_SRAM
depends on ARCH_CHIP_LPC43XX
---help---
The startup code needs to know if the code is running from internal FLASH,
external FLASH, SPIFI, or SRAM in order to initialize properly. Note that
a boot device is not specified for cases where the code is copied into SRAM;
those cases are all covered by BOOT_SRAM.
config BOOT_SRAM
bool "Running from SRAM"
config BOOT_SPIFI
bool "Running from QuadFLASH"
config BOOT_FLASHA
bool "Running in internal FLASHA"
config BOOT_FLASHB
bool "Running in internal FLASHA"
config BOOT_CS0FLASH
bool "Running in external FLASH CS0"
config BOOT_CS1FLASH
bool "Running in external FLASH CS1"
config BOOT_CS2FLASH
bool "Running in external FLASH CS2"
config BOOT_CS3FLASH
bool "Running in external FLASH CS3"
endchoice
menu "LPC43xx Peripheral Support"
config LPC43_ADC0
bool "ADC0"
default n
config LPC43_ADC1
bool "ADC1"
default n
config LPC43_ATIMER
bool "Alarm timer"
default n
config LPC43_CAN1
bool "C_CAN1"
default n
config LPC43_CAN2
bool "C_CAN1"
default n
config LPC43_DAC
bool "DAC"
default n
config LPC43_EMC
bool "External Memory Controller (EMC)"
default n
config LPC43_ETHERNET
bool "Ethernet"
default n
config LPC43_EVNTMNTR
bool "Event Monitor"
default n
config LPC43_GPDMA
bool "GPDMA"
default n
config LPC43_I2C0
bool "I2C0"
default n
config LPC43_I2C1
bool "I2C1"
default n
config LPC43_I2S0
bool "I2S0"
default n
config LPC43_I2S1
bool "I2S1"
default n
config LPC43_LCD
bool "LCD"
default n
config LPC43_MCPWM
bool "Motor Control PWM (MCPWM)"
default n
config LPC43_QEI
bool "Quadrature Controller Interface (QEI)"
default n
config LPC43_RIT
bool "Repetitive Interrupt Timer (RIT)"
default n
config LPC43_RTC
bool "Real Time Clock (RTC)"
default n
config LPC43_SCT
bool "State Configurable Timer (SCT)"
default n
config LPC43_SDMMC
bool "SD/MMC"
default n
config LPC43_SPI
bool "SPI"
default n
config LPC43_SPIFI
bool "SPI Flash Interface (SPIFI)"
default n
config LPC43_SSP0
bool "SSP0"
default n
config LPC43_SSP1
bool "SSP1"
default n
config LPC43_TMR0
bool "ADC1"
default n
config LPC43_TMR1
bool "Timer 1"
default n
config LPC43_TMR2
bool "Timer 2"
default n
config LPC43_TMR3
bool "Timer 3"
default n
config LPC43_USART0
bool "USART0"
default n
config LPC43_UART1
bool "UART1"
default n
config LPC43_USART2
bool "USART2"
default n
config LPC43_USART3
bool "USART3"
default n
config LPC43_USB0
bool "USB0"
default n
config LPC43_USB1
bool "USB1"
default n
config LPC43_USB1_ULPI
bool "USB1 with ULPI"
default n
depends on LPC43_USB1
config LPC43_WWDT
bool "Windowing Watchdog Timer (WWDT)"
default n
endmenu
menu "USART0 Configuration"
depends on LPC43_USART0
config USART0_SERIAL_CONSOLE
bool "USART0 serial console"
default y
---help---
Selects the USART0 for the console and ttys0 (default is the USART0).
config USART0_RXBUFSIZE
int "USART0 Rx buffer size"
default 256
---help---
Characters are buffered as received. This specific the size of the receive
buffer.
config USART0_TXBUFSIZE
int "USART0 Tx buffer size"
default 256
---help---
Characters are buffered before being sent. This specific the size of the
transmit buffer
config USART0_BAUD
int "USART0 BAUD"
default 11520
---help---
The configured BAUD of the UART
config USART0_BITS
int "USART0 number of bits"
default 8
---help---
The number of bits. Must be either 7 or 8.
config USART0_PARITY
int "USART0 parity"
default 0
---help---
0=no parity, 1=odd parity, 2=even parity
config USART0_2STOP
bool "USART0 two stop bits"
default n
---help---
Two stop bits
endmenu
menu "UART1 Configuration"
depends on LPC43_UART1
config UART1_SERIAL_CONSOLE
bool "UART1 serial console"
default y if !LPC43_USART0
---help---
Selects the UART1 for the console and ttys0 (default is the UART1).
config UART1_RXBUFSIZE
int "UART1 Rx buffer size"
default 256
---help---
Characters are buffered as received. This specific the size of the receive
buffer.
config UART1_TXBUFSIZE
int "UART1 Tx buffer size"
default 256
---help---
Characters are buffered before being sent. This specific the size of the
transmit buffer
config UART1_BAUD
int "UART1 BAUD"
default 11520
---help---
The configured BAUD of the UART
config UART1_BITS
int "UART1 number of bits"
default 8
---help---
The number of bits. Must be either 7 or 8.
config UART1_PARITY
int "UART1 parity"
default 0
---help---
0=no parity, 1=odd parity, 2=even parity
config UART1_2STOP
bool "UART1 two stop bits"
default n
---help---
Two stop bits
endmenu
menu "USART2 Configuration"
depends on LPC43_USART2
config USART2_SERIAL_CONSOLE
bool "USART2 serial console"
default y if !LPC43_USART0 && !LPC43_UART1
---help---
Selects the USART2 for the console and ttys0 (default is the USART2).
config USART2_RXBUFSIZE
int "USART2 Rx buffer size"
default 256
---help---
Characters are buffered as received. This specific the size of the receive
buffer.
config USART2_TXBUFSIZE
int "USART2 Tx buffer size"
default 256
---help---
Characters are buffered before being sent. This specific the size of the
transmit buffer
config USART2_BAUD
int "USART2 BAUD"
default 11520
---help---
The configured BAUD of the UART
config USART2_BITS
int "USART2 number of bits"
default 8
---help---
The number of bits. Must be either 7 or 8.
config USART2_PARITY
int "USART2 parity"
default 0
---help---
0=no parity, 1=odd parity, 2=even parity
config USART2_2STOP
bool "USART2 two stop bits"
default n
---help---
Two stop bits
endmenu
menu "USART3 Configuration"
depends on LPC43_USART3
config USART3_SERIAL_CONSOLE
bool "USART3 serial console"
default y if !LPC43_USART0 && !LPC43_UART1 && !LPC43_USART2
---help---
Selects the USART3 for the console and ttys0 (default is the USART3).
config USART3_RXBUFSIZE
int "USART3 Rx buffer size"
default 256
---help---
Characters are buffered as received. This specific the size of the receive
buffer.
config USART3_TXBUFSIZE
int "USART3 Tx buffer size"
default 256
---help---
Characters are buffered before being sent. This specific the size of the
transmit buffer
config USART3_BAUD
int "USART3 BAUD"
default 11520
---help---
The configured BAUD of the UART
config USART3_BITS
int "USART3 number of bits"
default 8
---help---
The number of bits. Must be either 7 or 8.
config USART3_PARITY
int "USART3 parity"
default 0
---help---
0=no parity, 1=odd parity, 2=even parity
config USART3_2STOP
bool "USART3 two stop bits"
default n
---help---
Two stop bits
endmenu

View File

@ -164,10 +164,10 @@ config ARCH_BOARD_LPCXPRESSO
is based on the NXP LPC1768. The Code Red toolchain is used by default.
config ARCH_BOARD_LPC4330_XPLORER
bool "NXP LPCExpresso LPC1768"
bool "NXG LPC4330-Xplorer"
depends on ARCH_CHIP_LPC4330FET100
---help---
NXP LPCExpresso LPC4330 Xplorer board. This board is based on the
NXG Technologoies LPC4330 Xplorer board. This board is based on the
LPC4330FET100. The Code Red toolchain is used by default.
config ARCH_BOARD_M68332EVB
@ -495,19 +495,22 @@ config ARCH_BOARD
default "ea3131" if ARCH_BOARD_EA3131
default "ea3152" if ARCH_BOARD_EA3152
default "eagle100" if ARCH_BOARD_EAGLE100
default "ekk-lm3s9b96" if ARCH_BOARD_EKK_LM3S9B96
default "ez80f0910200kitg" if ARCH_BOARD_EZ80F910200KITG
default "ez80f0910200zco" if ARCH_BOARD_EZ80F910200ZCO
default "hymini-stm32v" if ARCH_BOARD_HYMINI_STM32V
default "kwikstik-k40" if ARCH_BOARD_KWIKSTIK_K40
default "lincoln60" if ARCH_BOARD_LINCOLN60
default "lm3s6432-s2e" if ARCH_BOARD_LM3S6432S2E
default "lm3s6965-ek" if ARCH_BOARD_LM3S6965EK
default "lm3s8962-ek" if ARCH_BOARD_LM3S8962EK
default "lpcxpresso-lpc1768" if ARCH_BOARD_LPCXPRESSO
default "lpc4330-xplorer" if ARCH_BOARD_LPC4330_XPLORER
default "lpcxpresso-lpc1768" if ARCH_BOARD_LPCXPRESSO
default "m68322evb" if ARCH_BOARD_M68332EVB
default "mbed" if ARCH_BOARD_MBED
default "mcu123-lpc214x" if ARCH_BOARD_MCU123
default "micropendous3" if ARCH_BOARD_MICROPENDOUS
default "mirtoo" if ARCH_BOARD_MIRTOO
default "mx1ads" if ARCH_BOARD_MX1ADS
default "ne64badge" if ARCH_BOARD_NE64BADGE
default "ntosd-dm320" if ARCH_BOARD_NTOSD_DM320
@ -517,8 +520,10 @@ config ARCH_BOARD
default "olimex-strp711" if ARCH_BOARD_OLIMEX_STRP711
default "pcblogic-pic32mx" if ARCH_BOARD_PCBLOGICPIC32MX
default "pic32-starterkit" if ARCH_BOARD_PIC32_STARTERKIT
default "pic32mx7mmb" if ARCH_BOARD_PIC32_PIC32MX7MMB
default "pjrc-8051" if ARCH_BOARD_PJRC_87C52
default "qemu-i486" if ARCH_BOARD_QEMU_I486
default "rgmp" if ARCH_BOARD_RGMP
default "sam3u-ek" if ARCH_BOARD_SAM3UEK
default "skp16c26" if ARCH_BOARD_SKP16C26
default "stm3210e-eval" if ARCH_BOARD_STM3210E_EVAL
@ -539,58 +544,171 @@ config ARCH_BOARD
default "sim" if ARCH_BOARD_SIM
default "" if ARCH_BOARD_CUSTOM
if ARCH_BOARD_AMBER
source "configs/amber/Kconfig"
endif
if ARCH_BOARD_AVR32DEV1
source "configs/avr32dev1/Kconfig"
endif
if ARCH_BOARD_C5471EVM
source "configs/c5471evm/Kconfig"
endif
if ARCH_BOARD_COMPALE88
source "configs/compal_e88/Kconfig"
endif
if ARCH_BOARD_COMPALE99
source "configs/compal_e99/Kconfig"
endif
if ARCH_BOARD_DEMOS92S12NEC64
source "configs/demo9s12ne64/Kconfig"
endif
if ARCH_BOARD_EA3131
source "configs/ea3131/Kconfig"
endif
if ARCH_BOARD_EA3152
source "configs/ea3152/Kconfig"
endif
if ARCH_BOARD_EAGLE100
source "configs/eagle100/Kconfig"
endif
if ARCH_BOARD_EKK_LM3S9B96
source "configs/ekk-lm3s9b96/Kconfig"
endif
if ARCH_BOARD_EZ80F910200KITG
source "configs/ez80f910200kitg/Kconfig"
endif
if ARCH_BOARD_EZ80F910200ZCO
source "configs/ez80f910200zco/Kconfig"
endif
if ARCH_BOARD_HYMINI_STM32V
source "configs/hymini-stm32v/Kconfig"
endif
if ARCH_BOARD_KWIKSTIK_K40
source "configs/kwikstik-k40/Kconfig"
endif
if ARCH_BOARD_LINCOLN60
source "configs/lincoln60/Kconfig"
endif
if ARCH_BOARD_LM3S6432S2E
source "configs/lm3s6432-s2e/Kconfig"
endif
if ARCH_BOARD_LM3S6965EK
source "configs/lm3s6965-ek/Kconfig"
endif
if ARCH_BOARD_LM3S8962EK
source "configs/lm3s8962-ek/Kconfig"
source "configs/lpcxpresso-lpc1768/Kconfig"
endif
if ARCH_BOARD_LPC4330_XPLORER
source "configs/lpc4330-xplorer/Kconfig"
endif
if ARCH_BOARD_LPCXPRESSO
source "configs/lpcxpresso-lpc1768/Kconfig"
endif
if ARCH_BOARD_M68332EVB
source "configs/m68332evb/Kconfig"
endif
if ARCH_BOARD_MBED
source "configs/mbed/Kconfig"
endif
if ARCH_BOARD_MCU123
source "configs/mcu123-lpc214x/Kconfig"
endif
if ARCH_BOARD_MICROPENDOUS
source "configs/micropendous3/Kconfig"
endif
if ARCH_BOARD_MIRTOO
source "configs/mirtoo/Kconfig"
endif
if ARCH_BOARD_MX1ADS
source "configs/mx1ads/Kconfig"
endif
if ARCH_BOARD_NE64BADGE
source "configs/ne64badge/Kconfig"
endif
if ARCH_BOARD_NTOSD_DM320
source "configs/ntosd-dm320/Kconfig"
endif
if ARCH_BOARD_NUCLEUS2G
source "configs/nucleus2g/Kconfig"
endif
if ARCH_BOARD_LPC1766STK
source "configs/olimex-lpc1766stk/Kconfig"
endif
if ARCH_BOARD_OLIMEXLPC2378
source "configs/olimex-lpc2378/Kconfig"
endif
if ARCH_BOARD_OLIMEX_STRP711
source "configs/olimex-strp711/Kconfig"
endif
if ARCH_BOARD_PCBLOGICPIC32MX
source "configs/pcblogic-pic32mx/Kconfig"
endif
if ARCH_BOARD_PIC32_STARTERKIT
source "configs/pic32-starterkit/Kconfig"
endif
if ARCH_BOARD_PIC32_PIC32MX7MMB
source "configs/pic32mx7mmb/Kconfig"
endif
if ARCH_BOARD_PJRC_87C52
source "configs/pjrc-8051/Kconfig"
endif
if ARCH_BOARD_QEMU_I486
source "configs/qemu-i486/Kconfig"
endif
if ARCH_BOARD_RGMP
source "configs/rgmp/Kconfig"
endif
if ARCH_BOARD_SAM3UEK
source "configs/sam3u-ek/Kconfig"
source "configs/sim/Kconfig"
endif
if ARCH_BOARD_SKP16C26
source "configs/skp16c26/Kconfig"
endif
if ARCH_BOARD_STM3210E_EVAL
source "configs/stm3210e-eval/Kconfig"
endif
if ARCH_BOARD_STM3220G_EVAL
source "configs/stm3220g-eval/Kconfig"
endif
if ARCH_BOARD_STM3240G_EVAL
source "configs/stm3240g-eval/Kconfig"
endif
if ARCH_BOARD_STM32F4_DISCOVERY
source "configs/stm32f4discovery/Kconfig"
endif
if ARCH_BOARD_SUREPIC32MX
source "configs/sure-pic32mx/Kconfig"
endif
if ARCH_BOARD_TEENSY
source "configs/teensy/Kconfig"
endif
if ARCH_BOARD_TWR_K60N512
source "configs/twr-k60n512/Kconfig"
endif
if ARCH_BOARD_UBW32
source "configs/ubw32/Kconfig"
endif
if ARCH_BOARD_US7032EVB1
source "configs/us7032evb1/Kconfig"
endif
if ARCH_BOARD_VSN
source "configs/vsn/Kconfig"
endif
if ARCH_BOARD_XTRS
source "configs/xtrs/Kconfig"
endif
if ARCH_BOARD_Z16F2800100ZCOG
source "configs/z16f2800100zcog/Kconfig"
endif
if ARCH_BOARD_Z80SIM
source "configs/z80sim/Kconfig"
endif
if ARCH_BOARD_Z8ENCORE000ZCO
source "configs/z8encore000zco/Kconfig"
endif
if ARCH_BOARD_Z8F64200100KI
source "configs/z8f64200100kit/Kconfig"
endif
if ARCH_BOARD_SIM
source "configs/sim/Kconfig"
endif