Hi.
I am working on a product that will use the ESP32 and the SPIFFS. I am using the ESP32 for it's size, speed, and the 4Mb FLASH memory attached to it. There will be No Bluetooth or Wifi usage.
I will be creating a stand alone Windows GUI application to enable the end user to update file parameters, and upload images on to the 4MB FLASH.
What I really need is an executable that I can run to
1. Download the SPIFFS image via a serial (USB) connection to a directory and unpack it
2. Repack and then upload the SPIFFS image back to the ESP32 over the USB serial connection.
For ease of installing it would be great if I did not have to tell my end users to install python/esptools/libraries etc.
I will also state again.. No Bluetooth/Wifi - communications only by USB Serial.
Can anyone help? This has been searched for many times on the net but no results found that will fulfil these criteria. I will be interested in commissioning someone if necessary to write this.
Dave
Stand Alone SPIFFS Utility
Re: Stand Alone SPIFFS Utility
Hi Marcwolf,
esptool is available as a Windows executable, which is distributed as part of the Arduino-esp32 project. You can also download it separately, the URL is present in arduino's package.json file: https://github.com/espressif/arduino-es ... e.json#L95
mkspiffs, which can pack and unpack SPIFFS images, is also available as a Windows executable: https://github.com/igrr/mkspiffs/releases. Be sure to pick the correct version depending on SPIFFS configuration: the default configuration used in ESP-IDF is different from the one used in arduino-esp32. So choose either mkspiffs-0.2.3-arduino-esp32-win32.zip
or mkspiffs-0.2.3-esp-idf-win32.zip, depending on what you use. If you had customized your SPIFFS configuration using menuconfig, then read https://github.com/igrr/mkspiffs#spiffs-configuration and build a custom version of mkspiffs to match that configuration.
I think once these 2 binaries are available, the rest of the logic can be written in your language of choice quite easily.
esptool is available as a Windows executable, which is distributed as part of the Arduino-esp32 project. You can also download it separately, the URL is present in arduino's package.json file: https://github.com/espressif/arduino-es ... e.json#L95
mkspiffs, which can pack and unpack SPIFFS images, is also available as a Windows executable: https://github.com/igrr/mkspiffs/releases. Be sure to pick the correct version depending on SPIFFS configuration: the default configuration used in ESP-IDF is different from the one used in arduino-esp32. So choose either mkspiffs-0.2.3-arduino-esp32-win32.zip
or mkspiffs-0.2.3-esp-idf-win32.zip, depending on what you use. If you had customized your SPIFFS configuration using menuconfig, then read https://github.com/igrr/mkspiffs#spiffs-configuration and build a custom version of mkspiffs to match that configuration.
I think once these 2 binaries are available, the rest of the logic can be written in your language of choice quite easily.
Re: Stand Alone SPIFFS Utility
Many many thanks for that.
I did a search for documentation etc and there seems to be a lot.
Do you have a quick example of taking a directory, making a SPIFFS image, and loading it on to a ESP32
I am getting a little confused by the -b -p parameters on the mkspiffs.exe
Again many thanks
I did a search for documentation etc and there seems to be a lot.
Do you have a quick example of taking a directory, making a SPIFFS image, and loading it on to a ESP32
I am getting a little confused by the -b -p parameters on the mkspiffs.exe
Again many thanks
Who is online
Users browsing this forum: No registered users and 159 guests