Skip to content

Commit

Permalink
TFT: Use lvgl instead of guilite
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryzee119 committed Sep 20, 2022
1 parent 36bba0a commit c13bc0c
Show file tree
Hide file tree
Showing 13 changed files with 971 additions and 5,160 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "src/lib/tusb_xinput"]
path = src/lib/tusb_xinput
url = https://github.com/Ryzee119/tusb_xinput.git
[submodule "src/lib/lvgl"]
path = src/lib/lvgl
url = https://github.com/lvgl/lvgl.git
17 changes: 16 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@ src_filter =
+<lib/tinyusb/src/class/hid/*.c>
+<lib/tusb_xinput/*.c>

+<lib/lvgl/src/core/*.c>
+<lib/lvgl/src/draw/*.c>
+<lib/lvgl/src/draw/sw/*.c>
+<lib/lvgl/src/font/*.c>
+<lib/lvgl/src/hal/*.c>
+<lib/lvgl/src/extra/lv_extra.c>
+<lib/lvgl/src/extra/layouts/flex/*.c>
+<lib/lvgl/src/extra/themes/default/*.c>
+<lib/lvgl/src/misc/*.c>
+<lib/lvgl/src/widgets/*.c>

build_flags =
-O2
-Wall
Expand Down Expand Up @@ -68,8 +79,12 @@ build_flags =
; Tinyalloc Configuration
-DTA_DISABLE_COMPACT

; LVGL Configuration
-Isrc/lib/lvgl
-DLV_LVGL_H_INCLUDE_SIMPLE

[env:teensy41]
platform = teensy@~4.13.1
platform = teensy@~4.16.0
board = teensy41
framework = arduino

Expand Down
Loading

0 comments on commit c13bc0c

Please sign in to comment.