mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
spi_flash: Enable flash emulation down to ROM function calls
This commit is contained in:
7
components/spiffs/test_spiffs_host/test_utils.c
Normal file
7
components/spiffs/test_spiffs_host/test_utils.c
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "esp_spi_flash.h"
|
||||
#include "esp_partition.h"
|
||||
|
||||
void init_spi_flash(size_t chip_size, size_t block_size, size_t sector_size, size_t page_size, const char* partition_bin)
|
||||
{
|
||||
spi_flash_init(chip_size, block_size, sector_size, page_size, partition_bin);
|
||||
}
|
Reference in New Issue
Block a user