Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update master branch to LVGL v9 version #311

Merged
merged 71 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
70758a8
fix tests
kisvegabor Jul 3, 2023
408e6a9
update LV_GC... defintions
kisvegabor Jul 3, 2023
9d7958f
add guard around LV_USE_TINY_TTF in lv_conf.h
kisvegabor Jul 3, 2023
1e7f946
update lvgl
kisvegabor Jul 3, 2023
6c489d3
fix LV_USE_TINY_TTF redefintion
kisvegabor Jul 3, 2023
92b8948
disable LV_USE_FS_STDIO
kisvegabor Jul 3, 2023
9bfb356
fix include path in MP ESP32 port
kisvegabor Jul 3, 2023
9d7c95b
disable the unused fonts
kisvegabor Jul 4, 2023
0621a3d
Use lv_global_t as gc root
amirgon Aug 10, 2023
667e694
Expose mp_lv_roots directly with LV_GLOBAL_CUSTOM
amirgon Aug 11, 2023
fa21952
Align lv_conf.h. Fix examples
amirgon Aug 12, 2023
7ed205b
Bump LVGL submodule
embeddedt Aug 31, 2023
946f240
update lvgl and the examples
kisvegabor Sep 14, 2023
5d0d9a4
fix conflicts
kisvegabor Sep 14, 2023
842348f
stm32 driver: replace LV_INDEV_STATE_PR/REL with LV_INDEV_STATE_PRESS…
kisvegabor Sep 14, 2023
d45e0d1
update lvgl and fix png example
kisvegabor Sep 14, 2023
615b273
follow lvgl changes
kisvegabor Sep 18, 2023
0a23d60
esp32 driver: rename disp to display
kisvegabor Sep 18, 2023
0a920a6
update lvgl and lv_conf.h
kisvegabor Sep 20, 2023
6a81cff
Update LVGL and fix binding for multi-instance and parallel rendering…
PGNetHun Sep 25, 2023
0fe98b8
Fix MICROPY_ config overrides
PGNetHun Sep 25, 2023
9ef64b0
Enable File Explorer widget
PGNetHun Sep 25, 2023
cd7abdd
Update LVGL
PGNetHun Sep 25, 2023
41188b5
Update lv_conf.h from latest LVGL config template
PGNetHun Sep 25, 2023
5f8c7b7
Fix lv_conf.h macro closing issue
PGNetHun Sep 26, 2023
6a98681
Merge pull request #293 from PGNetHun/multi-instance-fix-20230925
kisvegabor Sep 26, 2023
d970d3f
enable lv_observer
kisvegabor Oct 10, 2023
14058be
follow LVGL changes
kisvegabor Oct 12, 2023
a2e14df
follow LVGL changes
kisvegabor Oct 31, 2023
0871cda
update lvgl
kisvegabor Oct 31, 2023
b0f59d7
update LVGL
kisvegabor Nov 13, 2023
68636a1
update LVGL
kisvegabor Nov 14, 2023
4f4f353
update lvgl
kisvegabor Nov 15, 2023
8346372
update lvgl
kisvegabor Nov 24, 2023
c5fe7e4
update lvgl
kisvegabor Nov 27, 2023
7e0adef
refactor(event): add _cb postfix to lv_obj_add_event()
kisvegabor Nov 28, 2023
31a635a
update lvgl
kisvegabor Dec 12, 2023
9a05805
update lvgl
kisvegabor Dec 13, 2023
72d4418
fix lv_conf.h
kisvegabor Dec 13, 2023
9577f0c
fix lv_conf.h
kisvegabor Dec 13, 2023
a93c049
update lv_conf.h
kisvegabor Dec 15, 2023
1517330
remove 'always_zero' from image header
XuNeo Dec 19, 2023
454f555
use MICROPY_LV_USE_LOG to disable logs
kisvegabor Dec 19, 2023
7024ccc
Merge pull request #307 from XuNeo/remove-always-zero
kisvegabor Dec 19, 2023
3a24d17
udpate lvgl
kisvegabor Dec 19, 2023
f4604ea
disable logging for now
kisvegabor Dec 20, 2023
970db9c
enable MONTSERRAT_24
kisvegabor Dec 20, 2023
7b134dd
fix(script): take forwarded declaration into consideration
XuNeo Jan 3, 2024
a75033a
Merge pull request #308 from XuNeo/fix-script-forward-declared-struct
kisvegabor Jan 3, 2024
f1c6baf
fix(script): fix CI break
XuNeo Jan 4, 2024
56bf132
Merge pull request #309 from XuNeo/fix-ci-break
kisvegabor Jan 4, 2024
c17bcf3
Update LVGL, fix display drivers and examples (#298)
PGNetHun Jan 8, 2024
5cea992
Update ili9xxx, st77xx drivers and examples, remove lv.COLOR_DEPTH (#…
PGNetHun Jan 9, 2024
9054126
Update LVGL and display drivers
PGNetHun Jan 11, 2024
33e61b3
Merge pull request #314 from PGNetHun/bugfix/display_drivers_20240110
PGNetHun Jan 11, 2024
36704e4
Update LVGL and display drivers
PGNetHun Jan 12, 2024
bc4c8b4
Merge pull request #315 from PGNetHun/bugfix/display_drivers_20240111
PGNetHun Jan 12, 2024
2afc6e2
Update LVGL config: add ThorVG flags
PGNetHun Jan 12, 2024
b428bb5
Merge pull request #316 from PGNetHun/chore/lv_conf_update_20240112
PGNetHun Jan 12, 2024
c0eaf68
Update LVGL
PGNetHun Jan 18, 2024
01045cb
Fix examples to align to LVGL changes
PGNetHun Jan 18, 2024
f11cb89
Fix examples to align to LVGL changes - 2
PGNetHun Jan 18, 2024
abb33c5
Merge pull request #318 from PGNetHun/update/lvgl-20240118
PGNetHun Jan 18, 2024
bee7b62
Update LVGL config (#319)
PGNetHun Jan 18, 2024
666d94e
fix CI break by disabling LV_USE_LOG
XuNeo Jan 19, 2024
a664c4e
fix(ci): temporarily disable LOG to make LVGL's CI pass
kisvegabor Jan 19, 2024
79d3491
Merge branch 'feat/multi-instance' into fix-ci-break
kisvegabor Jan 19, 2024
b22b84e
Merge pull request #320 from XuNeo/fix-ci-break
kisvegabor Jan 19, 2024
d37ab3e
update lvgl
kisvegabor Jan 19, 2024
e87465f
Update LVGL (#321)
PGNetHun Jan 23, 2024
c84e874
Merge branch 'master' into feat/multi-instance
PGNetHun Jan 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 34 additions & 34 deletions README.md

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions driver/esp32/espidf.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ static void ili9xxx_send_data_dma(void *disp_drv, void *data, size_t size, int d
void ili9xxx_post_cb_isr(spi_transaction_t *trans)
{
if (trans->user)
lv_disp_flush_ready(trans->user);
lv_display_flush_ready(trans->user);
}


Expand All @@ -177,13 +177,13 @@ typedef struct {

void ili9xxx_flush(void *_disp_drv, const void *_area, void *_color_p)
{
lv_disp_t *disp_drv = _disp_drv;
lv_display_t *disp_drv = _disp_drv;
const lv_area_t *area = _area;
lv_color_t *color_p = _color_p;
int start_x = 0;
int start_y = 0;

void *driver_data = lv_disp_get_driver_data(disp_drv);
void *driver_data = lv_display_get_driver_data(disp_drv);

// We use disp_drv->driver_data to pass data from MP to C
// The following lines extract dc and spi
Expand Down Expand Up @@ -232,6 +232,11 @@ void ili9xxx_flush(void *_disp_drv, const void *_area, void *_color_p)
size_t size = (area->x2 - area->x1 + 1) * (area->y2 - area->y1 + 1);
uint8_t color_size = 2;

bool swap_rgb565_bytes = mp_obj_get_int(mp_obj_dict_get(driver_data, MP_OBJ_NEW_QSTR(MP_QSTR_swap_rgb565_bytes)));
if ( swap_rgb565_bytes == true ) {
lv_draw_sw_rgb565_swap(color_p, size);
}

if ( dt == DISPLAY_TYPE_ILI9488 ) {
color_size = 3;
/*Convert ARGB to RGB is required (cut off A-byte)*/
Expand Down
Loading