SuperHouse / esp-open-rtos

Open source FreeRTOS-based ESP8266 software framework
BSD 3-Clause "New" or "Revised" License
1.53k stars 491 forks source link

No terminal input in filteroutput.py #557

Open surfskidude opened 6 years ago

surfskidude commented 6 years ago

I do not get any terminal input when I use the python script filteroutput.py (started via make test ...). I can connect another terminal program such as putty and my ESP program gets input data, but not from filteroutput.py

Is this by design or a bug?

nochkin commented 6 years ago

When checking the source of filteroutput.py script, it appears it just reads from port and never writes to it. It never intendent to take any input and put it back to ESP (the only moment when it actually checks stdin is when it uses it instead of serial).

projectgus commented 6 years ago

BTW, the (in some ways) spiritual successor of the filteroutput script is idf_monitor.py in the ESP-IDF project. Which supports sending stdin to the device, and also a bunch of other features. It's Apache licensed and could probably be adapted into esp-open-rtos in some ways: https://github.com/espressif/esp-idf/blob/master/tools/idf_monitor.py