summaryrefslogtreecommitdiff
path: root/bsp/loongson/ls1bdev/Kconfig
blob: cb45cb7550bde503c8c796b0e644263e470c0b6c (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
45
46
47
48
49
50
51
mainmenu "RT-Thread Configuration"

BSP_DIR := .

RTT_DIR := ../../..

PKGS_DIR := packages

source "$(RTT_DIR)/Kconfig"
osource "$PKGS_DIR/Kconfig"

config SOC_LS1B
    bool
    select RT_USING_COMPONENTS_INIT
    select RT_USING_USER_MAIN
    default y

config RT_MEM_SIZE
    int "Memory Size (MByte)"
    default 256

config RT_OSC_CLK
    int "Oscillator Clock (Hz)"
    default 25000000

if RT_USING_SERIAL
config RT_USING_UART0
    bool "Using RT_USING_UART0"
    default n
config RT_USING_UART1
    bool "Using RT_USING_UART1"
    default n
config RT_USING_UART2
    bool "Using RT_USING_UART2"
    default n
config RT_USING_UART3
    bool "Using RT_USING_UART3"
    default n
config RT_USING_UART4
    bool "Using RT_USING_UART4"
    default n
config RT_USING_UART5
    bool "Using RT_USING_UART5"
    default y

config RT_UART_RX_BUFFER_SIZE
    int "The rx buffer size"
    default 64 if RT_USING_SERIAL
    default 64
endif