summaryrefslogtreecommitdiff
path: root/bsp/phytium/libraries/drivers/Kconfig
blob: ddbbb9b5ffd6a6cb2872ee4c3d350b027cf8c862 (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
menu "Hardware Drivers"

menu "On-chip Peripheral Drivers"
    menuconfig BSP_USING_UART
        bool "Enable UART"
        default y
        select USE_SERIAL # sdk serial component
        select RT_USING_SERIAL
        if BSP_USING_UART
            config RT_USING_UART1
                bool "Enable UART1"
                default y
            
            config RT_USING_UART0
                bool "Enable UART0"
                default n

        endif

    menuconfig BSP_USING_SPI
        bool "Enable Spi"
        default y
        select USE_SPI # sdk spi component
        select RT_USING_SPI
        if BSP_USING_SPI
            config RT_USING_SPIM0
                bool "Enable spim0"
                default n

            config RT_USING_SPIM1
                bool "Enable spim1"
                default n
            
            config RT_USING_SPIM2
                bool "Enable spim2"
                default y

            config RT_USING_SPIM3
                bool "Enable spim3"
                default n
        endif

    menuconfig BSP_USING_CAN
        bool "Enable CAN"
        default y
        select RT_USING_CAN
        select RT_CAN_USING_HDR
        select RT_CAN_USING_CANFD

    menuconfig BSP_USING_QSPI
        bool "Enable QSPI"
        default y
        select RT_USING_QSPI
        select RT_USING_SPI

endmenu

menu "Board extended module Drivers"

endmenu

endmenu