Hi Sara and Rui,
I use you eBook « Build WebServer with ESP32 and ESP8266 »
I have tested many examples of this book with a mac book. All works perfectly.
Now, I have just installed a Raspberry pi4 with Ubuntu / platform IO.
I Try to upload the example 3.1 Display Sensor Reading (SSE) page 312.
Upload of the main is Ok but bad for the SPIFFS.I get the following error :
Building SPIFFS image from ‘data’ directory to .pio/build/esp32doit-devkit-v1/spiffs.bin
sh: 1: mkspiffs_espressif32_arduino: not found
*** [.pio/build/esp32doit-devkit-v1/spiffs.bin] Error 127
may I have some help please ?
Best regards,
JM HAUTION
Hi.
I haven’t found any information about that error :/
Does that happen only with that specific project or with all projects that you try to upload the data?
Regards,
Sara
Hi Sara, Thanks for your answer.
It Happens using platformio with all projects when i build Filesystem Image before to upload it in the ESP32.
Now, I have added the 99-platformio-udev.rules at the right place and have got a mkspiffs file but i don’t know where to store it.
Some issue ?
Thanks a lot,
Regards,
JMH
Hi again.
Taking a look at the error, it seems that it should be on this directory: .pio/build/esp32doit-devkit-v1/
However, I don’t know why you need to do this procedure, because it should work without having to do that.
Regards,
Sara
Hello,
I crossed the same problem today and after half a day I found the solution here:
https://github.com/philbowles/ESPAsyncWebServer/issues/3
It seems there is a missing update in a file. There was a “solution” to use the 4.5.0 version (today is 5.1.1) of the espressif32 plateform by forcing its use with adding
platform = espressif32@4.5.0
in the plateformio.ini file, this is the first that works. BUT then it blocs at the filesystem image building.
So, the above solution ask to change 3 lines in the file
<your project>/.pio/libdeps…/ESP Async…/src/WebAuthentification.cpp
Change these 3 lines :
mbedtls_md5_starts(&_ctx);
mbedtls_md5_update(&_ctx, data, len);
mbedtls_md5_finish(&_ctx, _buf);
by:
mbedtls_md5_starts_ret(&_ctx);
mbedtls_md5_update_ret(&_ctx, data, len);
mbedtls_md5_finish_ret(&_ctx, _buf);
Then save it (Ctrl+s).
As long as they do not correct the bug, this will burn other neurones…
Kind regards,
Mathias