Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/spi_flash/test/
Dtest_mmap.c129 const void *ptr3; variable
130 ESP_ERROR_CHECK( spi_flash_mmap(start, 0x10000, SPI_FLASH_MMAP_DATA, &ptr3, &handle3) );
131 printf("mmap_res: handle=%d ptr=%p\n", handle3, ptr3);
133 TEST_ASSERT_EQUAL_HEX32(start, spi_flash_cache2phys(ptr3));
134 TEST_ASSERT_EQUAL_PTR(ptr3, spi_flash_phys2cache(start, SPI_FLASH_MMAP_DATA));
135 …TEST_ASSERT_EQUAL_PTR((intptr_t)ptr3 + 0x4444, spi_flash_phys2cache(start + 0x4444, SPI_FLASH_MMAP…
196 const void *ptr3; variable
197 ESP_ERROR_CHECK( spi_flash_mmap(start, 0x10000, SPI_FLASH_MMAP_INST, &ptr3, &handle3) );
198 printf("mmap_res: handle=%d ptr=%p\n", handle3, ptr3);
200 TEST_ASSERT_EQUAL_HEX32(start, spi_flash_cache2phys(ptr3));
[all …]