Files
nuttx/arch/arm/src/lpc54xx/Kconfig
T
Gregory Nutt 8bc90a1899 This adds basic architectural support for the LPC546xx family and includes support for the LPCXpresso-LPC54628 board. The basic NSH port is almost complete... still lacking GPIO support and LED support. There are still no significant drivers available.
Squashed commit of the following:

    arch/arm/src/lpc54xx:  Finish off some missing logic.  Complete now execpt for GPIO and LED support.
    arch/arm/src/lpc54xx:  Add lpc54_clrpend.c
    arch/arm/src/lpc54xx:  Serial driver is complete and compiles.
    arch/arm/src/lpc54xx:  Add beginning of a serial driver (still missing some logic)
    arch/arm/src/lpc54xx:  Fleshes out low level USART intialization.
    arch/arm/src/lpc546xx/Kconfig: Add hooks to integrate with common seril upper half.
    arch/arm/src/lpc54xx:  Beginning of USART console support.
    arch/arm/src/lpc54xx: Completes very basic clock configuration.
    arch/arm/src/lpc54xx:  Add clocking logic (still not complete)
    arch/arm/src/lpc54xx:  Beginning of PLL configuration logic.
    arch/arm/src/lpc54xx:  Fix a few things from first compile attempt.  Compilation cannot work until I at least finish the clock configuration logic.
    arch/arm/src/lpc54xx: Addes some SysTick logic.
    arch/arm/src/lpc54xx:  Completes basic startup logic (sans clock configuration) and interrupt configuration.
     arch/arm/src/lpc54xx:  Add generic ARMv7-M start-up logic (needs LPC54628 customizations); add emtpy file that will eventually hold the clock configuration logic.
    arch/arm/src/lpc54xx:  Add (incomplete) SYSCON register definition header file.
    arch/arm/src/lpc54xx:  Add FLEXCOMM header file.
    arch/arm/src/lpc54xx:  Bring in tickless clock logic from LPC43; configs/lpcxpresso-lpc54628: mount procfs if enabled.
    arch/arm/src/lpc54xx: Add RIT clock definitions; add SysTick initialization (not finished)
    LPC54xx and LPCXpresso-LPC54628: add more boilerplate files and stubbed out files.
    arch/arm/src/lpc54xx:  Add (incomplete) USART header file.
    Add another condition to a Kconfig; refresh a defconfig.
    arch/arm/src/lpc54xx/chip: Add LPC54628 memory map header files.
    configs/lpcxpresso-lpc54628:  Add basic build files for the LPCXpresso-LPC54628
    arch/: Basic build directory structure for the LPC54628
2017-12-07 13:30:02 -06:00

