Home
last modified time | relevance | path

Searched refs:tx_content (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/subsys/shell/shell_backend_uart/src/
Dmain.c57 uint8_t tx_content[SAMPLE_DATA_SIZE] = {0}; in ZTEST_F() local
64 uart_emul_get_tx_data(fixture->dev, tx_content, SAMPLE_DATA_SIZE); in ZTEST_F()
65 zassert_mem_equal(tx_content, "Zephyr version " KERNEL_VERSION_STRING, in ZTEST_F()
71 uint8_t tx_content[SAMPLE_DATA_SIZE] = {0}; in ZTEST_F() local
78 uart_emul_get_tx_data(fixture->dev, tx_content, SAMPLE_DATA_SIZE); in ZTEST_F()
79 zassert_mem_equal(tx_content, "cycles: ", strlen("cycles: ")); in ZTEST_F()
84 uint8_t tx_content[SAMPLE_DATA_SIZE] = {0}; in ZTEST_F() local
91 uart_emul_get_tx_data(fixture->dev, tx_content, SAMPLE_DATA_SIZE); in ZTEST_F()
92 zassert_mem_equal(tx_content, "Uptime: ", strlen("Uptime: ")); in ZTEST_F()
113 uint8_t tx_content[SAMPLE_DATA_SIZE] = {0}; in setup() local
[all …]
/Zephyr-latest/tests/subsys/logging/log_backend_uart/src/
Dmain.c59 static uint8_t tx_content[SAMPLE_DATA_SIZE]; in ZTEST_F() local
67 memset(tx_content, 0, sizeof(tx_content)); in ZTEST_F()
69 tx_len = uart_emul_get_tx_data(fixture->dev[i], tx_content, sizeof(tx_content)); in ZTEST_F()
73 zassert_mem_equal(tx_content, TEST_DATA, strlen(TEST_DATA)); in ZTEST_F()
/Zephyr-latest/tests/drivers/uart/uart_emul/src/
Dbus.c25 uint8_t tx_content[SAMPLE_DATA_SIZE]; member
68 memset(fixture->tx_content, 0, sizeof(fixture->tx_content)); in uart_emul_before()
92 uint8_t tx_content[SAMPLE_DATA_SIZE] = {0}; in ZTEST_F() local
99 tx_len = uart_emul_get_tx_data(fixture->dev, tx_content, sizeof(tx_content)); in ZTEST_F()
101 zassert_mem_equal(tx_content, fixture->sample_data, SAMPLE_DATA_SIZE); in ZTEST_F()
104 tx_len = uart_emul_get_tx_data(fixture->dev, tx_content, sizeof(tx_content)); in ZTEST_F()
207 tx_len = uart_emul_get_tx_data(fixture->dev, fixture->tx_content, SAMPLE_DATA_SIZE); in ZTEST_F()
209 zassert_mem_equal(fixture->tx_content, fixture->sample_data, SAMPLE_DATA_SIZE); in ZTEST_F()
212 tx_len = uart_emul_get_tx_data(fixture->dev, fixture->tx_content, in ZTEST_F()
213 sizeof(fixture->tx_content)); in ZTEST_F()
[all …]