summaryrefslogtreecommitdiff
path: root/bsp/ls1bdev/Kconfig
blob: c1788b1c6b01ac0716494f36bec1055d70f1bb9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
mainmenu "RT-Thread Configuration"

config BSP_DIR
    string
    option env="BSP_ROOT"
    default "."

config RTT_DIR
    string
    option env="RTT_ROOT"
    default "../.."

config PKGS_DIR
    string
    option env="PKGS_ROOT"
    default "packages"

source "$RTT_DIR/Kconfig"
source "$RTT_DIR/libcpu/mips/common/Kconfig"
source "$PKGS_DIR/Kconfig"

config SOC_LS1B
    bool
    select RT_USING_COMPONENTS_INIT
    select RT_USING_USER_MAIN
    default y

if RT_USING_SERIAL
config RT_USING_UART0
    bool "Using RT_USING_UART0"
    default y
config RT_USING_UART1
    bool "Using RT_USING_UART1"
    default n
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