earlephilhower / mklittlefs

Utility for creating LittleFS images for upload on the ESP8266 and RP2040 Pico
MIT License
147 stars 52 forks source link

FAILED:..esp_littlefs\mklittlefs && make dist" #33

Closed PassengerOfLastBus closed 1 year ago

PassengerOfLastBus commented 1 year ago

PS D:\esp-bsp\user\app\desktop> idf.py -p com6 flash Executing action: flash Running ninja in directory d:\esp-bsp\user\app\desktop\build Executing "ninja flash"... [1/11] Generating D:/esp-bsp/user/components/fs/esp_littlefs/mklittlefs/mklittlefs FAILED: D:/esp-bsp/user/components/fs/esp_littlefs/mklittlefs/mklittlefs cmd.exe /C "cd /D D:\esp-bsp\user\components\fs\esp_littlefs\mklittlefs && make dist" 'make' ڲⲿҲǿеij ļ [2/11] Linking C static library esp-idf\main\libmain.a [3/11] Performing build step for 'bootloader' [1/1] cmd.exe /C "cd /D D:\esp-bsp\user\app\desktop\build\bootloader\esp-idf\esptool_py && C:\Espressif\python_env\idf5.0_py3.8_env\Scripts\python.exe C:/Espressif/frameworks/esp-idf-v5.0/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 D:/esp-bsp/user/app/desktop/build/bootloader/bootloader.bin" Bootloader binary size 0x5060 bytes. 0x2fa0 bytes (37%) free. ninja: build stopped: subcommand failed. ninja failed with exit code 1, output of the command is in the d:\esp-bsp\user\app\desktop\build\log\idf_py_stderr_output_17680 and d:\esp-bsp\user\app\desktop\build\log\idf_py_stdout_output_17680 PS D:\esp-bsp\user\app\desktop>

my CMakelist: littlefs_create_partition_image(storage spiffs FLASH_IN_PROJECT)

my mklittlefs: 卷 Workspace 的文件夹 PATH 列表 卷序列号为 4E9C-CA2B D:. │ .gitignore │ .gitmodules │ build-cross.sh │ build_all_configs.sh │ dist │ File list.bat │ format.sh │ LICENSE.txt │ list.txt │ main.cpp │ Makefile │ README.md │ xmake.lua │
├─include │ spiffs_config.h │
└─tclap Arg.h ArgException.h ArgTraits.h CmdLine.h CmdLineInterface.h CmdLineOutput.h Constraint.h COPYING DocBookOutput.h HelpVisitor.h IgnoreRestVisitor.h MultiArg.h MultiSwitchArg.h OptionalUnlabeledTracker.h StandardTraits.h StdOutput.h SwitchArg.h UnlabeledMultiArg.h UnlabeledValueArg.h ValueArg.h ValuesConstraint.h VersionVisitor.h Visitor.h XorHandler.h ZshCompletionOutput.h

earlephilhower commented 1 year ago

This is not part of the ESP IDF, and the change kills the project.