thunderace / Esp8266-Arduino-Makefile

Makefile to build arduino code for ESP8266/ESP32x under linux (tested on debian X64)
34 stars 20 forks source link

upload_fs command incorrect #30

Closed mwinters-stuff closed 4 years ago

mwinters-stuff commented 4 years ago

Getting around the other issue by commenting out the ifeq, The upload to file system fails with missing parameters..

Changed from

$(ESPTOOL) $(ESPTOOL_VERBOSE) -cd $(UPLOAD_RESETMETHOD) -cb $(UPLOAD_SPEED) -cp $(SERIAL_PORT) -ca $(SPIFFS_START) -cf $(FS_IMAGE) to:

$(PYTHON) $(UPLOADTOOL) --chip esp8266 --port $(SERIAL_PORT) --baud $(UPLOAD_SPEED) write_flash $(SPIFFS_START) $(FS_IMAGE) --end

Seems to work good

thunderace commented 4 years ago

Fixed by 1e1ae93d3925d5340226dc1960fd420844cddb81