joltwallet / esp_littlefs

LittleFS port for ESP-IDF
MIT License
254 stars 95 forks source link

littlefs_create_partition_image not found #160

Closed ctag-fh-kiel closed 9 months ago

ctag-fh-kiel commented 9 months ago

Hi,

I use esp_littlefs as managed component in my project through the idf_component.yml file. However, when I want to use littlefs_create_partition_image() in my base CMakeLists.txt file, littlefs_create_partition_image is not found.

What I am missing, is this an issue?

Thanks for any help

ctag-fh-kiel commented 9 months ago

I have added this before the littlefs_create... statement, then it works: include(managed_components/joltwallet__littlefs/project_include.cmake)

ok?

BrianPugh commented 9 months ago

that's expected behavior for esp-idf's build system.

ctag-fh-kiel commented 9 months ago

Great, it may help to add this as a hint for using esp_littlefs with managed components.