It is maybe nothing but can be an important remark since stream update.
In my application ( got a lot of task >20 and timer.), i use manually uart API to get character and send data. To disable others uart call (custom debug, sdk binary), i use set_write_stdout(stdout_custom);
Everything is good and work fine. I need printf only for some basic debug usage. Disable anyway in my final app.
When i don't redirect the stdout (or forget to redirect it), it can happen than my app crash randomly after 30min, 3H, 5H of working (no usb connected and nobody on wifi connection) without a particular event. free heap is between 5k and 8k at this stage.
It is maybe nothing but can be an important remark since stream update. In my application ( got a lot of task >20 and timer.), i use manually uart API to get character and send data. To disable others uart call (custom debug, sdk binary), i use
set_write_stdout(stdout_custom);
Everything is good and work fine. I need printf only for some basic debug usage. Disable anyway in my final app.When i don't redirect the stdout (or forget to redirect it), it can happen than my app crash randomly after 30min, 3H, 5H of working (no usb connected and nobody on wifi connection) without a particular event. free heap is between 5k and 8k at this stage.