-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Monitor requires standard input to be attached to TTY (IDFGH-13306) #14233
Comments
Hi @EvgeniyVol, can you please provide some more details? How are you executing the monitor? Are you using some IDE shortcut? Or are you executing the command in the integrated terminal of IDE? If you are using some button in the IDE to execute the monitor, please make sure that you have followed the installation guide on the Clion website: https://www.jetbrains.com/help/clion/esp-idf.html Please ensure you can execute the monitor using the |
|
If everything works in the terminal, I am afraid that we cannot do anything about that from the ESP-IDF side. Please report the bug to CLion. |
It is interesting that the linked page has a video tutorial and this issue is not happening there. IDF Monitor requires STDIN to be connected to it from the very beginning because it is an interactive tool and is not just receiving but also sending characters to the ESP. So I guess something must have changed on the Clion side. I agree that this should be address on their side. However, we might think about to add a non-interactive mode for IDF Monitor in the future when it won't send anything and those related features would be disabled. Or if no STDIN is attached then disable those features with a warning. |
Maybe it will help someone, https://youtrack.jetbrains.com/issue/CPP-34647/ESP-IDF-Monitor-error-Monitor-requires-standard-input-to-be-attached-to-TTY. I have checked this method works |
Answers checklist.
IDF version.
https://github.com/espressif/esp-idf/releases/tag/v5.2.2
Operating System used.
Windows
How did you build your project?
CLion IDE
If you are using Windows, please specify command line type.
None
What is the expected behavior?
The COM port will be read
What is the actual behavior?
An error is coming out
Steps to reproduce.
Build or installation Logs.
More Information.
No response
The text was updated successfully, but these errors were encountered: