Kconfig 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. menu "Utest Serial Testcase"
  2. config UTEST_SERIAL_TC
  3. bool "Serial testcase"
  4. default n
  5. if UTEST_SERIAL_TC
  6. config RT_SERIAL_TC_DEVICE_NAME
  7. string "the device name for serial test"
  8. default "uart2"
  9. config RT_SERIAL_TC_RXBUF_SIZE
  10. int "the rx buffer size for serial test"
  11. default 128
  12. config RT_SERIAL_TC_TXBUF_SIZE
  13. int "the tx buffer size for serial test"
  14. default 128
  15. config RT_SERIAL_TC_SEND_ITERATIONS
  16. int "the number of iterations for the test routine."
  17. default 100
  18. config UTEST_SERIAL_QEMU_TC
  19. bool "qemu dedicated tests"
  20. default n
  21. config UTEST_SERIAL_POSIX_TC
  22. bool "Serial posix testcase"
  23. default n
  24. select RT_USING_DFS
  25. select RT_USING_POSIX_FS
  26. select RT_USING_POSIX_TERMIOS
  27. if UTEST_SERIAL_POSIX_TC
  28. config RT_SERIAL_POSIX_TC_DEVICE_NAME
  29. string "the device name for serial posix test"
  30. default "dev/uart2"
  31. config RT_SERIAL_POSIX_TC_SEND_ITERATIONS
  32. int "the number of iterations for the posix test routine."
  33. default 100
  34. endif
  35. endif
  36. endmenu