mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-09-21 05:02:23 +08:00
feat(spiffs): Bring from esp-idf
Commit ID: 13018449
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(const char* 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