2019-12-07 01:04:25 +08:00
|
|
|
mainmenu "RT-Thread Configuration"
|
|
|
|
|
2024-06-11 12:16:39 +08:00
|
|
|
BSP_DIR := .
|
|
|
|
|
|
|
|
RTT_DIR := ../../..
|
|
|
|
|
|
|
|
PKGS_DIR := packages
|
|
|
|
|
|
|
|
source "$(RTT_DIR)/Kconfig"
|
|
|
|
osource "$PKGS_DIR/Kconfig"
|
2019-12-07 01:04:25 +08:00
|
|
|
|
|
|
|
config SOC_LS1B
|
|
|
|
bool
|
|
|
|
select RT_USING_COMPONENTS_INIT
|
|
|
|
select RT_USING_USER_MAIN
|
|
|
|
default y
|
|
|
|
|
2021-02-02 09:33:38 +08:00
|
|
|
config RT_MEM_SIZE
|
|
|
|
int "Memory Size (MByte)"
|
|
|
|
default 256
|
|
|
|
|
|
|
|
config RT_OSC_CLK
|
|
|
|
int "Oscillator Clock (Hz)"
|
|
|
|
default 25000000
|
|
|
|
|
2019-12-07 01:04:25 +08:00
|
|
|
if RT_USING_SERIAL
|
|
|
|
config RT_USING_UART0
|
|
|
|
bool "Using RT_USING_UART0"
|
2021-02-02 09:33:38 +08:00
|
|
|
default n
|
2019-12-07 01:04:25 +08:00
|
|
|
config RT_USING_UART1
|
|
|
|
bool "Using RT_USING_UART1"
|
|
|
|
default n
|
2021-02-02 09:33:38 +08:00
|
|
|
config RT_USING_UART2
|
|
|
|
bool "Using RT_USING_UART2"
|
|
|
|
default n
|
2019-12-07 01:04:25 +08:00
|
|
|
config RT_USING_UART3
|
|
|
|
bool "Using RT_USING_UART3"
|
|
|
|
default n
|
2021-02-02 09:33:38 +08:00
|
|
|
config RT_USING_UART4
|
|
|
|
bool "Using RT_USING_UART4"
|
|
|
|
default n
|
|
|
|
config RT_USING_UART5
|
|
|
|
bool "Using RT_USING_UART5"
|
|
|
|
default y
|
2019-12-07 01:04:25 +08:00
|
|
|
|
|
|
|
config RT_UART_RX_BUFFER_SIZE
|
|
|
|
int "The rx buffer size"
|
|
|
|
default 64 if RT_USING_SERIAL
|
|
|
|
default 64
|
|
|
|
endif
|
|
|
|
|