229 lines
3.9 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
comment "LPC54xx Configuration Options"
choice
prompt "LPC54XX Chip Selection"
default ARCH_CHIP_LPC54628
depends on ARCH_CHIP_LPC54XX
config ARCH_CHIP_LPC54628
bool "LPC54628"
select ARCH_FAMILY_LPC546XX
select ARCH_LPC54_HAVE_FSUSB
select ARCH_LPC54_HAVE_HSUSB
select ARCH_LPC54_HAVE_ETHERNET
select ARCH_LPC54_HAVE_CAN20
select ARCH_LPC54_HAVE_CANFD
select ARCH_LPC54_HAVE_LCD
select ARCH_LPC54_HAVE_SHA
config ARCH_CHIP_LPC54618
bool "LPC54618"
select ARCH_FAMILY_LPC546XX
select ARCH_LPC54_HAVE_FSUSB
select ARCH_LPC54_HAVE_HSUSB
select ARCH_LPC54_HAVE_ETHERNET
select ARCH_LPC54_HAVE_CAN20
select ARCH_LPC54_HAVE_CANFD
select ARCH_LPC54_HAVE_LCD
config ARCH_CHIP_LPC54616
bool "LPC54616"
select ARCH_FAMILY_LPC546XX
select ARCH_LPC54_HAVE_FSUSB
select ARCH_LPC54_HAVE_HSUSB
select ARCH_LPC54_HAVE_ETHERNET
select ARCH_LPC54_HAVE_CAN20
select ARCH_LPC54_HAVE_CANFD
config ARCH_CHIP_LPC54608
bool "LPC54608"
select ARCH_FAMILY_LPC546XX
select ARCH_LPC54_HAVE_FSUSB
select ARCH_LPC54_HAVE_ETHERNET
select ARCH_LPC54_HAVE_CAN20
select ARCH_LPC54_HAVE_LCD
config ARCH_CHIP_LPC54607
bool "LPC54607"
select ARCH_FAMILY_LPC546XX
select ARCH_LPC54_HAVE_FSUSB
select ARCH_LPC54_HAVE_HSUSB
select ARCH_LPC54_HAVE_ETHERNET
config ARCH_CHIP_LPC54606
bool "LPC54606"
select ARCH_FAMILY_LPC546XX
select ARCH_LPC54_HAVE_FSUSB
select ARCH_LPC54_HAVE_HSUSB
select ARCH_LPC54_HAVE_ETHERNET
select ARCH_LPC54_HAVE_CAN20
config ARCH_CHIP_LPC54605
bool "LPC54605"
select ARCH_FAMILY_LPC546XX
select ARCH_LPC54_HAVE_FSUSB
select ARCH_LPC54_HAVE_HSUSB
endchoice # LPC54XX Chip Selection
# LPC54xx Families
config ARCH_FAMILY_LPC546XX
bool
default n
# Peripheral support
config ARCH_LPC54_HAVE_FSUSB
bool
default n
config ARCH_LPC54_HAVE_HSUSB
bool
default n
config ARCH_LPC54_HAVE_ETHERNET
bool
default n
config ARCH_LPC54_HAVE_CAN20
bool
default n
config ARCH_LPC54_HAVE_CANFD
bool
default n
config ARCH_LPC54_HAVE_LCD
bool
default n
config ARCH_LPC54_HAVE_SHA
bool
default n
# Peripheral Selection
config LPC54_HAVE_FLEXCOMM
bool
default n
config LPC54_FLEXCOMM0
bool
default n
select LPC54_HAVE_FLEXCOMM
config LPC54_FLEXCOMM1
bool
default n
select LPC54_HAVE_FLEXCOMM
config LPC54_FLEXCOMM2
bool
default n
select LPC54_HAVE_FLEXCOMM
config LPC54_FLEXCOMM3
bool
default n
select LPC54_HAVE_FLEXCOMM
config LPC54_FLEXCOMM4
bool
default n
select LPC54_HAVE_FLEXCOMM
config LPC54_FLEXCOMM5
bool
default n
select LPC54_HAVE_FLEXCOMM
config LPC54_FLEXCOMM6
bool
default n
select LPC54_HAVE_FLEXCOMM
config LPC54_FLEXCOMM7
bool
default n
select LPC54_HAVE_FLEXCOMM
config LPC54_FLEXCOMM8
bool
default n
select LPC54_HAVE_FLEXCOMM
config LPC54_FLEXCOMM9
bool
default n
select LPC54_HAVE_FLEXCOMM
menu "LPC54xx Peripheral Selection"
config LPC54_USART0
bool "USART0"
default n
select LPC54_FLEXCOMM0
select USART0_SERIALDRIVER
config LPC54_USART1
bool "USART1"
default n
select LPC54_FLEXCOMM1
select USART1_SERIALDRIVER
config LPC54_USART2
bool "USART2"
default n
select LPC54_FLEXCOMM2
select USART2_SERIALDRIVER
config LPC54_USART3
bool "USART3"
default n
select LPC54_FLEXCOMM3
select USART3_SERIALDRIVER
config LPC54_USART4
bool "USART4"
default n
select LPC54_FLEXCOMM4
select USART4_SERIALDRIVER
config LPC54_USART5
bool "USART5"
default n
select LPC54_FLEXCOMM5
select USART5_SERIALDRIVER
config LPC54_USART6
bool "USART6"
default n
select LPC54_FLEXCOMM6
select USART6_SERIALDRIVER
config LPC54_USART7
bool "USART7"
default n
select LPC54_FLEXCOMM7
select USART7_SERIALDRIVER
config LPC54_USART8
bool "USART8"
default n
select LPC54_FLEXCOMM8
select USART8_SERIALDRIVER
config LPC54_USART9
bool "USART9"
default n
select LPC54_FLEXCOMM9
select USART9_SERIALDRIVER
endmenu # LPC54xx Peripheral Selection