I am trying to convert my the file system I use from spiffs to littlefs, however when I try to use the CMake function
Code: Select all
littlefs_create_partition_image(partition_name path_to_folder_containing_files)
Please note that I can compile littlefs programs with no issues if I do not try to create a partition using the cmake command.
I have also installed MinGW with make and gcc as described in the documentation of mklittlefs.
I would greatly appreciate any help that you can give me.
Have a great day!
ESP-IDF version 4.4
Target device: ESP32
[558/1009] cmd.exe /C "cd /D C:\Users\kc\eclipse-workspace\littlefs_try1\components\esp_littlefs\mklittlefs && make dist"
FAILED: ../components/esp_littlefs/mklittlefs/mklittlefs
cmd.exe /C "cd /D C:\Users\kc\eclipse-workspace\littlefs_try1\components\esp_littlefs\mklittlefs && make dist"
FIND: Parameter format not correct
'sed' is not recognized as an internal or external command,
operable program or batch file.
cc -std=gnu99 -Os -Wall -Itclap -Iinclude -Ilittlefs -I. -I ../src -D VERSION=\"0.2.3-40-ga14dabe\" -D LITTLEFS_VERSION=\"v2.4.1\" -D BUILD_CONFIG=\"\" -D BUILD_CONFIG_NAME=\"-generic\" -D __NO_INLINE__ -D LFS_NAME_MAX=32 -c -o ../src/littlefs/lfs.o ../src/littlefs/lfs.c
process_begin: CreateProcess(NULL, cc -std=gnu99 -Os -Wall -Itclap -Iinclude -Ilittlefs -I. -I ../src -D VERSION=\"0.2.3-40-ga14dabe\" -D LITTLEFS_VERSION=\"v2.4.1\" -D BUILD_CONFIG=\"\" -D BUILD_CONFIG_NAME=\"-generic\" -D __NO_INLINE__ -D LFS_NAME_MAX=32 -c -o ../src/littlefs/lfs.o ../src/littlefs/lfs.c, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [<builtin>: ../src/littlefs/lfs.o] Error 2