mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-18 23:54:39 +00:00
spi_flash: support working on differnt buses and frequency
This commit is contained in:

committed by
bot

parent
ce4de867d6
commit
1036a091fe
@@ -200,7 +200,7 @@ TEST_CASE("Can mmap unordered pages into contiguous memory", "[spi_flash]")
|
||||
pages[i]=startpage+(nopages-1)-i;
|
||||
printf("Offset %x page %d\n", i*0x10000, pages[i]);
|
||||
}
|
||||
|
||||
|
||||
printf("Attempting mapping of unordered pages to contiguous memory area\n");
|
||||
|
||||
spi_flash_mmap_handle_t handle1;
|
||||
@@ -277,7 +277,7 @@ TEST_CASE("flash_mmap invalidates just-written data", "[spi_flash]")
|
||||
|
||||
TEST_CASE("flash_mmap can mmap after get enough free MMU pages", "[spi_flash]")
|
||||
{
|
||||
//this test case should make flash size >= 4MB, because max size of Dcache can mapped is 4MB
|
||||
//this test case should make flash size >= 4MB, because max size of Dcache can mapped is 4MB
|
||||
setup_mmap_tests();
|
||||
|
||||
printf("Mapping %x (+%x)\n", start, end - start);
|
||||
|
Reference in New Issue
Block a user