LVGL Label Buffers: Choose Copying or Static Text Without Dangling References
Use copied label text when the producer will reuse or release its buffer. Use static text only when the application can keep the referenced bytes valid and stable for every label reader. The word static in the API means noncopying storage; it does not extend a local variable’s lifetime or make shared scratch space safe….