1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

42 Commits

Author SHA1 Message Date
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 5369d7d473446a8953f2ea37b9116da918d3c8d2

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

* fix(config): remove LV_COLOR_SCREEN_TRANSP related stuff

follow commit 5369d7d473446a8953f2ea37b9116da918d3c8d2

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