2016-11-01 02:29:30 +01: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"
|
2016-11-04 21:04:43 +01:00
|
|
|
select MISOC_HAVE_UART1
|
2016-11-01 02:29:30 +01:00
|
|
|
---help---
|
|
|
|
LM32 Chip Selected
|
|
|
|
|
2019-02-07 16:41:18 +01:00
|
|
|
config ARCH_CHIP_MINERVA
|
|
|
|
bool "MINERVA"
|
|
|
|
select MISOC_HAVE_UART1
|
2016-11-01 02:29:30 +01:00
|
|
|
---help---
|
2019-02-07 16:41:18 +01:00
|
|
|
LambdaConcept MINERVAL Chip Selected
|
2016-11-01 02:29:30 +01:00
|
|
|
|
|
|
|
endchoice # Misoc Chip Selection
|
|
|
|
|
|
|
|
config ARCH_CHIP
|
|
|
|
string
|
|
|
|
default "lm32" if ARCH_CHIP_LM32
|
2019-02-07 16:41:18 +01:00
|
|
|
default "minerva" if ARCH_CHIP_MINERVA
|
2016-11-01 02:29:30 +01:00
|
|
|
|
|
|
|
menu "MISOC Peripheral Support"
|
|
|
|
|
2020-04-14 17:48:06 +02:00
|
|
|
# These "hidden" settings determine whether a peripheral option is available
|
|
|
|
# for the selected MCU
|
2016-11-01 02:29:30 +01:00
|
|
|
|
2016-11-04 21:04:43 +01:00
|
|
|
config MISOC_HAVE_UART1
|
2016-11-01 02:29:30 +01:00
|
|
|
bool
|
|
|
|
default n
|
2016-11-04 21:04:43 +01:00
|
|
|
select UART1_SERIALDRIVER
|
2016-11-01 02:29:30 +01:00
|
|
|
|
2016-11-04 21:04:43 +01:00
|
|
|
config MISOC_UART1
|
|
|
|
bool "UART1"
|
2016-11-01 02:29:30 +01:00
|
|
|
default n
|
2016-11-04 21:04:43 +01:00
|
|
|
select ARCH_HAVE_UART1
|
2016-11-01 02:29:30 +01:00
|
|
|
select MISOC_UART
|
|
|
|
|
2016-11-28 18:08:29 +01:00
|
|
|
config MISOC_ETHERNET
|
|
|
|
bool "Ethernet"
|
|
|
|
default n
|
|
|
|
select NETDEVICES
|
|
|
|
select ARCH_HAVE_PHY
|
|
|
|
select ARCH_HAVE_NETDEV_STATISTICS
|
|
|
|
|
2016-11-01 02:29:30 +01:00
|
|
|
endmenu # MISOC Peripheral Support
|
|
|
|
|
|
|
|
config MISOC_UART
|
|
|
|
bool
|
|
|
|
|
|
|
|
config MISOC_UART_RX_BUF_SIZE
|
2020-02-23 09:50:23 +01:00
|
|
|
int "UART RX Buffer size"
|
2016-11-01 02:29:30 +01:00
|
|
|
default 64
|
|
|
|
depends on MISOC_UART
|
|
|
|
---help---
|
|
|
|
Size of RX buffers for MISOC UARTs
|
|
|
|
|
|
|
|
config MISOC_UART_TX_BUF_SIZE
|
2020-02-23 09:50:23 +01:00
|
|
|
int "UART TX Buffer size"
|
2016-11-01 02:29:30 +01:00
|
|
|
default 64
|
|
|
|
depends on MISOC_UART
|
|
|
|
---help---
|
|
|
|
Size of TX buffers for MISOC UARTs
|
|
|
|
|
2016-11-02 19:07:52 +01:00
|
|
|
if ARCH_CHIP_LM32
|
2016-11-01 14:20:44 +01:00
|
|
|
source arch/misoc/src/lm32/Kconfig
|
|
|
|
endif
|
2019-02-07 16:41:18 +01:00
|
|
|
if ARCH_CHIP_MINERVA
|
|
|
|
source arch/misoc/src/minerva/Kconfig
|
2016-11-01 14:20:44 +01:00
|
|
|
endif
|
|
|
|
|
2016-11-01 02:29:30 +01:00
|
|
|
endif # ARCH_MISOC
|