1menu "Hardware Drivers Config" 2 3choice 4 prompt "select chip type" 5 default SOC_SAME54P20 6 7 config SOC_SAME54P20 8 bool "SOC_SAME54P20" 9 help 10 Refer to SAME54 DataSheet 11 12 config SOC_SAME54N20 13 bool "SOC_SAME54N20" 14 help 15 Refer to SAME54 DataSheet 16 17 config SOC_SAME53J20 18 bool "SOC_SAME53J20" 19 help 20 Refer to SAME54 DataSheet 21 22endchoice 23endmenu 24 25menu "Onboard Peripheral Drivers" 26 depends on SOC_SAME54P20 || SOC_SAME54N20 27 28 config SAME5X_CAN0 29 bool "Enable CAN0" 30 default false 31 32 config SAME5X_ADC0 33 bool "Enable ADC0" 34 default false 35 36 config SAME5X_I2C0 37 bool "Enable I2C0" 38 default false 39 40 config SAME5X_GMAC 41 bool "Enable GMAC" 42 default false 43endmenu 44 45menu "Application Demo Config" 46 config SAM_CAN_EXAMPLE 47 bool "Enable SAM CAN Example" 48 depends on SAME5X_CAN0 49 default true 50 help 51 Add CAN example task to project 52 53 config SAM_ADC_EXAMPLE 54 bool "Enable SAM ADC Example" 55 depends on SAME5X_ADC0 56 default true 57 help 58 Add ADC example task to project 59 60 config SAM_I2C_EXAMPLE 61 bool "Enable SAM I2C Example" 62 depends on SAME5X_I2C0 63 default true 64 help 65 Add I2C example task to project 66 67 config SAM_LWIP_EXAMPLE 68 bool "Enable SAM LWIP Example" 69 depends on SAME5X_GMAC 70 default false 71 help 72 Add GMAC LWIP example task to project 73 74endmenu 75