esp8266 / arduino-esp8266fs-plugin

Arduino plugin for uploading files to ESP8266 file system
GNU General Public License v2.0
706 stars 214 forks source link

SPIFFS file path upload error #83

Closed The-Techy closed 3 years ago

The-Techy commented 3 years ago

When I try to upload something to a WeMos D1 Mini using this tool I get Error in command line, need pyserial path as 1st arg and esptool path as 2nd. and the upload fails. I am on a Mac and am using the latest version of the Arduino IDE as well as this plugin. From what I gather, the file paths to some things are in the wrong order, but I am a beginner so I have no idea how to fix this. Any ideas?

The-Techy commented 3 years ago

Here is the full error (my name has been replaced with the text name for privacy)

Arduino: 1.8.13 (Mac OS X), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:1MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 460800"

[SPIFFS] data    : /Users/name/Documents/wemos_code/data
[SPIFFS] size    : 1000
[SPIFFS] page    : 256
[SPIFFS] block   : 8192
/favicon.ico
/css/bootstrap.min.css
/css/styles.css
/css/dark-mode.css
/css/minicolors.min.css
/images/atom196.png
/images/github.ico
/images/surr.png
/js/dark-mode-switch.min.js
/js/r-websocket.min.js
/js/bootstrap.min.js
/js/jquery-3.1.1.min.js
/js/minicolors.min.js
/js/app.js
/index.htm
/fonts/glyphicons.woff2
[SPIFFS] upload  : /var/folders/k5/vtb2y3j92qs38gl_dxdkql3r0000gq/T/arduino_build_846103/wemos_code.spiffs.bin
[SPIFFS] address  : 0x300000
[SPIFFS] reset    : --before default_reset --after hard_reset
[SPIFFS] port     : /dev/cu.usbserial-14510
[SPIFFS] speed    : 460800
[SPIFFS] python   : /Users/name/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3
[SPIFFS] uploader : /Users/name/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.0/tools/upload.py

Error in command line, need pyserial path as 1st arg and esptool path as 2nd.
SPIFFS Upload failed!
The-Techy commented 3 years ago

Fixed by using windows emulator so problem is with MacOS somewhere