Skip to content

Commit 7c2f4ea

Browse files
committed
actually rename esp_littlefs -> littlefs to match managed component for better build
1 parent f90bd04 commit 7c2f4ea

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
path = components/serialization/detail/alpaca
66
url = https://github.com/p-ranav/alpaca
77
[submodule "components/esp_littlefs"]
8-
path = components/esp_littlefs
8+
path = components/littlefs
99
url = https://github.com/joltwallet/esp_littlefs
1010
[submodule "components/lvgl"]
1111
path = components/lvgl

components/file_system/CMakeLists.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
# Determine whether file_system is fetched from component registry or from local path
2-
idf_build_get_property(build_components BUILD_COMPONENTS)
3-
if(file_system IN_LIST build_components)
4-
set(required_littlefs_name esp_littlefs) # Local component
5-
else()
6-
set(required_littlefs_name littlefs) # Managed component
7-
endif()
8-
9-
101
idf_component_register(
112
INCLUDE_DIRS "include"
123
SRC_DIRS "src"
13-
REQUIRES base_component ${required_littlefs_name} spi_flash)
4+
REQUIRES base_component littlefs spi_flash)

0 commit comments

Comments
 (0)