mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
Storage: Partition APIs moved to the new component 'esp_partition'
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
idf_component_register(SRCS test_wl.c
|
||||
PRIV_INCLUDE_DIRS .
|
||||
PRIV_REQUIRES wear_levelling unity
|
||||
PRIV_REQUIRES wear_levelling unity spi_flash
|
||||
EMBED_FILES test_partition_v1.bin
|
||||
)
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include "esp_private/esp_clk.h"
|
||||
#include "sdkconfig.h"
|
||||
#include "esp_cpu.h"
|
||||
#include "spi_flash_mmap.h"
|
||||
|
||||
|
||||
TEST_GROUP(wear_levelling);
|
||||
|
||||
Reference in New Issue
Block a user