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