refactor: remove dependency on spi_flash include for sector size
This commit is contained in:
@@ -17,7 +17,7 @@ idf_component_register(SRCS ${srcs}
|
||||
INCLUDE_DIRS "include"
|
||||
PRIV_INCLUDE_DIRS "." "spiffs/src"
|
||||
REQUIRES esp_partition
|
||||
PRIV_REQUIRES ${pr} spi_flash)
|
||||
PRIV_REQUIRES ${pr})
|
||||
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "GNU")
|
||||
set_source_files_properties(spiffs/src/spiffs_nucleus.c PROPERTIES COMPILE_FLAGS -Wno-stringop-truncation)
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include "spiffs_nucleus.h"
|
||||
#include "esp_log.h"
|
||||
#include "esp_partition.h"
|
||||
#include "spi_flash_mmap.h"
|
||||
#include "esp_image_format.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
|
||||
Reference in New Issue
Block a user