summaryrefslogtreecommitdiff
path: root/examples/utest/testcases/drivers/serial_v2/Kconfig
blob: f00d7311ac5c47db44dff9ebf979609b7bf586a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
menu "Utest Serial Testcase"

    config UTEST_SERIAL_TC
        bool "Serial testcase"
        default n

    if UTEST_SERIAL_TC

        config RT_SERIAL_TC_DEVICE_NAME
            string "the device name for serial test"
            default "uart2"

        config RT_SERIAL_TC_RXBUF_SIZE
            int "the rx buffer size for serial test"
            default 128

        config RT_SERIAL_TC_TXBUF_SIZE
            int "the tx buffer size for serial test"
            default 128

        config RT_SERIAL_TC_SEND_ITERATIONS
            int "the number of iterations for the test routine."
            default 100

        config UTEST_SERIAL_QEMU_TC
            bool "qemu dedicated tests"
            default n

        config UTEST_SERIAL_POSIX_TC
            bool "Serial posix testcase"
            default n
            select RT_USING_DFS
            select RT_USING_POSIX_FS
            select RT_USING_POSIX_TERMIOS

        if UTEST_SERIAL_POSIX_TC

            config RT_SERIAL_POSIX_TC_DEVICE_NAME
            string "the device name for serial posix test"
            default "dev/uart2"

            config RT_SERIAL_POSIX_TC_SEND_ITERATIONS
                int "the number of iterations for the posix test routine."
                default 100

        endif

    endif

endmenu