I called this function in the key press callback to get the timestamp, but the system keeps restarting, and the restart log is quite long. Also, how can I check RAM usage?
The “Total memory” size changes when I check it like this. Isn’t this value supposed to be fixed? Or is it dynamically allocated?
It should have been the button callback causing the timer thread to overflow and resulting in the error. Changing it to an LVGL button call resolved the issue. Currently, it shows:
which looks like there’s no network connection. Switching back to Baidu’s test succeeded once: