Hello, everyone
I have a problem: when I increase the C optimization level to **level 1** or more, I encounter a problem.
the problem occurs in the Message box callback which is the LV_EVENT_VALUE_CHANGED is not detected.
What MCU/Processor/Board and compiler are you using?
I’ve checked what configs changed between Debug/Release and found only the
Optimization level
Debug level
and a DEBUG define in Debug mode which was not used in the code at all
But something just came to my mind!
I remember there was a very tricky issue when LVGL did stupid things without real reason. E.g. always evaluated an a & b expression incorrectly at the same place in the code. We tracked down that it’s actually an external SRAM config issue which somehow messed up the internals of the MCU too.
So what if you
do not enable the display and SRAM
create an empty flush_cb with only lv_disp_flush_ready()