summaryrefslogtreecommitdiff
path: root/bsp/microchip/samc21/board/Kconfig
blob: a7698b7ab99e8403186f9f05eeecacd0f43758f4 (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
menu "Hardware Drivers Config"

choice
    prompt "select chip type"
    default SOC_SAMC21J18

    config SOC_SAMC21J18
    bool "SOC_SAMC21J18"
    help
        Refer to SAMC21 DataSheet

    config SOC_SAMC21G18
    bool "SOC_SAMC21G18"
    help
        Refer to SAMC21 DataSheet

    config SOC_SAMC21E18
    bool "SOC_SAMC21E18"
    help
        Refer to SAMC21 DataSheet

endchoice
endmenu

menu "Onboard Peripheral Drivers"
    depends on SOC_SAMC21J18

    config SAMC21_CAN0
        bool "Enable CAN0"
        default false

    config SAMC21_ADC0
        bool "Enable ADC0"
        default false

    config SAMC21_I2C0
        bool "Enable I2C0"
        default false

endmenu

menu "Application Demo Config"
    config SAM_CAN_EXAMPLE
        bool "Enable SAM CAN Example"
        depends on SAMC21_CAN0
        default true
        help
            Add CAN example task to project

    config SAM_ADC_EXAMPLE
        bool "Enable SAM ADC Example"
        depends on SAMC21_ADC0
        default true
        help
            Add ADC example task to project

    config SAM_I2C_EXAMPLE
        bool "Enable SAM I2C Example"
        depends on SAMC21_I2C0
        default true
        help
            Add I2C example task to project
endmenu