Add Dial support

This commit is contained in:
imliubo
2024-03-05 09:42:21 +08:00
committed by IAMLIUBO
parent 7b6ce9c81b
commit e563478652
3 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ Now we have also added a picture of the device shell as the border background,
which can better simulate the display effect on the device side.
<div align=center>
<img src="images/lv_m5stack_fire.gif" width="25%"><img src="images/lv_m5stack_core2.gif" width="25%"><img src="images/lv_m5stack_cores3.gif" width="25%">
<img src="images/lv_m5stack_fire.gif" width="25%"><img src="images/lv_m5stack_core2.gif" width="25%"><img src="images/lv_m5stack_cores3.gif" width="25%"><img src="images/lv_m5stack_dial.gif" width="24.78%">
</div>
## How to install & use demo
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

+13 -1
View File
@@ -37,8 +37,8 @@ lib_archive = false
build_flags =
-l SDL2
${env.build_flags}
-D M5GFX_BACK_COLOR=0xFFFFFFU
-D M5GFX_SHOW_FRAME
-D M5GFX_BACK_COLOR=0xFFFFFFU ; background color
-D M5GFX_SCALE=2
-D M5GFX_ROTATION=0
@@ -140,3 +140,15 @@ build_flags =
build_src_filter =
+<*>
+<../.pio/libdeps/emulator_StickCPlus2/lvgl/demos>
[env:emulator_Dial]
platform = native@^1.2.1
extra_scripts = support/sdl2_build_extra.py
build_type = debug
build_flags =
${env:emulator_common.build_flags}
-D M5GFX_BOARD=board_M5Dial
build_src_filter =
+<*>
+<../.pio/libdeps/emulator_Dial/lvgl/demos>