Skip to content

Commit

Permalink
Updated littlefs component dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ctag-fh-kiel committed Nov 24, 2023
1 parent d0f7c30 commit 094daf2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
[submodule "components/moog/MoogLadders"]
path = components/moog/MoogLadders
url = https://github.com/ctag-fh-kiel/MoogLadders.git
[submodule "components/esp_littlefs"]
path = components/esp_littlefs
url = https://github.com/joltwallet/esp_littlefs.git
[submodule "components/midi/midiXparser"]
path = components/midi/midiXparser
url = https://github.com/ctag-fh-kiel/midiXparser.git
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,6 @@ add_custom_target(copy-files ALL DEPENDS ${CMAKE_SOURCE_DIR}/spiffs_image
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/spiffs_image/data ${CMAKE_BINARY_DIR}/spiffs_image/dbup
)

include(managed_components/joltwallet__littlefs/project_include.cmake)
littlefs_create_partition_image(storage ${CMAKE_BINARY_DIR}/spiffs_image FLASH_IN_PROJECT DEPENDS copy-files)

6 changes: 3 additions & 3 deletions components/drivers/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
if(CONFIG_TBD_PLATFORM_MK2)
idf_component_register(SRCS fs.cpp led_rgb.cpp codec.cpp mk2.cpp ssd1306.c ssd1306_i2c.c
INCLUDE_DIRS "."
REQUIRES driver esp_littlefs)
REQUIRES driver )
elseif (CONFIG_TBD_PLATFORM_BBA)
idf_component_register(SRCS fs.cpp led_rgb_bba.cpp codec_bba.cpp es8388.cpp midiuart.cpp ssd1306.c ssd1306_i2c.c
INCLUDE_DIRS "."
REQUIRES driver esp_littlefs esp-dsp)
REQUIRES driver esp-dsp)
else()
idf_component_register(SRCS gpio.cpp adc.cpp fs.cpp led_rgb.cpp codec.cpp ssd1306.c ssd1306_i2c.c
INCLUDE_DIRS "."
REQUIRES ulp driver esp_littlefs)
REQUIRES ulp driver )

set(ulp_app_name ulp_${COMPONENT_NAME})

Expand Down
1 change: 1 addition & 0 deletions components/drivers/idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
## IDF Component Manager Manifest File
dependencies:
joltwallet/littlefs: "==1.10.2"
espressif/led_strip: "^2.4.1"
1 change: 0 additions & 1 deletion components/esp_littlefs
Submodule esp_littlefs deleted from 357d0f
1 change: 1 addition & 0 deletions main/idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## IDF Component Manager Manifest File
dependencies:
joltwallet/littlefs: "==1.10.2"
espressif/mdns: "*"
## Required IDF version
idf:
Expand Down

0 comments on commit 094daf2

Please sign in to comment.