Commit Graph

225 Commits

Author SHA1 Message Date
bjsylvia
cafc8393a7
fix(leak): fix memory leak on music list (#4732)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-02 09:33:39 +01:00
Neo Xu
3539083d55
chore(image): fix warning of unchecked return value (#4730)
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2023-11-02 09:19:09 +01:00
Gabor Kiss-Vamosi
16302e9c7b chore: rename zoom_x/y paramters and local variables to scale_x/y 2023-10-31 20:19:12 +01:00
Gabor Kiss-Vamosi
a5a58e39d2 refactor: replace lv_coord_t with int32_t 2023-10-31 19:25:01 +01:00
Gabor Kiss-Vamosi
50d01cec3d refactor(style): rename lv_indev_get_act to lv_indev_active 2023-10-31 19:20:36 +01:00
Gabor Kiss-Vamosi
d28f80d362 refactor(style): rename shadow_ofs to shadow_offset 2023-10-31 19:10:02 +01:00
Gabor Kiss-Vamosi
9d993bd15f feat(line, triangle): add float support for points 2023-10-31 14:16:10 +01:00
Niklas Fiekas
d197d73d62
chore(demo): fix -Wenum-int-mismatch (#4726) 2023-10-30 13:16:41 +01:00
Kevin Schlosser
52f375975e
fix(demo): unistd.h is not available with MSVC. (#4718) 2023-10-29 16:40:08 +01:00
Gabor Kiss-Vamosi
0b2cccbdb3 ci(render): integrate lv_demo_render to the unit tests 2023-10-26 23:07:50 +02:00
Gabor Kiss-Vamosi
f4d9b8a8dd demo(render): add line, arc, triangle, and layer tests 2023-10-26 23:07:50 +02:00
Gabor Kiss-Vamosi
c535e3ff91 feat(demo_render): add image, text and box shadow tests 2023-10-26 12:42:24 +02:00
Gabor Kiss-Vamosi
6aa53828ef fix(benchmark demo): update to make it work with CI 2023-10-25 14:12:59 +02:00
Gabor Kiss-Vamosi
90ae34ad3c chore: format code 2023-10-25 13:44:27 +02:00
Gabor Kiss-Vamosi
3ff625483c demos(render): start render demo 2023-10-25 13:38:37 +02:00
Gabor Kiss-Vamosi
a61d87f840 demo(benchmark): rework benchmark 2023-10-25 12:19:39 +02:00
Gabor Kiss-Vamosi
84c8cf8573 feat(arc): add float support 2023-10-25 11:05:04 +02:00
lion2tomato
f273475d28
fix issue:LVGL V9 music compiling error (#4703)
Signed-off-by: lijianjun <lijianjun@xiaomi.com>
Co-authored-by: lijianjun <lijianjun@xiaomi.com>
2023-10-24 20:45:43 +02:00
Viktor Szépe
742682ae51
chore: fix execute permissions and shebangs (#4695) 2023-10-24 09:41:51 +02:00
Viktor Szépe
f9572ed303
chore: remove BOM and fix typos (#4685) 2023-10-22 06:39:43 +02:00
Gabor Kiss-Vamosi
89dd481747 chore: remove BOM
see https://github.com/lvgl/lvgl/pull/4684#issuecomment-1773768596
2023-10-22 06:12:48 +02:00
Gabor Kiss-Vamosi
85798af3cd feat(draw): add non uniform scale (scale_x and scale_y) 2023-10-20 23:29:22 +02:00
Gabor Kiss-Vamosi
094db896d2 fix(scale): fix round scale label positons 2023-10-20 11:29:16 +02:00
Gabor Kiss-Vamosi
195c3f72d2 fix(scale): fix tick count and example issues 2023-10-19 15:02:36 +02:00
Gabor Kiss-Vamosi
f7c25b7966 demo(widget): improve the 3rd scale 2023-10-12 21:58:38 +02:00
Gabor Kiss-Vamosi
bccbde0cef refactor(obj): remove LV_PART_TICKS and use LV_PART_ITEMS in lv_scale 2023-10-12 21:50:46 +02:00
Gabor Kiss-Vamosi
9ec5417dd3 refactor: scr -> screen, act->active, del->delete, remove in obj_clear_flag/state 2023-10-12 21:12:16 +02:00
Gabor Kiss-Vamosi
6163437afd refactor(scale): remove lv_meter use lv_scale instead 2023-10-12 17:21:52 +02:00
bjsylvia
14c0869e68
chore(demos): add common entry for lv_demos (#4610)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-10-10 22:28:17 +02:00
bjsylvia
066c7a1864
fix(benchmark): fix typos (#4627)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-10-05 09:22:20 +02:00
Gabriel Wang
8969415220
feat(benchmark): increase the weights for rotation and scaling(zoom) … (#4620) 2023-10-03 09:44:43 +02:00
PGNetHun
8c2fc7ec4b
chore: code and documentation cleanups, renames and fixes (#4607) 2023-09-27 12:23:40 +02:00
Neo Xu
27357d5139
feat(obj): add obj_id, class names, and dump support (#4536)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-09-25 10:58:36 +02:00
Gabor Kiss-Vamosi
0721884ee9 refactor: disp->display, res->result/resolution, hor/ver->horizontal/vertical, txt->text, angle->rotation, zoom->scale 2023-09-18 22:57:30 +02:00
Gabor Kiss-Vamosi
09c12d0f9c refactor(btn, img): rename btn to button and img to image 2023-09-14 20:12:31 +02:00
bjsylvia
06238e4947
fix(music): delete timer when deleting related-object (#4558)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-09-14 19:12:47 +02:00
bjsylvia
378ad2492c
fix(music): fix anim and timer crash when delete music demo (#4523)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-09-05 22:10:54 +02:00
bjsylvia
23ebeed652
fix(widgets): fix timer crash when delete widgets demo (#4522)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-09-05 21:16:37 +02:00
Gabor Kiss-Vamosi
7e923d2a26 demo(benchmark): fix black screen issue 2023-09-01 14:09:49 +02:00
bjsylvia
da02c6314c
chore(multilang): add Kconfig for multilang (#4480)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-08-24 11:07:18 +02:00
Gabor Kiss-Vamosi
0b83a82a07 feat(multi-instance): collect all the global variables into a struct to allow running multiple instances of LVGL
Closes #4358
2023-08-19 01:42:37 +02:00
Benign X
ae3567cb46
fix(chart): fix off-by-one error in chart widget (#4461)
Signed-off-by: W-Mai <1341398182@qq.com>
2023-08-18 10:58:35 +02:00
bjsylvia
67ca457a07
fix: fix typos (#4451)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-08-14 16:49:30 +02:00
_VIFEXTech
9a483c87bf
feat(layer): add more efficient widget translucent mode (#4415)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-08-14 07:57:19 +02:00
Gabor Kiss-Vamosi
45aa59a473
feat(draw_buf): add lv_draw_buf_t for stride support (#4423) 2023-07-31 18:44:02 +02:00
bjsylvia
dbde799ada
chore(demos): replace version with lv_version_major (#4393)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-07-24 17:38:11 +02:00
Gabor Kiss-Vamosi
b78d4dc04b demo: add lv_demo_scroll 2023-07-15 23:24:58 +02:00
bjsylvia
657dfe9615
fix: fix compiling warning on Mac (#4379)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-07-15 20:08:25 +02:00
Gabor Kiss-Vamosi
b466045f13 chore: change some // comments to /**/ 2023-07-15 18:39:11 +02:00
Peter Bee
36c5f19c95
fix(kconfig): update Kconfig and lv_conf_kconfig.h (#4338)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
Signed-off-by: Peter Bee <pbjd97@gmail.com>
2023-07-09 23:27:32 +02:00
Gabor Kiss-Vamosi
f753265a79 arch(draw): add parallel rendering architecture
BREAKING CHANGE

This is a huge update which introduces parallel rendering. lv_conf.h needs to be updated too.
2023-07-05 13:05:19 +02:00
Amir Gonnen
9783f2632e
fix(example): Remove struct cast (#4330) 2023-07-03 10:25:18 +02:00
Gabor Kiss-Vamosi
1faa4c8d7a revert(event): use original_target and target to follow JS conventions
fixes #4050
2023-03-20 14:24:21 +01:00
_VIFEXTech
30fe596d26
fix(demo_flex_layout): fix warning (#4061)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-03-15 06:48:11 +01:00
_VIFEXTech
afe29b7dab
refact(user_data): remove LV_USE_USER_DATA configuration (#4056)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-03-14 14:34:56 +01:00
Gabor Kiss-Vamosi
680d6d1a7d refactor(event): use lv_event_get_orignal_target instead of current_target 2023-03-06 12:50:46 +01:00
Gabor Kiss-Vamosi
bb68947570 fix(indev): fix refocusing with clcik after 'tab'
fixes #4034
2023-03-06 05:45:59 +01:00
Gabor Kiss-Vamosi
a02256ff07 fix(benchmark): fix FPS with LV_DEMO_BENCHMARK_MODE_RENDER_ONLY
fixes #4030
2023-03-01 23:31:41 +01:00
Gabor Kiss-Vamosi
175a142746 fix(benchmark): fix FPS with LV_DEMO_BENCHMARK_MODE_RENDER_AND_DRIVER
fixes #4027
2023-03-01 22:58:49 +01:00
Gabor Kiss-Vamosi
cb5e64e600 fix(flex demo): follow API changes 2023-02-20 23:24:49 +01:00
Gabor Kiss-Vamosi
ca93f5fead fix(benchmark): follow API changes 2023-02-20 23:18:51 +01:00
Gabor Kiss-Vamosi
103afa9f2b chore: fix warnings 2023-02-20 22:30:16 +01:00
Gabor Kiss-Vamosi
124f9b0f9f arch(driver): new driver architecture with new color format support 2023-02-20 20:50:58 +01:00
_VIFEXTech
ce036714de
fix(benchmark): skip tests when compressed fonts are disabled (#4001)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-02-20 14:01:24 +01:00
_VIFEXTech
a7df4994c3
fix(benchmark): restore frame rate after testing (#4000)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-02-20 14:00:59 +01:00
Carlos Diaz
76547db1d7
refactor(rename): LV_IMG_ZOOM_NONE to LV_ZOOM_NONE (#3957)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-02-04 17:20:42 +01:00
_VIFEXTech
ee9588dbc6
chore: Use LV_PRIu32 to print uint32_t type variables (#3937)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
2023-01-18 09:18:35 +01:00
_VIFEXTech
0ef4e6f48b
feat(demo): add flex_layout demo (#3755)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Signed-off-by: W-Mai <1341398182@qq.com>
Co-authored-by: Uli Raich <uli.raich@gmail.com>
Co-authored-by: W-Mai <1341398182@qq.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-12-15 13:34:13 +01:00
Gabor Kiss-Vamosi
6177692d6f chore(demo): fix lv_demo_widgets.py 2022-11-21 22:10:29 +01:00
Gabor Kiss-Vamosi
59b90d0970 chore(demo): fix lv_demo_widgets.py 2022-11-21 21:59:26 +01:00
Gabor Kiss-Vamosi
a218d75409 feat(meter): remove the option to add multiple scales
API BREAKING
2022-11-19 08:42:03 +01:00
Leo Chung
146598c6a6
fix(benchmark): add missing LV_USE_DEMO_BENCHMARK (#3767)
Signed-off-by: Leo Chung <gewalalb@gmail.com>
2022-10-29 10:30:22 +02:00
_VIFEXTech
6a9f324a4f
fix(demo_music): remove font resource compilation dependencies (#3739)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-10-13 11:58:01 +02:00
Gabor Kiss-Vamosi
0afa27d5c3 fix(widgets demo): improve soft keyboard usability
Related to https://forum.lvgl.io/t/problem-about-the-textarea-focus/9955/3
2022-10-12 10:44:54 +02:00
Gabor Kiss-Vamosi
0d830347f6 fix(demo): fix LV_DEMO_BENCHMARK_MODE_RENDER_ONLY mode 2022-10-03 12:46:05 +02:00
Uli Raich
29ec34be77
examples(micropython): add a few missing MP examples (#3672) 2022-09-21 11:21:36 +02:00
Uli Raich
d5e6ffdd87
demos(widgets): replaced lv_widget_demo.py with a new version (#3641) 2022-09-21 11:21:08 +02:00
Gabor Kiss-Vamosi
2188fe66bb demo(bechmark): fix delay between renders 2022-09-19 12:25:06 +02:00
Gabor Kiss-Vamosi
72c383fada
docs(demo): update the README of the benchmark demo 2022-09-13 13:21:53 +02:00
_VIFEXTech
81736cac1b
fix(benchmark): fix run_max_speed score incorrect (#3416)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-08-29 12:25:41 +02:00
Gabor Kiss-Vamosi
97f3084666
feat(demo): add benchmark modes (#3625) 2022-08-29 12:25:11 +02:00
Roman Romanchuk
778d872409
chore: change image tags in demo README to GitHub markdown (#3596) 2022-08-19 12:28:00 +02:00
_VIFEXTech
1de64ade88
chore(demo/indev): fix warning (#3583)
* chore(demo/indev): fix warning

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

* fix 'Micropython CI / Build rp2 port' warning

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-08-17 12:32:51 +02:00
Gabor Kiss-Vamosi
e42f01a38a fix(make): update lvgl.mk and remove unnecessary mk files 2022-07-20 12:10:00 +02:00
Xiang Xiao
9ed5b3fe06
Sync up Kconfig with lv_config_template.h (#3508)
* fix(config): remove LV_COLOR_16_SWAP related stuff

follow commit 5369d7d473

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(config): remove LV_COLOR_SCREEN_TRANSP related stuff

follow commit 5369d7d473

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-20 11:29:34 +02:00
Gabor Kiss-Vamosi
6104855491 fix(conf): fix a lot of new config realted issues 2022-07-19 17:21:19 +02:00
Gabor Kiss-Vamosi
9add9acadb refactor(style): add width and height paramaters to style_size 2022-07-19 15:47:00 +02:00
Gabor Kiss-Vamosi
5369d7d473
arch(conf, api) refactor lv_conf and some API (#3501)
Kconfig and MicroPython config is not updated yet.


* start to refactor lv_conf.h

* further mem refactoring

* create lv_mem_builtin.c/h

* update lv_conf_internal.h

* add lv_strlen and lv_strncpy

* rename LV_DRAW_COMPLEX to LV_USE_DRAW_MASK

* update lv_conf_template

* minor fix
2022-07-19 13:31:42 +02:00
Xiang Xiao
7eff407fea
chore(format): order the header file and function prototype (#3492)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-18 15:29:04 +02:00
卢华东
4133f1d317
fix(demo): can not found lvgl.h file (#3477) 2022-07-12 12:29:51 +02:00
Man, Jianting (Meco)
c2628fd7ef
chore(demo): fix the path of picture files in readme (#3451) 2022-07-06 09:06:31 +02:00
Gabor Kiss-Vamosi
13c99fc4b6 fix(refr): fix memory write out of bounds issue 2022-07-05 08:58:03 +02:00
Gabor Kiss-Vamosi
d4b7283de8 chore: fix code formatting 2022-06-23 11:54:11 +02:00
Gabor Kiss-Vamosi
afaa8c9300 demo(benchmark): add LV_DEMO_BENCHMARK_RGB565A8 option
fixes #3379
2022-06-23 11:51:20 +02:00
Gabriel Wang
ca9aff6119
cmsis pack monthy update for June (#3413)
* fix(benchmark): remove duplicated output in report log

* doc(benchmark): update the method for performance analysis

* feat(cmsis-pack): v1.0.5-alpha1

* fix(template): use consistent resolution information

* Update LVGL.lvgl.1.0.5-alpha1.pack
2022-06-14 13:03:50 +02:00
_VIFEXTech
6e3d01190f
feat(benchmark): make lvgl render at the highest frame rate (#3352)
* feat(benchmark): make lvgl render at the highest frame rate

* add lv_demo_benchmark_set_max_speed

* Update comments and README

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-05-24 12:36:22 +02:00
Gabriel Wang
4e06025e1d
fix(benchmark): fix the issue that wrong scene number is used (#3372)
* fix(benchmark): fix the issue that wrong scene number is used when display the result

* remove white-spaces
2022-05-20 13:46:42 +02:00
Gabriel Wang
a7cfc0b901
feat(cmsis-pack): Monthly update for May (alpha) (#3359)
* feat(cmsis-pack): Monthly update for May

* fix(benchmark): fix a typo

* fix(draw): fix warning

* Update LVGL.lvgl.1.0.4-alpha5.pack

* feat(arm-2d): add a quick patch to support RGB565A8
2022-05-16 20:41:59 +02:00
Gabriel Wang
c5d1557738
feat(demos): add a callback for benchmark (#3353)
* feat(demos): add a callback for benchmark to indicate testing is finished

* update doc and fix code-format

* fix code-format issue

* Update demos/benchmark/lv_demo_benchmark.c

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>

* change function name accordingly.

* Update demos/benchmark/README.md

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-05-16 17:58:44 +02:00
_VIFEXTech
0d6c08105a
fix(demo): fix warning. (#3344)
* fix(demo): fix warning.

lvgl/demos/keypad_encoder/lv_demo_keypad_encoder.c:169:5: warning: "LV_EX_MOUSEWHEEL" is not defined, evaluates to 0 [-Wundef]
  169 | #if LV_EX_MOUSEWHEEL
      |     ^~~~~~~~~~~~~~~~

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

* fix benchmark warning.

~/lvgl/demos/benchmark/lv_demo_benchmark.c:1069:33: warning: cast between incompatible function types from ‘void (*)(lv_obj_t , uint16_t)’ {aka ‘void ()(struct _lv_obj_t , short unsigned int)’} to ‘void ()(void , int32_t)’ {aka ‘void ()(void , int)’} [-Wcast-function-type]
1069 | lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t) lv_arc_set_end_angle);
| ^
~/lvgl/demos/benchmark/lv_demo_benchmark.c: In function ‘fall_anim’:
~/lvgl/demos/benchmark/lv_demo_benchmark.c:1090:29: warning: cast between incompatible function types from ‘void ()(struct _lv_obj_t , lv_coord_t)’ {aka ‘void ()(struct _lv_obj_t , short int)’} to ‘void ()(void , int32_t)’ {aka ‘void ()(void *, int)’} [-Wcast-function-type]
1090 | lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t) lv_obj_set_y);
|

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-05-14 07:35:12 +02:00
Gabriel Wang
45a39a11fe
fix(benchmark): remove redundant string for the small screens (#3335)
* fix(benchmark): remove redundant string for the small screens (i.e. <320 in width)

* remove tail white-spaces
2022-05-07 22:14:35 +02:00
_VIFEXTech
e577b7a616
feat(demo): add Weighted FPS and Opa speed log output (#3326)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-05-06 14:39:26 +02:00
Gabor Kiss-Vamosi
ed3538a1ad chore(demo): fix lv_demo_widget if THEME_DEFAULT is not enabled 2022-05-04 21:14:28 +02:00
_VIFEXTech
c9ab5e4e55
fix(demo): fix Wformat warning (#3290)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-04-25 12:57:01 +02:00
Gabriel Wang
c6d4b6e554
feat(benchmark): add trace output for running a specific scenario (#3245)
* feat(benchmark): add trace output for running a specific scenario

* Update lv_demo_benchmark.c
2022-04-05 10:52:07 +02:00
Xiang Xiao
4c4f954059
chore(style): remove the trailing space from all source files (#3188)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 11:25:51 +01:00
Xiang Xiao
4078a571dc
fix(demo/stress): remove the unused assets (#3139)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-01 19:38:32 +01:00
Xiang Xiao
550a15c317
fix(demo): minor fix for benchmark (#3114)
1.add const to rnd_map
2.replace "i < sizeof(scenes) / sizeof(scene_dsc_t) - 1" with "scenes[i].create_cb"
3.replace "sizeof(scenes) / sizeof(scene_dsc_t)" with "dimof(scenes)"

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-22 12:47:04 +01:00
Xiang Xiao
0b799830ea
chore(demos): redirect urls to the new location in README.md (#3112)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-21 16:13:12 +01:00
Gabriel Wang
305ad00893
feat(benchmark): add an API to run specific scene (#3089) 2022-02-13 14:02:45 -05:00
embeddedt
9771050b99
chore(format) add formatting for examples & demos, merge test config 2022-02-13 13:59:17 -05:00
Gabriel Wang
ba38a4bb76
feat(log): improve lv_log and add log the result from lv_demo_benchmark (#3084)
* feat(log): improve log

* Update log.md

* Update log.md

* fix: fix formatting issue

* fix: fix formatting again...

* fix: remove blanks
2022-02-12 20:12:32 +01:00
Gabor Kiss-Vamosi
9e1b789fb3 chore(demo): describe why the memory leak is no zero 2022-02-07 20:38:05 +01:00
Gabriel Wang
7f4cde9388
fix: increase default value of LV_MEM_SIZE for lv_demo_widgets #3057 (#3058)
* fix: increase default value of LV_MEM_SIZE for demo:widgets #3057

* Update demos/widgets/lv_demo_widgets.c

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-29 14:34:08 +01:00
Themba Dube
3bd6ad80e7 test(demo) add tests for widget and stress demos 2022-01-24 10:55:32 -05:00
Gabriel Wang
101d09276f
docs(demos) update information to reflect new layout (#3029) 2022-01-20 13:52:52 -05:00
Gabriel Wang
218d68e99d
feat: update the cmsis-pack to 0.8.3 (#3021)
* doc: add readme.md for cmsis-pack

* feat: add benchmark to cmsis-pack

* fix: force WORD alignment for enabling AC6 auto-vectorization

* feat: add demo:widgets

* fix: use the original lv_demos.h
2022-01-19 22:31:02 +01:00
ckielstra
febafd1cc7
chore: many trivial spelling and layout fixes (#3008)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-17 08:10:23 -05:00
Gabor Kiss-Vamosi
b4a64216cf chore(demo): uncomment table stress test 2022-01-15 21:08:23 +01:00
Gabor Kiss-Vamosi
8d52de14b3 fix(table, chart): fix memory leaks
fixes #2967
2022-01-15 20:43:17 +01:00
_VIFEXTech
828744f11d
fix(Makefile): compilation errors (#2944)
* fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration

* feat(refr) add reset of FPS statistics

* fix(conf) mismatched macro judgment

* fix(Makefile) compilation errors

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-01-10 11:17:03 +01:00
Gabor Kiss-Vamosi
92016ccac7 demo(music): fix warnings and old draw functions 2022-01-03 14:53:00 +01:00
Gabor Kiss-Vamosi
db53ea925c arch(draw): allow replacing the draw engine
BREAKING CHANGE: the API of lv_draw_... function have been changed
2021-12-21 15:54:22 +01:00
Man, Jianting (Meco)
6e5dc1a5d8
demo(music player): use only ASCII characters (#2931)
Some compilers don't recognize • because of different encoding method (such as 936)
2021-12-21 10:39:00 +01:00
Gabor Kiss-Vamosi
5414652a41 arch merge lv_demos 2021-12-16 20:49:41 +01:00