me-no-dev / arduino-esp32fs-plugin

Arduino plugin for uploading files to ESP32 file system
GNU General Public License v2.0
544 stars 144 forks source link

Is the ESP32-C3 Supported? #49

Closed digamesystems closed 1 year ago

digamesystems commented 1 year ago

I've been using your nifty plugin for some time in the Arduino IDE (v 1.8.19) for using SPIFFS in my projects.

I recently bought the cute XAIO dev board with an ESP32-C3 processor. The application compiles fine, but when I try to upload the contents of the data directory using the 'ESP32 Sketch Data Upload' option under tools, I get the following:

[SPIFFS] data : C:\Users\johnp\OneDrive\Documents\Arduino\DigameTRAFx_2\data [SPIFFS] start : 3997696 [SPIFFS] size : 128 [SPIFFS] page : 256 [SPIFFS] block : 4096 /Digame_Logo_Full_Color.png /Digame_Logo_Full_Color_2.jpg /favicon.ico /index.html /style.css [SPIFFS] upload : C:\Users\johnp\AppData\Local\Temp\arduino_build_962618/DigameTRAFx_2.spiffs.bin [SPIFFS] address: 3997696 [SPIFFS] port : COM5 [SPIFFS] speed : 921600 [SPIFFS] mode : dio [SPIFFS] freq : 80m

esptool.py v4.5.1 Serial port COM5 Connecting....

A fatal error occurred: This chip is ESP32-C3 not ESP32. Wrong --chip argument? SPIFFS Upload failed!

Is there a way for me to change the target chip from ESP32 to ESP32-C3?

Many thanks for a very useful plugin!

digamesystems commented 1 year ago

Just saw #35 -- The patch fixed my issue. Thanks to all.