earlephilhower / arduino-littlefs-upload

Build and uploads LittleFS filesystems for the Arduino-Pico RP2040, ESP8266, and ESP32 cores under Arduino IDE 2.2.1 or higher
MIT License
96 stars 9 forks source link

No data folder found #31

Closed markingle closed 2 months ago

markingle commented 2 months ago

I am using an ESP32 Dev Module running Arduino 2.3.2. I have the following data directory with my sketch

C:\Users\marka\Documents\Arduino\Aerator_Livewell_Switch\data

earlephilhower commented 2 months ago

This is an IDE glitch, nothing to do here. See the workaround for the serial port, the same should work here.

markingle commented 2 months ago

Hello! The fix suggested does not work for me. The plugin still indicates a missing data folder

markingle commented 2 months ago

image

image

earlephilhower commented 2 months ago

Try building the sketch once before doing the upload. Either the IDE isn't reporting the proper value for the sketch directory, or it doesn't have permission to access files inside it (i.e. I've heard that OneDrive folders are sometimes weird that way).

earlephilhower commented 2 months ago

You can also try the more verbose version I just threw together which may shed some light on your particular problem. Remove the 1.1.5 and download and install the 1.1.6 version and restart things and re-run.

https://github.com/earlephilhower/arduino-littlefs-upload/raw/talkie/arduino-littlefs-upload-1.1.6.vsix

markingle commented 2 months ago

Thank you! I will give it a try now

markingle commented 2 months ago

Thank you for taking the time to provide some logging output! I had embedded the sketch directory within itself somehow.....It could only be seen in the logging.

image

markingle commented 2 months ago

I recommend keeping the log output... image

markingle commented 2 months ago

Let me know if you have a Paypal so that I can buy you a beer!

earlephilhower commented 2 months ago

Great, thanks for the follow up! I've made that new version the release one and it'll hopefully make everyone's life easier.