lv_platformio
lv_platformio copied to clipboard
Simulator: Printf not working at runtime | Simulator starts twice
Hello, im using the simulator with platformio and used this repo example. When i upload the project the simulator starts. When i close it another windows opens. This is essential for the following problem
I want to debug the code with printf command. So i defined following in platform.ini file:
-D LV_USE_LOG=1
-D LV_LOG_PRINTF=1
Default log level is : -D LV_LOG_LEVEL=LV_LOG_LEVEL_WARN
During runtime i dont get an output. When i close the Simulator window, the print output is now seen on the output. The second windows open, but the print output from it is not seen after closing.
However, when i change the log level to -D LV_LOG_LEVEL=LV_LOG_LEVEL_INFO
the print output can now be seen during runtime. thi s isnt useful, because too much output is beeing listed.
I hope the problem is understandable. Is this a bug or is there a solution?