Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/flash/negative_tests/src/
Dmain.c30 #define TEST_FLASH_START (DT_REG_ADDR(DT_MEM_FROM_FIXED_PARTITION(DT_NODELABEL(TEST_AREA)))) macro
33 #define TEST_FLASH_START (DT_REG_ADDR(DT_PARENT(DT_PARENT(DT_NODELABEL(TEST_AREA))))) macro
62 TC_PRINT("TEST_FLASH_START = 0x%lx\n", (unsigned long)TEST_FLASH_START); in flash_driver_setup()
92 rc = flash_erase(flash_dev, (TEST_FLASH_START - page_info.size), page_info.size); in ZTEST()
96 rc = flash_erase(flash_dev, (TEST_FLASH_START + TEST_FLASH_SIZE), page_info.size); in ZTEST()
125 rc = flash_fill(flash_dev, fill_val, (TEST_FLASH_START - page_info.size), page_info.size); in ZTEST()
129 rc = flash_fill(flash_dev, fill_val, (TEST_FLASH_START + TEST_FLASH_SIZE), page_info.size); in ZTEST()
159 rc = flash_flatten(flash_dev, (TEST_FLASH_START - page_info.size), page_info.size); in ZTEST()
163 rc = flash_flatten(flash_dev, (TEST_FLASH_START + TEST_FLASH_SIZE), page_info.size); in ZTEST()
194 rc = flash_read(flash_dev, (TEST_FLASH_START - page_info.size), read_buf, EXPECTED_SIZE); in ZTEST()
[all …]