Commit Graph

46 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi da2b139092 chore: code formatting 2024-03-20 08:29:26 +01:00
Gabor Kiss-Vamosi 16c0f39798 demo(music): add png assets 2024-03-20 08:29:25 +01:00
_VIFEXTech 338c02d220 feat(style): backport opa_layered 2024-01-22 09:51:20 +00:00
Gabor Kiss-Vamosi 1693951fe6 demo(sress): fix issues when the stress test is opened/clsoed multiple times 2024-01-22 09:51:20 +00:00
PeterB 6eda0b81e4 chore(music demo) fix formatting 2024-01-22 09:51:20 +00:00
Gabor Kiss-Vamosi 83eba37898 demos: add lv_demo_..._close() functions for each demo 2024-01-22 09:51:20 +00:00
Gabor Kiss-Vamosi fb7e0c7674
fix(benchmark): fix warnings
related to #3759
2023-06-22 21:56:19 +02:00
Gabor Kiss-Vamosi 98d9657a3a
demo(benchmark): fix lv_label_set_text_fmt format strings 2023-06-22 21:56:19 +02:00
Gabor Kiss-Vamosi 654a310465
chore: format code 2023-06-22 21:56:19 +02:00
Gabor Kiss-Vamosi 8ac83c8c0d
demo(benchmark): fix warning 2023-06-22 21:56:18 +02:00
卢华东 da54c03461
fix(demo): can not found lvgl.h file (#3477) 2023-06-22 21:54:38 +02:00
Man, Jianting (Meco) 4d06d9b2bb
chore(demo): fix the path of picture files in readme (#3451) 2023-06-22 21:54:37 +02:00
Gabor Kiss-Vamosi bb4d007a05
fix(refr): fix memory write out of bounds issue 2023-06-22 21:54:36 +02:00
Gabor Kiss-Vamosi 82da78df03
chore: fix code formatting 2023-06-22 21:54:33 +02:00
Gabor Kiss-Vamosi 26b068611f
demo(benchmark): add LV_DEMO_BENCHMARK_RGB565A8 option
fixes #3379
2023-06-22 21:54:33 +02:00
Gabriel Wang 31f8452e72
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
2023-06-22 21:54:32 +02:00
_VIFEXTech 7a3dc96636
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>
2023-06-22 21:54:28 +02:00
Gabriel Wang 003bef8318
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
2023-06-22 21:54:28 +02:00
Gabriel Wang 39f9533548
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
2023-06-22 21:54:26 +02:00
Gabriel Wang 8bc50f1f32
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>
2023-06-22 21:54:26 +02:00
_VIFEXTech b90906d65d
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>
2023-06-22 21:54:25 +02:00
Gabriel Wang 3bc08a4213
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
2023-06-22 21:54:22 +02:00
_VIFEXTech cebd2a6971
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>
2023-06-22 21:54:22 +02:00
Gabor Kiss-Vamosi 354a008d05
chore(demo): fix lv_demo_widget if THEME_DEFAULT is not enabled 2023-06-22 21:54:22 +02:00
_VIFEXTech 5cd9398fba
fix(demo): fix Wformat warning (#3290)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-06-22 21:54:17 +02:00
Gabriel Wang 58b86e726c
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
2023-06-22 21:53:39 +02:00
Xiang Xiao 1cd164be54
chore(style): remove the trailing space from all source files (#3188)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-06-22 21:53:33 +02:00
Xiang Xiao 1110cb22db
fix(demo/stress): remove the unused assets (#3139)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-06-22 21:48:28 +02:00
Xiang Xiao 24cf51691a
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>
2023-06-22 21:48:26 +02:00
Xiang Xiao 2abe35171e
chore(demos): redirect urls to the new location in README.md (#3112)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-06-22 21:48:25 +02:00
Gabriel Wang 9ebb212233
feat(benchmark): add an API to run specific scene (#3089) 2023-06-22 21:48:22 +02:00
embeddedt 362eaa1d66
chore(format) add formatting for examples & demos, merge test config 2023-06-22 21:48:19 +02:00
Gabriel Wang b8dd10253a
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
2023-06-22 21:48:00 +02:00
Gabor Kiss-Vamosi 367b9dbd1f
chore(demo): describe why the memory leak is no zero 2023-06-22 21:47:59 +02: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