Kconfig 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. menu "Serial Test"
  2. config RT_UTEST_SERIAL_BYPASS
  3. bool "Serial Bypass Test"
  4. default n
  5. depends on RT_USING_SERIAL_BYPASS
  6. help
  7. Run tests validating the serial bypass feature.
  8. config RT_UTEST_SERIAL_V2
  9. bool "Serial V2 Test"
  10. default n
  11. depends on RT_USING_SERIAL_V2
  12. help
  13. Build testcases covering the Serial V2 core (buffer strategies, DMA).
  14. if RT_UTEST_SERIAL_V2
  15. config RT_SERIAL_TC_DEVICE_NAME
  16. string "Device Name for Serial Test"
  17. default "uart2"
  18. help
  19. UART device name used by the V2 testcases.
  20. config RT_SERIAL_TC_RXBUF_SIZE
  21. int "RX Buffer Size for Serial Test"
  22. default 128
  23. help
  24. Receive buffer size used during V2 tests.
  25. config RT_SERIAL_TC_TXBUF_SIZE
  26. int "TX Buffer Size for Serial Test"
  27. default 128
  28. help
  29. Transmit buffer size used during tests.
  30. config RT_SERIAL_TC_SEND_ITERATIONS
  31. int "Number of Iterations for Test Routines"
  32. default 100
  33. help
  34. How many times each test loop runs; raise for stress testing.
  35. config RT_UTEST_SERIAL_QEMU
  36. bool "QEMU Dedicated Test"
  37. default n
  38. help
  39. Enable extra scenarios tailored for QEMU environments.
  40. config RT_UTEST_SERIAL_POSIX
  41. bool "Serial POSIX Test"
  42. default n
  43. select RT_USING_DFS
  44. select RT_USING_POSIX_FS
  45. select RT_USING_POSIX_TERMIOS
  46. help
  47. Include POSIX-style serial tests that rely on DFS and termios.
  48. if RT_UTEST_SERIAL_POSIX
  49. config RT_SERIAL_POSIX_TC_DEVICE_NAME
  50. string "Device Name for Serial POSIX Test"
  51. default "dev/uart2"
  52. help
  53. Path used by the POSIX testcases to open the serial device.
  54. config RT_SERIAL_POSIX_TC_SEND_ITERATIONS
  55. int "Number of Iterations for POSIX Test Routines"
  56. default 100
  57. help
  58. Iteration count for the POSIX test loops.
  59. endif
  60. endif
  61. endmenu