forked from HASwitchPlate/openHASP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
137 lines (119 loc) · 4.75 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
; MIT License - Copyright (c) 2019-2024 Francis Van Roie
; For full license information read the LICENSE file in the project folder
;
; PlatformIO Project Configuration File
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html
;**************************************************************
; Common project settings
;**************************************************************
[platformio]
extra_configs =
user_setups/lcd_config.ini
; -- Base configurations per platform
user_setups/esp32/_esp32.ini
user_setups/esp32s2/_esp32s2.ini
user_setups/esp32s3/_esp32s3.ini
; -- Put custom [env] files in this dir to be included in the build menu
user_setups/custom/*.ini
; -- Add customizations to this file only (copy and rename the template):
platformio_override.ini
default_envs =
; Uncomment the needed environments in platformio_override.ini
; You can also create new environments in in platformio_override.ini
${override.extra_default_envs}
[override]
; -- By default there are no ${override.build_flags} set
; -- to use it, copy the platformio_override.ini file from the template
build_flags =
extra_default_envs =
;***************************************************
; Common environment settings
;***************************************************
[env]
upload_speed = 921600
monitor_speed = 115200
build_flags =
;-v ; verbose
-D PIOENV=\"${PIOENV}\"
-Os ; Code Size Optimization
;-Og ; Code Debug Optimization
;-w ; Suppress warnings
-D CORE_DEBUG_LEVEL=0 ; 0=Silent, 1=Errors, 2=Warnings
;-D LOG_LOCAL_LEVEL=5 ; Verbose
-D LOG_MAXIMUM_LEVEL_VERBOSE
-D LOG_DEFAULT_LEVEL_WARNING
-D LOG_TIMESTAMP_SOURCE_SYSTEM
-D CONFIG_ARDUHAL_ESP_LOG=1
-D CONFIG_LOG_COLORS=1
-I include ; include lv_conf.h and hasp_conf.h
; -- littlevgl build options ------------------------------
-D LV_CONF_INCLUDE_SIMPLE ; for lvgl
-D LV_LVGL_H_INCLUDE_SIMPLE ; for lv_drivers
-D LV_COMP_CONF_INCLUDE_SIMPLE ; for components
-D LV_SYMBOL_DEF_H ; don't load default symbol defines
-D LODEPNG_NO_COMPILE_ALLOCATORS ; use PSram functions
-D LV_PNG_USE_LV_FILESYSTEM=1 ; use lvgl filesystem api, drive L:\
-D LV_USE_FILESYSTEM=1
; -- ESP build options ------------------------------------
-D SPIFFS_TEMPORAL_FD_CACHE ; speedup opening recent files
; -- ArduinoJson build options ----------------------------
-D ARDUINOJSON_DECODE_UNICODE=1 ; for utf-8 symbols
-D ARDUINOJSON_ENABLE_COMMENTS=1 ; enable comments
; -- StreamUtils build options ----------------------------
-D STREAMUTILS_ENABLE_EEPROM=1 ; for STM32, it also supports EEPROM
; -- Hasp build options ----------------------------
-D HASP_VER_MAJ=0
-D HASP_VER_MIN=7
;-D HASP_VER_REV=4
-D HASP_VER_REV=0-rc11
;-D HASP_VER_REV=4-rc1
${override.build_flags}
; -- Shared library dependencies in all environments
; Warning : don't put comments after github links => causes infinite download loop
lib_deps =
bblanchon/ArduinoJson@^6.21.5
;git+https://github.com/fvanroie/ConsoleInput.git
;git+https://github.com/andrethomas/TasmotaSlave.git
;git+https://github.com/lvgl/lvgl.git
;git+https://github.com/lvgl/lvgl.git#release/v7
git+https://github.com/HASwitchPlate/lvgl.git#release/v7
;git+https://github.com/lvgl/lv_fs_if.git#release/v7
git+https://github.com/lvgl/lv_lib_png.git#release/v7
git+https://github.com/lvgl/lv_lib_bmp.git#release/v7
git+https://github.com/lvgl/lv_lib_gif.git#release/v7
;git+https://github.com/lvgl/lv_lib_split_jpg.git
; ------ Unused / Test libraries
;https://github.com/netwizeBE/TFT_eSPI.git
;Syslog@^2.0.0 ; Obsoleted
;AsyncTCP
;https://github.com/me-no-dev/ESPAsyncWebServer/archive/master.zip
;https://github.com/me-no-dev/ESPAsyncTCP/archive/master.zip
build_src_filter = +<*> -<.git/> -<examples/> -<test/> -<tests/> -<stm32f4/> -<lv_font_montserrat_*.c>
[lovyangfx]
lib_deps =
lovyan03/LovyanGFX@^1.1.12
[arduinogfx]
lib_deps =
moononournation/GFX Library for Arduino@1.4.0 ; Update needs modification of custom PCA class
;git+https://github.com/moononournation/Arduino_GFX.git
[tft_espi]
lib_deps =
bodmer/TFT_eSPI@2.5.34
;https://github.com/Bodmer/TFT_eSPI.git#master
[goodix]
lib_deps =
git+https://github.com/netwizeBE/arduino-goodix.git
[ft6336]
lib_deps =
git+https://github.com/aselectroworks/Arduino-FT6336U.git
[tsc2007]
lib_deps =
git+https://github.com/adafruit/Adafruit_TSC2007.git
[gsl1680]
lib_deps =
git+https://github.com/arovak/GSL2038.git
[stmpe610]
lib_deps =
adafruit/Adafruit STMPE610@^1.1.6