Home
last modified time | relevance | path

Searched refs:TEST_DATA_SIZE (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/tests/drivers/i2c/i2c_target_api/src/
Dmain.c24 #define TEST_DATA_SIZE 20 macro
25 static const uint8_t eeprom_0_data[TEST_DATA_SIZE] = "0123456789abcdefghij";
26 static const uint8_t eeprom_1_data[TEST_DATA_SIZE] = "jihgfedcba9876543210";
27 static uint8_t i2c_buffer[TEST_DATA_SIZE];
33 uint8_t buffer_print_eeprom[TEST_DATA_SIZE * 5 + 1];
34 uint8_t buffer_print_i2c[TEST_DATA_SIZE * 5 + 1];
54 ret = i2c_burst_read(i2c, addr, 0, i2c_buffer, TEST_DATA_SIZE); in run_full_read()
57 if (memcmp(i2c_buffer, comp_buffer, TEST_DATA_SIZE)) { in run_full_read()
58 to_display_format(i2c_buffer, TEST_DATA_SIZE, in run_full_read()
60 to_display_format(comp_buffer, TEST_DATA_SIZE, in run_full_read()
[all …]
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/
Dtest_replay_cache.c19 #define TEST_DATA_SIZE 20 macro
30 static uint8_t test_data[TEST_DATA_SIZE];