-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathplatformio.ini
More file actions
49 lines (48 loc) · 1.71 KB
/
platformio.ini
File metadata and controls
49 lines (48 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
lib_deps =
lovyan03/LovyanGFX@^1.1.5
lvgl/lvgl@^8.3.4
build_flags =
;###############################################################
; LVGL setting here. No need to edit lv_conf.h in folder :
; PlatformIO\Projects\<project>\.pio\libdeps\esp32dev\lv_conf.h
;###############################################################
; Don't use lv_conf.h. Tweak params via platfom.ini.
-D LV_CONF_SKIP
-D LV_CONF_INCLUDE_SIMPLE
; Add more defines below to overide lvgl:/src/lv_conf_simple.h
-D LV_USE_LOG=1 ; enable log and serial monitor
-D LV_TICK_CUSTOM=1 ; get the touch working
-D LV_COLOR_SCREEN_TRANSP=1
; fonts
-D "LV_FONT_DEFAULT='&lv_font_montserrat_12'"
-D LV_USE_FONT_COMPRESSED=1
-D LV_FONT_MONTSERRAT_12=1
-D LV_FONT_MONTSERRAT_14=1
-D LV_FONT_MONTSERRAT_16=1
-D LV_FONT_MONTSERRAT_18=1
; theme
-D LV_THEME_DEFAULT_DARK=1
; examples
-D LV_BUILD_EXAMPLES=1
; ".vscode\c_cpp_properties.json" shows if include path works
;-I.pio/libdeps/esp32dev/lvgl/src/examples/widgets/btn ; path ok but doesn't work
;-I.pio/libdeps/esp32dev/lvgl/src/examples/get_started
; demos
-D LV_USE_DEMO_WIDGETS=1
-D LV_USE_DEMO_KEYPAD_AND_ENCODER=1
-D LV_USE_DEMO_BENCHMARK=1
-D LV_USE_DEMO_MUSIC=1
-D LV_USE_DEMO_STRESS=1