Page 1 of 1

How to view serial monitor in Eclipse?

Posted: Sun Jan 05, 2020 1:48 am
by bitbang3r
I have an ESP32 project in Eclipse, with a "flash" Build Target.

If I right-click the 'flash' build target, it successfully builds and deploys to the ESP32.

If I subsequently launch 'make monitor' in MinGW32, it displays the output.

HOWEVER... if I try to do the same thing while 'make monitor' is ALREADY running, I get an error (because the serial port is already in use).

Is there some way to open a serial monitor window in Eclipse itself that knows enough to close and release its serial connection and get out of the way while I'm running Build->flash, then automatically re-establish the connection when it's finished?

Re: How to view serial monitor in Eclipse?

Posted: Tue Jan 07, 2020 4:35 am
by username
I had the same issue. I know it can be done because when using PlatformIO, it does close the comport then upload then re-open the comport.

Re: How to view serial monitor in Eclipse?

Posted: Wed Jan 08, 2020 10:21 pm
by ESP_igrr
Automatic switching between flashing and monitoring should work in the IDF eclipse plugin: https://github.com/espressif/idf-eclips ... /README.md

However this doesn't use the GNU Make build system and Msys, and requires IDF v4.x and CMake build system.