I was just updating a the nrf Connect toolchain version from 2.5.2 to 2.6 and got this error message:
warning: attempt to assign the value '8' to the undefined symbol LV_Z_MEM_POOL_NUMBER_BLOCKS
I was just updating a the nrf Connect toolchain version from 2.5.2 to 2.6 and got this error message:
warning: attempt to assign the value '8' to the undefined symbol LV_Z_MEM_POOL_NUMBER_BLOCKS
Hi Leo
It seems the way the LVGL heap is configured is handled a bit differently in the latest version.
In v2.5.2 the heap was scaled based on the LV_Z_MEM_POOL_MAX_SIZE and LV_Z_MEM_POOL_NUMBER_BLOCKS parameters as seen here.
In the later version this was simplified to use just a single parameter, LV_Z_MEM_POOL_SIZE, as seen here.
In other words you should change your project configuration to use this new parameter.
The commit log provides a bit more context:
https://github.com/nrfconnect/sdk-zephyr/commit/c7f8033f2b982a0d5548da458e00bee2e3a19502
Best regards
Torbjørn
That was a great answer, Torbjorn! Thank you. I changed the value to:
CONFIG_LV_Z_MEM_POOL_SIZE=16384
samples/subsys/display/lvgl/prj.conf:
Glad I could help Leo
Good find on the prj.conf file, with that configuration the total size should be the same.
Best regards
Torbjørn
Glad I could help Leo
Good find on the prj.conf file, with that configuration the total size should be the same.
Best regards
Torbjørn