summaryrefslogtreecommitdiff
path: root/bsp/phytium/libraries/standalone/board/Kconfig
blob: f0a7ec4b70434853ad2bf6ffa6fea67309c52bf5 (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
menu "Board Configuration"

    choice BUILD_TARGET_CHIP_TYPE
        prompt "Chip"
        default TARGET_E2000Q
        help
            Select chip type for build

        config TARGET_F2000_4
            bool "FT2000-4"

        config TARGET_D2000
            bool "D2000"

        config TARGET_E2000Q
            bool "E2000Q"
            select TARGET_E2000

        config TARGET_E2000D
            bool "E2000D"
            select TARGET_E2000

        config TARGET_E2000S
            bool "E2000S"
            select TARGET_E2000

    endchoice # BUILD_TARGET_CHIP_TYPE

    # an invisible config to define common code of E2000 Q/D/S
    config TARGET_E2000
        bool
        default y if TARGET_E2000Q || TARGET_E2000D || TARGET_E2000S

    choice DEBUG_PRINT_UART
    prompt "Select Debug uart instance"
    default DEFAULT_DEBUG_PRINT_UART1
    help
        Select arch for build
    config DEFAULT_DEBUG_PRINT_UART1
        bool "Use uart1"
    config DEFAULT_DEBUG_PRINT_UART0
        bool "Use uart0"
    config DEFAULT_DEBUG_PRINT_UART2
        bool "Use uart2"
    endchoice # DEBUG_PRINT_UART


endmenu