earlephilhower / arduino-littlefs-upload

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

esptool not found #23

Closed aziemer closed 5 months ago

aziemer commented 5 months ago

First of all: thank you for your plugin, as it is the only (easy) way to upload to the SPIFFS area on the ESP.

But... your plugin tries to call the Python version of the ESP Tool (esptool.py) - which is not installed, there is only the compiled version in the tools folder.

I'm on a Mac mini with M2 processor and Arduino IDE 2.3.2.

If your plugin would i.e. call

/Users/aziemer/Library/Arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool

instead of

python3 /Users/aziemer/Library/Arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool.py

it should work. I don't know, if this is specific to the Mac with arm64 architecture or not.

best regards Andreas

earlephilhower commented 5 months ago

Can you give the VSIX in #24 a try and report back? I don't have a Mac so can't do any testing there, but I think this will make it call the right command now.

aziemer commented 5 months ago

Your fix works perfect! THANK YOU VERY MUCH - especially for your fast reply !

best regards Andreas