LVGL v9.2.0 doesn't compile -Os option in GCC_ARM toolchain

With -Os option enabled in debug/release mode, LVGL v9.2.0 doesn’t compile for ARM cortex-m MCUs with GCC_ARM embedded compiler v11.3.1.


Once we disable LV_USE_LINE in lv_conf.h then it compiles with the -Os option but we will not be able to use any LINE widget. Kindly suggest or fix this issue.

thanks
sanjeev

Sar, have you tried changing optimization to -O2 or -O3. Not a fix but might solve your issue for the time being.