1
0

Kconfig 787 B

123456789101112131415161718192021222324252627
  1. menuconfig RT_USING_SERIAL
  2. bool "USING Serial device drivers"
  3. select RT_USING_DEVICE_IPC
  4. select RT_USING_DEVICE
  5. default y
  6. if RT_USING_SERIAL
  7. choice
  8. prompt "Choice Serial version"
  9. default RT_USING_SERIAL_V1
  10. config RT_USING_SERIAL_V1
  11. bool "RT_USING_SERIAL_V1"
  12. config RT_USING_SERIAL_V2
  13. bool "RT_USING_SERIAL_V2"
  14. endchoice
  15. config RT_SERIAL_USING_DMA
  16. bool "Enable serial DMA mode"
  17. default y
  18. config RT_SERIAL_RB_BUFSZ
  19. int "Set RX buffer size"
  20. depends on !RT_USING_SERIAL_V2
  21. default 64
  22. config RT_USING_SERIAL_BYPASS
  23. bool "Using serial bypass"
  24. default n
  25. endif