53 lines
1022 B
Plaintext
53 lines
1022 B
Plaintext
|
menu "Hardware Drivers Config"
|
||
|
|
||
|
choice
|
||
|
prompt "select chip type"
|
||
|
default SOC_SAME54P20
|
||
|
|
||
|
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_SAME54P20 || SOC_SAME54N20
|
||
|
|
||
|
config SAME5X_CAN0
|
||
|
bool "Enable CAN0"
|
||
|
default false
|
||
|
|
||
|
config SAME5X_ADC0
|
||
|
bool "Enable ADC0"
|
||
|
default false
|
||
|
endmenu
|
||
|
|
||
|
menu "Application Demo Config"
|
||
|
config SAM_CAN_EXAMPLE
|
||
|
bool "Enable SAM CAN Example"
|
||
|
depends on SAME5X_CAN0
|
||
|
default true
|
||
|
help
|
||
|
Add CAN example task to project
|
||
|
|
||
|
config SAM_ADC_EXAMPLE
|
||
|
bool "Enable SAM ADC Example"
|
||
|
depends on SAME5X_ADC0
|
||
|
default true
|
||
|
help
|
||
|
Add ADC example task to project
|
||
|
|
||
|
endmenu
|