esp-idf/tools/mocks/esp_partition/CMakeLists.txt
Martin Vychodil c9c7573f71 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
2022-11-02 21:54:45 +01:00

9 lines
318 B
CMake

message(STATUS "building ESP_PARTITION MOCKS")
idf_component_get_property(original_esp_partition_dir esp_partition COMPONENT_OVERRIDEN_DIR)
idf_component_mock(INCLUDE_DIRS "${original_esp_partition_dir}/include"
REQUIRES spi_flash
MOCK_HEADER_FILES
${original_esp_partition_dir}/include/esp_partition.h)