Skip to content

Commit 62ea2d5

Browse files
committed
boards/M5STACK_Tab5: Add some lvgl font.
Signed-off-by: lbuque <[email protected]>
1 parent cd0a571 commit 62ea2d5

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

m5stack/boards/M5STACK_Tab5/mpconfigboard.cmake

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,19 @@ set(SDKCONFIG_DEFAULTS
2424
)
2525

2626
# If not enable LVGL, ignore this...
27-
set(LV_CFLAGS
27+
set(LV_CFLAGS
2828
-DLV_COLOR_DEPTH=16
2929
-DLV_COLOR_16_SWAP=0
30-
-DLV_FONT_MONTSERRAT_24=1
31-
-DLV_FONT_MONTSERRAT_22=1
32-
-DLV_FONT_MONTSERRAT_20=1
33-
-DLV_FONT_MONTSERRAT_18=1
30+
# startup ui need these fonts
3431
-DLV_FONT_MONTSERRAT_14=1
32+
-DLV_FONT_MONTSERRAT_18=1
33+
-DLV_FONT_MONTSERRAT_20=1
34+
-DLV_FONT_MONTSERRAT_22=1
35+
-DLV_FONT_MONTSERRAT_24=1
3536
-DLV_FONT_MONTSERRAT_30=1
37+
# user need these fonts
38+
-DLV_FONT_MONTSERRAT_36=1
39+
-DLV_FONT_MONTSERRAT_48=1
3640
)
3741

3842
if(NOT MICROPY_FROZEN_MANIFEST)

0 commit comments

Comments
 (0)