make monitor

snikul
Posts: 7
Joined: Mon Oct 08, 2018 5:57 pm

make monitor

Postby snikul » Thu Oct 11, 2018 8:19 pm

I have just installed esp32_win32_msys2_environment_and_toolchain-20181001.zip for Windows (W10).
I need your friendly assistance to fix my Eclipse Photon MAKE MONITOR target error. I would appreciate any help! Regards
No errors when I make monitor in bash.
Flash target in Eclipse finished without errors.
# python --version
Python 2.7.15
# git describe --tags --dirty
v3.2-dev-1250-g221eced06
PATH in Eclipse "Environment to set" C:\msys32\usr\bin;C:\msys32\mingw32\bin;C:\msys32\opt\xtensa-esp32-elf\bin
winpty winpty.dll ... in C:\msys32\usr\bin from the box.
and the result with the error.
I tried hard reading forums with no success...

10:59:04 **** Build of configuration Default for project hello_world ****
python C:/msys32/home/Megauser/esp/esp-idf/tools/windows/eclipse_make.py -j2 monitor
stdin is not a tty
make: *** [/home/Megauser/esp/esp-idf/components/esptool_py/Makefile.projbuild:106: monitor] Error 1
Running make in 'C:/msys32/home/Megauser/esp/hello_world'
including C:/msys32/home/Megauser/esp/esp-idf/components/app_update/Makefile.projbuild...
including C:/msys32/home/Megauser/esp/esp-idf/components/bootloader/Makefile.projbuild...
including C:/msys32/home/Megauser/esp/esp-idf/components/bootloader_support/Makefile.projbuild...
including C:/msys32/home/Megauser/esp/esp-idf/components/coap/Makefile.projbuild...
including C:/msys32/home/Megauser/esp/esp-idf/components/esp32/Makefile.projbuild...
including C:/msys32/home/Megauser/esp/esp-idf/components/esptool_py/Makefile.projbuild...
including C:/msys32/home/Megauser/esp/esp-idf/components/mbedtls/Makefile.projbuild...
including C:/msys32/home/Megauser/esp/esp-idf/components/nghttp/Makefile.projbuild...
including C:/msys32/home/Megauser/esp/esp-idf/components/partition_table/Makefile.projbuild...
including C:/msys32/home/Megauser/esp/esp-idf/components/ulp/Makefile.projbuild...
Toolchain path: C:/msys32/opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a5
Compiler version: 5.2.0
python C:/msys32/home/Megauser/esp/esp-idf/tools/check_python_dependencies.py
Python requirements from C:/msys32/home/Megauser/esp/esp-idf/requirements.txt are satisfied.
[ -f C:/msys32/home/Megauser/esp/hello_world/build/hello-world.elf ] || echo "*** 'make monitor' target requires an app to be compiled and flashed first."
[ -f C:/msys32/home/Megauser/esp/hello_world/build/hello-world.elf ] || echo "*** Run 'make flash monitor' to build, flash and monitor"
[ -f C:/msys32/home/Megauser/esp/hello_world/build/hello-world.elf ] || echo "*** Or alternatively 'make simple_monitor' to view the serial port as-is."
[ -f C:/msys32/home/Megauser/esp/hello_world/build/hello-world.elf ] || exit 1
winpty python C:/msys32/home/Megauser/esp/esp-idf/tools/idf_monitor.py --baud 115200 --port "COM7" --toolchain-prefix "xtensa-esp32-elf-" --make "make" --print_filter "" C:/msys32/home/Megauser/esp/hello_world/build/hello-world.elf

11:06:15 Build Failed. 1 errors, 0 warnings. (took 7m:11s.88ms)

snikul
Posts: 7
Joined: Mon Oct 08, 2018 5:57 pm

Re: make monitor

Postby snikul » Fri Oct 12, 2018 6:51 am

What does it mean:
stdin is not a tty
make: *** [/home/Megauser/esp/esp-idf/components/esptool_py/Makefile.projbuild:106: monitor] Error 1

mklinux
Posts: 1
Joined: Fri Feb 04, 2022 10:56 am

Re: make monitor

Postby mklinux » Fri Feb 04, 2022 10:59 am

I also meet this error .

Who is online

Users browsing this forum: No registered users and 122 guests