feat(nxp): release NXP PXP and VG-Lite for LVGL v9.0 (#5288)

Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>
Signed-off-by: Ana Grad <ana.grad@nxp.com>
Co-authored-by: Ana Grad <ana.grad@nxp.com>
This commit is contained in:
nicusorcitu
2024-01-12 12:54:42 +02:00
committed by GitHub
parent 39cb1ddc4a
commit ee8de1e1a0
38 changed files with 1735 additions and 1271 deletions
+4 -4
View File
@@ -70,6 +70,10 @@ static void lv_mem_walker(void * ptr, size_t size, int used, void * user);
void lv_mem_init(void)
{
#if LV_USE_OS
lv_mutex_init(&state.mutex);
#endif
#if LV_MEM_ADR == 0
#ifdef LV_MEM_POOL_ALLOC
state.tlsf = lv_tlsf_create_with_pool((void *)LV_MEM_POOL_ALLOC(LV_MEM_SIZE), LV_MEM_SIZE);
@@ -82,10 +86,6 @@ void lv_mem_init(void)
state.tlsf = lv_tlsf_create_with_pool((void *)LV_MEM_ADR, LV_MEM_SIZE);
#endif
#if LV_USE_OS
lv_mutex_init(&state.mutex);
#endif
_lv_ll_init(&state.pool_ll, sizeof(lv_pool_t));
/*Record the first pool*/