117 lines
2.0 KiB
Plaintext
117 lines
2.0 KiB
Plaintext
mainmenu "RT-Thread Configuration"
|
|
|
|
BSP_DIR := .
|
|
|
|
RTT_DIR := ../../..
|
|
|
|
PKGS_DIR := packages
|
|
|
|
source "$(RTT_DIR)/Kconfig"
|
|
source "$(RTT_DIR)/libcpu/mips/common/Kconfig"
|
|
osource "$PKGS_DIR/Kconfig"
|
|
|
|
config SOC_LS1C300
|
|
bool
|
|
select RT_USING_COMPONENTS_INIT
|
|
select RT_USING_USER_MAIN
|
|
default y
|
|
|
|
choice
|
|
prompt "Board Type"
|
|
config RT_LS1C_OPENLOONGSON
|
|
bool "OpenLoongson Board"
|
|
config RT_LS1C_BAICAIBOARD
|
|
bool "Baicai Board"
|
|
endchoice
|
|
|
|
config RT_USING_SELF_BOOT
|
|
bool "Enable RT-Thread run without bootloader"
|
|
default n
|
|
|
|
if RT_USING_SELF_BOOT
|
|
config RT_SELF_BOOT_DEBUG
|
|
bool "Debug self boot code"
|
|
default n
|
|
endif
|
|
|
|
if RT_USING_SERIAL
|
|
config RT_USING_UART2
|
|
bool "Using RT_USING_UART2"
|
|
default y
|
|
config RT_USING_UART1
|
|
bool "Using RT_USING_UART1"
|
|
default y
|
|
config RT_USING_UART3
|
|
bool "Using RT_USING_UART3"
|
|
default n
|
|
|
|
config RT_UART_RX_BUFFER_SIZE
|
|
int "The rx buffer size"
|
|
default 64 if RT_USING_SERIAL
|
|
default 64
|
|
endif
|
|
|
|
config RT_USING_GMAC_INT_MODE
|
|
bool "Using RT_USING_GMAC_INT_MODE"
|
|
default y
|
|
|
|
config RT_USING_SPI0
|
|
bool "Enable SPI0"
|
|
select RT_USING_SPI
|
|
default y
|
|
|
|
config RT_USING_SPI1
|
|
bool "Enable SPI1"
|
|
select RT_USING_SPI
|
|
default y
|
|
|
|
if RT_USING_I2C
|
|
config RT_USING_I2C1
|
|
bool "Enable I2C1"
|
|
default y
|
|
|
|
config RT_USING_I2C2
|
|
bool "Enable I2C2"
|
|
default y
|
|
endif
|
|
|
|
|
|
config USING_BXCAN0
|
|
bool "Enable CAN0"
|
|
select RT_USING_CAN
|
|
default y
|
|
|
|
config USING_BXCAN1
|
|
bool "Enable CAN1"
|
|
select RT_USING_CAN
|
|
default y
|
|
|
|
if RT_USING_CAN
|
|
config RT_CAN_USING_HDR
|
|
bool "Using RT_CAN_USING_HDR"
|
|
default y
|
|
endif
|
|
|
|
choice
|
|
prompt "Touch format"
|
|
default NO_TOUCH
|
|
|
|
config NO_TOUCH
|
|
bool "with no touch"
|
|
|
|
if RT_USING_RTGUI
|
|
config XPT2046_USING_TOUCH
|
|
bool "with XPT2046 touch"
|
|
endif
|
|
|
|
config TINA_USING_TOUCH
|
|
bool "with TINA touch"
|
|
endchoice
|
|
|
|
if RT_USING_RTC
|
|
config RT_RTC_NAME
|
|
string "RT_RTC_NAME"
|
|
default "RTC"
|
|
endif
|
|
|