Home
last modified time | relevance | path

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

/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/flash/
A Dflash_test.c13 #define TEST_BUFFER_WORDS 512 macro
15 uint16_t flash_test_buffer[TEST_BUFFER_WORDS];
50 for (i = 0; i < partition_info->partition_length / (TEST_BUFFER_WORDS * sizeof(uint16_t)); i++) in hal_flash_test()
52 …ret = hal_flash_read(HAL_PARTITION_TEST, &off_set, flash_test_buffer, (TEST_BUFFER_WORDS * sizeof(… in hal_flash_test()
59 for (j = 0; j < TEST_BUFFER_WORDS; j++) { in hal_flash_test()
71 for (i = 0; i < partition_info->partition_length / (TEST_BUFFER_WORDS * sizeof(uint16_t)); i++) in hal_flash_test()
73 for (j = 0; j < TEST_BUFFER_WORDS; j++) { in hal_flash_test()
74 flash_test_buffer[j] = j + i * TEST_BUFFER_WORDS; in hal_flash_test()
89 for (i = 0; i < partition_info->partition_length / (TEST_BUFFER_WORDS * sizeof(uint16_t)); i++) in hal_flash_test()
98 for (j = 0; j < TEST_BUFFER_WORDS; j++) { in hal_flash_test()
[all …]

Completed in 2 milliseconds