summaryrefslogtreecommitdiff
path: root/bsp/ls1cdev/Kconfig
blob: e3f4eca2d4b7a31c8dcbdaffb49172929d1f3a5f (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
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 "$PKGS_DIR/Kconfig"

config RT_USING_SELF_BOOT
    bool "Enable RT-Thread run without bootloader"
    default n
	
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_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_FPU
    bool "Using RT_USING_FPU"
    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"
	select RT_USING_CAN
    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