Kconfig 1005 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. menu "Hardware Drivers Config"
  2. choice
  3. prompt "select chip type"
  4. default SOC_SAMC21J18
  5. config SOC_SAMC21J18
  6. bool "SOC_SAMC21J18"
  7. help
  8. Refer to SAMC21 DataSheet
  9. config SOC_SAMC21G18
  10. bool "SOC_SAMC21G18"
  11. help
  12. Refer to SAMC21 DataSheet
  13. config SOC_SAMC21E18
  14. bool "SOC_SAMC21E18"
  15. help
  16. Refer to SAMC21 DataSheet
  17. endchoice
  18. endmenu
  19. menu "Onboard Peripheral Drivers"
  20. depends on SOC_SAMC21J18
  21. config SAMC21_CAN0
  22. bool "Enable CAN0"
  23. default false
  24. config SAMC21_ADC0
  25. bool "Enable ADC0"
  26. default false
  27. endmenu
  28. menu "Application Demo Config"
  29. config SAM_CAN_EXAMPLE
  30. bool "Enable SAM CAN Example"
  31. depends on SAMC21_CAN0
  32. default true
  33. help
  34. Add CAN example task to project
  35. config SAM_ADC_EXAMPLE
  36. bool "Enable SAM ADC Example"
  37. depends on SAMC21_ADC0
  38. default true
  39. help
  40. Add ADC example task to project
  41. endmenu