-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
87 lines (78 loc) · 2.07 KB
/
platformio.ini
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
; 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
[platformio]
description = "K40 Control Panel"
default_envs = ST7796
[env]
platform = espressif32
board = nodemcu-32s
board_build.partitions = min_spiffs.csv
monitor_filters = direct
monitor_speed = 115200
framework = arduino
extra_scripts = platformio_ota.py
build_flags =
!echo '-DGIT_CURRENT_REF=\\"'$(git describe --tags --always --abbrev=8 HEAD)'\\"'
'-DLV_CONF_INCLUDE_SIMPLE'
'-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO'
'-DCONFIG_ARDUHAL_LOG_COLORS=1'
'-Iinclude/LVGL'
lib_deps =
lvgl/lvgl@^8.3.4
lovyan03/LovyanGFX@^1.1.2
ayushsharma82/AsyncElegantOTA@^2.2.7
https://github.com/yubox-node-org/ESPAsyncWebServer.git#1dde9cf0219de662ed0882c0b6208057f70f105d
bblanchon/ArduinoJson@^6.21.0
[debug]
build_flags =
'-DDEBUG'
'-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG'
build_unflags =
'-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO'
monitor_filters =
esp32_exception_decoder
[ILI9488]
build_flags =
'-DDISPLAY_DRIVER=DISPLAY_DRIVER_ILI9488'
[ST7796]
build_flags =
'-DDISPLAY_DRIVER=DISPLAY_DRIVER_ST7796'
[env:ILI9488]
build_flags =
${env.build_flags}
${ILI9488.build_flags}
[env:ILI9488_debug]
extends = env:ILI9488
build_type = debug
build_unflags =
${debug.build_unflags}
build_flags =
${env.build_flags}
${ILI9488.build_flags}
${debug.build_flags}
monitor_filters =
${env.monitor_filters}
esp32_exception_decoder
[env:ST7796]
build_flags =
${env.build_flags}
${ST7796.build_flags}
[env:ST7796_debug]
extends = env:ST7796
build_type = debug
build_unflags =
${debug.build_unflags}
build_flags =
${env.build_flags}
${ST7796.build_flags}
${debug.build_flags}
monitor_filters =
${env.monitor_filters}
${debug.monitor_filters}