8000 Update LVGL · phires/lv_binding_micropython@f2434ad · GitHub
[go: up one dir, main page]

Skip to content

Commit f2434ad

Browse files
committed
Update LVGL
1 parent ec15938 commit f2434ad

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

lv_conf.h

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,25 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
153153
/*Use NXP's VG-Lite GPU iMX RTxxx platforms*/
154154
#define LV_USE_GPU_NXP_VG_LITE 0
155155

156+
/*Use SDL renderer API*/
157+
#ifndef LV_USE_GPU_SDL
158+
# ifdef CONFIG_LV_USE_GPU_SDL
159+
# define LV_USE_GPU_SDL CONFIG_LV_USE_GPU_SDL
160+
# else
161+
# define LV_USE_GPU_SDL 0
162+
# endif
163+
#endif
164+
#if LV_USE_GPU_SDL
165+
# define LV_USE_EXTERNAL_RENDERER 1
166+
# ifndef LV_GPU_SDL_INCLUDE
167+
# define LV_GPU_SDL_INCLUDE_PATH <SDL2/SDL.h>
168+
# endif
169+
#endif
170+
171+
#ifndef LV_USE_EXTERNAL_RENDERER
172+
# define LV_USE_EXTERNAL_RENDERER 0
173+
#endif
174+
156175
/*-------------
157176
* Logging
158177
*-----------*/
@@ -229,7 +248,7 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
229248
#define LV_USE_USER_DATA 1
230249

231250
/*Garbage Collector settings
232-
*Used if lvgl is binded to higher level language and the memory is managed by that language*/
251+
*Used if lvgl is bound to higher level language and the memory is managed by that language*/
233252
#define LV_ENABLE_GC 1 /* Enable GC for Micropython */
234253
#if LV_ENABLE_GC != 0
235254
# define LV_GC_INCLUDE "py/mpstate.h"

lvgl

Submodule lvgl updated 56 files

0 commit comments

Comments
 (0)
0