1menu "Hardware Drivers Config" 2 3choice 4 prompt "select chip type" 5 default SOC_SAMD51P19 6 7 config SOC_SAMD51J19 8 bool "SOC_SAMD51J19" 9 help 10 Refer to SAMD51 DataSheet 11 12 config SOC_SAMD51P19 13 bool "SOC_SAMD51P19" 14 help 15 Refer to SAMD51 DataSheet 16 17 config SOC_SAME54P20 18 bool "SOC_SAME54P20" 19 help 20 Refer to SAME54 DataSheet 21 22 config SOC_SAME54N20 23 bool "SOC_SAME54N20" 24 help 25 Refer to SAME54 DataSheet 26 27 config SOC_SAME53J20 28 bool "SOC_SAME53J20" 29 help 30 Refer to SAME54 DataSheet 31 32endchoice 33endmenu 34 35menu "Onboard Peripheral Drivers" 36 depends on SOC_SAMD51J19 || SOC_SAMD51P19 37 38 config SAMD5X_ADC0 39 bool "Enable ADC0" 40 default false 41 42 config SAMD5X_I2C0 43 bool "Enable I2C0" 44 default false 45endmenu 46 47menu "Application Demo Config" 48 config SAM_ADC_EXAMPLE 49 bool "Enable SAM ADC Example" 50 depends on SAMD5X_ADC0 51 default false 52 help 53 Add ADC example task to project 54 55 config SAM_I2C_EXAMPLE 56 bool "Enable SAM I2C Example" 57 depends on SAMD5X_I2C0 58 default false 59 help 60 Add I2C example task to project 61 62endmenu 63