forked from HASwitchPlate/openHASP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
122 lines (105 loc) · 4.31 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
; MIT License - Copyright (c) 2019-2022 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
; -- Put active [env] files in this dir to be included in the build menu
user_setups/active/*.ini
; -- Add customizations to this file only:
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
-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:\
; -- ESP build options ------------------------------------
-D SPIFFS_TEMPORAL_FD_CACHE ; speedup opening recent files
; -- ArduinoJson build options ----------------------------
-D ARDUINOJSON_DECODE_UNICODE=1 ; for utf-8 symbols
; -- 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=6
;-D HASP_VER_REV=4
-D HASP_VER_REV=4-dev
;-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 =
bxparks/AceButton@^1.9.2 ; GPIO button library
bblanchon/ArduinoJson@^6.19.4 ; Json(l) parser
bblanchon/StreamUtils@^1.6.3 ; for EEPromStream and BufferedTelnetClient
knolleary/PubSubClient@^2.8.0 ; MQTT client
;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/lvgl/lv_fs_if.git#release/v7
;lvgl/lvgl@^7.11.0 ; from PIO library
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@^0.4.17
[tft_espi]
lib_deps =
bodmer/TFT_eSPI@2.4.61
[goodix]
lib_deps =
git+https://github.com/netwizeBE/arduino-goodix.git
[ft6336]
lib_deps =
git+https://github.com/aselectroworks/Arduino-FT6336U.git
[gsl1680]
lib_deps =
git+https://github.com/arovak/GSL2038.git
[stmpe610]
lib_deps =
adafruit/Adafruit STMPE610@^1.1.4