Description
I am getting region 'RAM' overflowed
errors when building a Zephyr project using lvgl 8.3. I see a lot of references to lvgl when building, such as:
[352/429] Building C object modules/lvgl/CMakeFiles/..__modules__lib__gui__lvgl__zephyr.dir/opt/nordic/ncs/v2.3.0/modules/lib/gui/lvgl/src/extra/widgets/calendar/lv_calendar.c.obj
Even when I added this to the prj.conf it still shows up in the terminal:
CONFIG_LV_USE_CALENDAR=n
There does not seem to be much documentation on Zephyr and lvgl, but the prj.conf appears to have some settings which I assume are to control which components are used. When I changed the default font in it, the font changed on my screen.
CONFIG_LV_FONT_DEFAULT_MONTSERRAT_28=y
What MCU/Processor/Board and compiler are you using?
PineTime DK (nRF52832)
What LVGL version are you using?
8.3
What do you want to achieve?
A build using only the components I need as specified in the prj.conf.
What have you tried so far?
Editing the prj.conf.
Code to reproduce
My prj.conf has a lvgl section which looks like this:
CONFIG_LVGL=y
CONFIG_LV_CONF_MINIMAL=y
CONFIG_LOG=y
CONFIG_LV_MEM_CUSTOM=y
CONFIG_LV_USE_LOG=y
CONFIG_LV_USE_LABEL=y
CONFIG_LV_USE_BTN=y
CONFIG_LV_USE_IMG=y
CONFIG_LV_FONT_DEFAULT_MONTSERRAT_28_COMPRESSED=y
CONFIG_LV_FONT_MONTSERRAT_28_COMPRESSED=y
CONFIG_LV_USE_CALENDAR=n
CONFIG_LV_USE_GRIDNAV=n
CONFIG_LV_USE_GRID=n