incubator-nuttx/arch/misoc/Kconfig

80 lines
1.4 KiB
Plaintext
Raw Normal View History

2016-11-01 09:29:30 +08:00
#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
if ARCH_MISOC
choice
prompt "Misoc Chip Selection"
default ARCH_CHIP_LM32
config ARCH_CHIP_LM32
bool "LM32"
select MISOC_HAVE_UART1
2016-11-01 09:29:30 +08:00
---help---
LM32 Chip Selected
config ARCH_CHIP_MOR1K
bool "MOR1K"
---help---
MOR1K Chip Selected
endchoice # Misoc Chip Selection
config ARCH_CHIP
string
default "lm32" if ARCH_CHIP_LM32
2016-11-01 21:20:44 +08:00
default "mor1k" if ARCH_CHIP_MOR1K
2016-11-01 09:29:30 +08:00
menu "MISOC Peripheral Support"
# These "hidden" settings determine is a peripheral option is available for the
# selection MCU
config MISOC_HAVE_UART1
2016-11-01 09:29:30 +08:00
bool
default n
select UART1_SERIALDRIVER
2016-11-01 09:29:30 +08:00
config MISOC_UART1
bool "UART1"
2016-11-01 09:29:30 +08:00
default n
select ARCH_HAVE_UART1
2016-11-01 09:29:30 +08:00
select MISOC_UART
config MISOC_ETHERNET
bool "Ethernet"
default n
select NETDEVICES
select ARCH_HAVE_PHY
select ARCH_HAVE_NETDEV_STATISTICS
2016-11-01 09:29:30 +08:00
endmenu # MISOC Peripheral Support
config MISOC_UART
bool
config MISOC_UART_RX_BUF_SIZE
int "UART RX Bufer size"
default 64
depends on MISOC_UART
---help---
Size of RX buffers for MISOC UARTs
config MISOC_UART_TX_BUF_SIZE
int "UART TX Bufer size"
default 64
depends on MISOC_UART
---help---
Size of TX buffers for MISOC UARTs
if ARCH_CHIP_LM32
2016-11-01 21:20:44 +08:00
source arch/misoc/src/lm32/Kconfig
endif
if ARCH_CHIP_MOR1K
#source arch/misoc/src/mor1k/Kconfig
2016-11-01 21:20:44 +08:00
endif
2016-11-01 09:29:30 +08:00
endif # ARCH_MISOC