Hello everybody, I am new in this forum.
I was also hit but this issue but I used putty as a workaround. Nonetheless, after seeing rudi's post I looked around a bit:
The error is located in esp-idf/components/esptool_py/Makefile.projbuild:92
Looking into github file history:
https://github.com/espressif/esp-idf/co ... 9a8e8e519a
I found:
Code: Select all
- $(PYTHON) -m serial.tools.miniterm --rts 0 --dtr 0 --raw $(ESPPORT) $(MONITORBAUD)
+ $(summary) MONITOR
+ [ -f $(APP_ELF) ] || echo "*** 'make monitor' target requires an app to be compiled and flashed first."
+ [ -f $(APP_ELF) ] || echo "*** Run 'make flash monitor' to build, flash and monitor"
+ [ -f $(APP_ELF) ] || echo "*** Or alternatively 'make simple_monitor' to view the serial port as-is."
+ [ -f $(APP_ELF) ] || exit 1
+ $(MONITOR_PYTHON) $(IDF_PATH)/tools/idf_monitor.py --port $(ESPPORT) --make "$(MAKE)" $(APP_ELF)
I commented out the current line 92
Code: Select all
$(MONITOR_PYTHON) $(IDF_PATH)/tools/idf_monitor.py --port $(ESPPORT) --make "$(MAKE)" $(APP_ELF)
and pasted in the old version:
Code: Select all
$(PYTHON) -m serial.tools.miniterm --rts 0 --dtr 0 --raw $(ESPPORT) $(MONITORBAUD)
and now it works for me, until the new code is corrected.