menu "Hardware Drivers Config"

choice
    prompt "select chip type"
    default SOC_SAMD51P19

    config SOC_SAMD51J19
    bool "SOC_SAMD51J19"
    help
        Refer to SAMD51 DataSheet

    config SOC_SAMD51P19
    bool "SOC_SAMD51P19"
    help
        Refer to SAMD51 DataSheet

    config SOC_SAME54P20
    bool "SOC_SAME54P20"
    help
        Refer to SAME54 DataSheet

    config SOC_SAME54N20
    bool "SOC_SAME54N20"
    help
        Refer to SAME54 DataSheet

    config SOC_SAME53J20
    bool "SOC_SAME53J20"
    help
        Refer to SAME54 DataSheet

endchoice
endmenu

menu "Onboard Peripheral Drivers"
    depends on SOC_SAMD51J19 || SOC_SAMD51P19

    config SAMD5X_ADC0
        bool "Enable ADC0"
        default false

    config SAMD5X_I2C0
        bool "Enable I2C0"
        default false
endmenu

menu "Application Demo Config"
    config SAM_ADC_EXAMPLE
        bool "Enable SAM ADC Example"
        depends on SAMD5X_ADC0
        default false
        help
            Add ADC example task to project

    config SAM_I2C_EXAMPLE
        bool "Enable SAM I2C Example"
        depends on SAMD5X_I2C0
        default false
        help
            Add I2C example task to project

endmenu