Kconfig 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. menu "Onboard Peripheral Drivers"
  2. config BSP_USING_PINMUX
  3. bool "Enable pinmux helper driver"
  4. default y
  5. help
  6. Enable the S100 pinmux and pin configuration helper APIs.
  7. config BSP_USING_GPIO
  8. bool "Enable GPIO/pin driver"
  9. default y
  10. select RT_USING_PIN
  11. help
  12. Register the RT-Thread pin device and GPIO interrupt dispatch.
  13. menuconfig BSP_USING_CAN
  14. bool "Enable CAN (S100 FlexCAN)"
  15. default y
  16. select RT_USING_CAN
  17. help
  18. Enable the S100 FlexCAN driver using RT-Thread CAN framework.
  19. if BSP_USING_CAN
  20. config BSP_USING_CAN5
  21. bool "Enable CAN5"
  22. default y
  23. config BSP_USING_CAN6
  24. bool "Enable CAN6"
  25. default y
  26. config BSP_USING_CAN7
  27. bool "Enable CAN7"
  28. default y
  29. config BSP_USING_CAN8
  30. bool "Enable CAN8"
  31. default y
  32. config BSP_USING_CAN9
  33. bool "Enable CAN9"
  34. default y
  35. endif
  36. menuconfig BSP_USING_UART
  37. bool "Enable UART"
  38. default y
  39. depends on RT_USING_SERIAL
  40. depends on RT_USING_SERIAL_V2
  41. if BSP_USING_UART
  42. config BSP_USING_UART4
  43. bool "Enable UART4 (Debugger)"
  44. default y
  45. if BSP_USING_UART4
  46. config BSP_UART4_RX_BUFSIZE
  47. int "Set UART4 RX buffer size"
  48. range 64 65535
  49. default 1024
  50. config BSP_UART4_TX_BUFSIZE
  51. int "Set UART4 TX buffer size"
  52. range 0 65535
  53. default 0
  54. endif
  55. config BSP_USING_UART5
  56. bool "Enable UART5"
  57. default n
  58. if BSP_USING_UART5
  59. config BSP_UART5_RX_BUFSIZE
  60. int "Set UART5 RX buffer size"
  61. range 64 65535
  62. default 1024
  63. config BSP_UART5_TX_BUFSIZE
  64. int "Set UART5 TX buffer size"
  65. range 0 65535
  66. default 0
  67. endif
  68. config BSP_USING_UART6
  69. bool "Enable UART6"
  70. default n
  71. if BSP_USING_UART6
  72. config BSP_UART6_RX_BUFSIZE
  73. int "Set UART6 RX buffer size"
  74. range 64 65535
  75. default 1024
  76. config BSP_UART6_TX_BUFSIZE
  77. int "Set UART6 TX buffer size"
  78. range 0 65535
  79. default 0
  80. endif
  81. endif
  82. endmenu