Lines Matching refs:TEST_AREA_OFFSET
15 #define TEST_AREA_OFFSET FIXED_PARTITION_OFFSET(TEST_AREA) macro
17 #define TEST_AREA_MAX (TEST_AREA_OFFSET + TEST_AREA_SIZE)
58 zassert_true((TEST_AREA_OFFSET + EXPECTED_SIZE) < TEST_AREA_MAX, in flash_stm32_setup()
66 rc = sector_mask_from_offset(flash_dev, TEST_AREA_OFFSET, EXPECTED_SIZE, in flash_stm32_setup()
71 TEST_AREA_OFFSET, EXPECTED_SIZE, sector_mask); in flash_stm32_setup()
92 rc = flash_read(flash_dev, TEST_AREA_OFFSET, buf, EXPECTED_SIZE); in flash_stm32_setup()
105 rc = flash_erase(flash_dev, TEST_AREA_OFFSET, EXPECTED_SIZE); in flash_stm32_setup()
134 rc = flash_write(flash_dev, TEST_AREA_OFFSET, expected, EXPECTED_SIZE); in ZTEST()
138 rc = flash_read(flash_dev, TEST_AREA_OFFSET, buf, EXPECTED_SIZE); in ZTEST()
156 rc = flash_write(flash_dev, TEST_AREA_OFFSET, expected, EXPECTED_SIZE); in ZTEST()
160 rc = flash_read(flash_dev, TEST_AREA_OFFSET, buf, EXPECTED_SIZE); in ZTEST()