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:
Martin Vychodil
2022-10-14 14:15:32 +02:00
parent 54d0d870a6
commit c9c7573f71
78 changed files with 269 additions and 87 deletions

View File

@@ -59,6 +59,9 @@ set(extra_components_which_shouldnt_be_included
mbedtls
# partition_table is pulled in by app_update, esptool_py, bootloader; all to be removed
partition_table
# esp_partition is a new component for separated IDF partition APIs. Added due to its involvement in the spi_flash
# code. To be possibly removed (?)
esp_partition
# pthread is required by esp_system (for initialization only, can be made a weak dependency)
# and cxx. See also [refactor-todo] about cxx, can it work without pthread?
pthread

View File

@@ -1,3 +1,3 @@
idf_component_register(SRCS "test_panic_main.c"
INCLUDE_DIRS "."
REQUIRES spi_flash esp_system)
REQUIRES spi_flash esp_system esp_partition)