Kconfig 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. menu "Hardware Drivers"
  2. menu "On-chip Peripheral Drivers"
  3. menuconfig BSP_USING_UART
  4. bool "Enable UART"
  5. default y
  6. select USE_SERIAL # sdk serial component
  7. select RT_USING_SERIAL
  8. if BSP_USING_UART
  9. config RT_USING_UART1
  10. bool "Enable UART1"
  11. default y
  12. config RT_USING_UART0
  13. bool "Enable UART0"
  14. default n
  15. endif
  16. menuconfig BSP_USING_SPI
  17. bool "Enable Spi"
  18. default y
  19. select USE_SPI # sdk spi component
  20. select RT_USING_SPI
  21. if BSP_USING_SPI
  22. config RT_USING_SPIM0
  23. bool "Enable spim0"
  24. default n
  25. config RT_USING_SPIM1
  26. bool "Enable spim1"
  27. default n
  28. config RT_USING_SPIM2
  29. bool "Enable spim2"
  30. default y
  31. config RT_USING_SPIM3
  32. bool "Enable spim3"
  33. default n
  34. endif
  35. menuconfig BSP_USING_CAN
  36. bool "Enable CAN"
  37. default y
  38. select RT_USING_CAN
  39. select RT_CAN_USING_HDR
  40. select RT_CAN_USING_CANFD
  41. menuconfig BSP_USING_QSPI
  42. bool "Enable QSPI"
  43. default y
  44. select RT_USING_QSPI
  45. select RT_USING_SPI
  46. endmenu
  47. menu "Board extended module Drivers"
  48. endmenu
  49. endmenu