mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2026-03-09 05:20:21 +00:00
add(storage): implement LittleFS initialization and static file handling
This commit is contained in:
parent
99cb820b0c
commit
cac63b10d7
8 changed files with 189 additions and 38 deletions
|
|
@ -11,10 +11,7 @@ include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|||
|
||||
project(dmx-interface)
|
||||
|
||||
# Disable filesystem image creation for now
|
||||
# Can be enabled later when data/ folder is properly configured
|
||||
if(FALSE)
|
||||
if(COMMAND littlefs_create_partition_image)
|
||||
littlefs_create_partition_image(storage ${CMAKE_SOURCE_DIR}/data FLASH_IN_PROJECT)
|
||||
endif()
|
||||
# Enable LittleFS filesystem image creation for web assets
|
||||
if(COMMAND littlefs_create_partition_image)
|
||||
littlefs_create_partition_image(storage ${CMAKE_SOURCE_DIR}/data FLASH_IN_PROJECT)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue