Home
last modified time | relevance | path

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

/AliOS-Things-master/components/genie_service/genie_port/hal/
A Dgenie_hal_flash.c160 uint8_t data_read[32] = {0}; in hal_flash_write_test() local
183 memset(data_read, 0, 32); in hal_flash_write_test()
186 memset(data_read, 0, 32); in hal_flash_write_test()
187 ret = hal_flash_read(HAL_PARTITION_PARAMETER_2, &offset, (uint8_t *)(data_read), 32); in hal_flash_write_test()
193 if (memcmp(data, data_read, 32)) in hal_flash_write_test()
216 memset(data_read, 0, 32); in hal_flash_write_test()
219 … ret = hal_flash_read(HAL_PARTITION_PARAMETER_2, &offset, (uint8_t *)(data_read + i % 32), 1); in hal_flash_write_test()
227 if (memcmp(data, data_read, 32)) in hal_flash_write_test()
232 memset(data_read, 0, 32); in hal_flash_write_test()

Completed in 2 milliseconds