LVGL porting for M5Dial
- PlatformIO 6.1 with espressif32@6.5.0
- ESP-IDF 5.1.2
Specify M5Dial-LVGL git repo in lib_deps
option.
lib_deps =
M5Dial-LVGL=https://github.com/mzyy94/M5Dial-LVGL.git#v0.0.1
Create idf_component.yml
in main directory and put item in dependencies section.
dependencies:
mzyy94/M5Dial-LVGL:
git: https://github.com/mzyy94/M5Dial-LVGL.git
version: v0.0.1
Call m5dial_lvgl_init()
first, m5dial_lvgl_next()
in a loop.
Please refer to examples for more details.
hello_world | touch_button | dial_number |
---|---|---|
Simple drawing | Touch input | Encoder input |
qr_code | new_font | native_sdl |
---|---|---|
Custom config | External font | PC preview |