Description
I would love to see a serial monitor built in as a command line -- option within Mbed CLI.
I am developing for the ESP32 right now and have been using the esp-idf development framework to do a lot of C code debugging for an Adafruit Huzzah32 Feather board. In addition to esp-idf being extremely easy to setup, they also have a bunch of great command line tools. One of which is a call to a serial monitor that automatically opens up the serial port to your board in the terminal. This call can also be combined with a make and flash commands to be extremely useful/powerful when debugging (make flash monitor
).
Mbed CLI already has a -f
option to automatically flash the program to the connected board after compiling, so I think a natural next step is to create a -s
option ("s" for serial, or something similar) to open up a serial monitor in the terminal window after flashing. esp-idf even uses a python script to accomplish this monitor creation, so I feel something similar could work seamlessly within Mbed CLI.
Here's the links to the esp-idf implementations: