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