feat(spiffs): Bring from esp-idf

Commit ID: 13018449
This commit is contained in:
dongheng
2019-03-15 14:38:36 +08:00
parent 3827caebc4
commit 9b2d10bdce
52 changed files with 11321 additions and 923 deletions

View 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);
}