Kconfig 1.2 KB

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