File tree Expand file tree Collapse file tree 4 files changed +20
-5
lines changed Expand file tree Collapse file tree 4 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 28
28
- name : Checkout lv_bindings
29
29
working-directory : ./lib/lv_bindings
30
30
run : |
31
- git fetch --force ${{ github.event.repository.git_url }} "+refs/heads/*:refs/remotes/origin/*"
32
- git fetch --force ${{ github.event.repository.git_url }} "+refs/pull/*:refs/remotes/origin/pr/*"
31
+ git fetch --force ${{ github.event.repository.html_url }} "+refs/heads/*:refs/remotes/origin/*"
32
+ git fetch --force ${{ github.event.repository.html_url }} "+refs/pull/*:refs/remotes/origin/pr/*"
33
33
git checkout ${{ github.sha }} || git checkout ${{ github.event.pull_request.head.sha }}
34
34
git submodule update --init --recursive
35
35
- name : Build mpy-cross
Original file line number Diff line number Diff line change @@ -507,7 +507,7 @@ class MissingConversionException(ValueError):
507
507
'long int' : '(long int)mp_obj_get_int' ,
508
508
'long long' : '(long long)mp_obj_get_ull' ,
509
509
'long long int' : '(long long int)mp_obj_get_ull' ,
510
- 'float' : 'mp_obj_get_float' ,
510
+ 'float' : '(float) mp_obj_get_float' ,
511
511
}
512
512
513
513
lv_to_mp = {
Original file line number Diff line number Diff line change 66
66
# define LV_MEM_CUSTOM_REALLOC m_realloc
67
67
#endif /*LV_MEM_CUSTOM*/
68
68
69
+ /*Number of the intermediate memory buffer used during rendering and other internal processing mechanisms.
70
+ *You will see an error log message if there wasn't enough buffers. */
71
+ #define LV_MEM_BUF_MAX_NUM 16
72
+
69
73
/*Use the standard `memcpy` and `memset` instead of LVGL's own functions. (Might or might not be faster).*/
70
74
#define LV_MEMCPY_MEMSET_STD 0
71
75
@@ -156,7 +160,7 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
156
160
/*Use exnternal renderer*/
157
161
#define LV_USE_EXTERNAL_RENDERER 0
158
162
159
- /*Use SDL renderer API*/
163
+ /*Use SDL renderer API. Requires LV_USE_EXTERNAL_RENDERER */
160
164
#define LV_USE_GPU_SDL 0
161
165
#if LV_USE_GPU_SDL
162
166
# define LV_GPU_SDL_INCLUDE_PATH <SDL2/SDL.h>
@@ -570,6 +574,17 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
570
574
# define LV_FREETYPE_CACHE_SIZE (16 * 1024)
571
575
#endif
572
576
577
+ /* Rlottie library, check if available */
578
+ #if defined __has_include
579
+ # if __has_include (< rlottie_capi .h > )
580
+ # define LV_USE_RLOTTIE 1
581
+ # else
582
+ # define LV_USE_RLOTTIE 0
583
+ # endif
584
+ #else
585
+ #define LV_USE_RLOTTIE 0
586
+ #endif
587
+
573
588
/*-----------
574
589
* Others
575
590
*----------*/
You can’t perform that action at this time.
0 commit comments