Kconfig 1.5 KB

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