mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
8e811c1bf2
Currently hints are processed only once the process is finished and exits with non-error exit code. In interactive mode, e.g. for monitor, we want to process ouput lines for hints right away. This adds a simple buffer, which keeps the last line and once EOL is reached, it is processed for hints. Since the original hints processing was file based, a new helper function was added to allow processing hints in string. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>