How to view serial monitor in Eclipse?

bitbang3r
Posts: 3
Joined: Sat May 26, 2018 12:17 am

How to view serial monitor in Eclipse?

Postby bitbang3r » Sun Jan 05, 2020 1:48 am

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?

username
Posts: 528
Joined: Thu May 03, 2018 1:18 pm

Re: How to view serial monitor in Eclipse?

Postby username » Tue Jan 07, 2020 4:35 am

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.

ESP_igrr
Posts: 2071
Joined: Tue Dec 01, 2015 8:37 am

Re: How to view serial monitor in Eclipse?

Postby ESP_igrr » Wed Jan 08, 2020 10:21 pm

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.

Who is online

Users browsing this forum: No registered users and 39 guests