-
-
Notifications
You must be signed in to change notification settings - Fork 167
Expand file tree
/
Copy pathplatformio.ini
More file actions
107 lines (100 loc) · 2.79 KB
/
platformio.ini
File metadata and controls
107 lines (100 loc) · 2.79 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
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
; 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]
platform = espressif32@6.12.0
framework = arduino
monitor_speed = 115200
build_unflags =
-std=gnu++11
check_flags =
cppcheck: --enable=all --inline-suppr --suppress=*:*/.pio/*
monitor_filters =
esp32_exception_decoder
time
default
[display_common]
build_flags =
-std=c++17
-std=gnu++17
-DLV_CONF_INCLUDE_SIMPLE
-DLV_CONF_PATH="${platformio.src_dir}/display/lv_conf.h"
-DDISABLE_ALL_LIBRARY_WARNINGS
-DLV_CONF_SUPPRESS_DEFINE_CHECK
-DARDUINO_USB_CDC_ON_BOOT=1
-DCORE_DEBUG_LEVEL=3
-DCONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_CMN
-Os
-DCONFIG_MAX_FILENAME_LEN=64
-DCONFIG_MAX_URL_LEN=128
-DCONFIG_NIMBLE_CPP_LOG_LEVEL=2
-DCONFIG_BT_NIMBLE_PINNED_TO_CORE=0
-DCONFIG_ASYNC_TCP_RUNNING_CORE=0
-DCONFIG_ASYNC_TCP_MAX_ACK_TIME=5000
-DCONFIG_ASYNC_TCP_PRIORITY=10
-DCONFIG_ASYNC_TCP_QUEUE_SIZE=64
-DCONFIG_ASYNC_TCP_STACK_SIZE=8192
-DDEFAULT_MAX_WS_CLIENTS=4
lib_deps_default =
FS
SPIFFS
Wire
SPI
ble_ota_dfu
h2zero/NimBLE-Arduino@^1.4.0
https://github.com/ESP32Async/AsyncTCP.git#v3.4.9
https://github.com/ESP32Async/ESPAsyncWebServer.git#v3.9.1
bblanchon/ArduinoJson@^7.2.1
256dpi/MQTT@^2.5.2
https://github.com/gaggimate/esp-arduino-ble-scales
homespan/HomeSpan@1.9.1
[env:display]
board = LilyGo-T-RGB
upload_speed = 921600
build_src_filter = -<*> +<display/> +<version.h>
extra_scripts =
pre:scripts/auto_firmware_version.py
lib_deps =
${display_common.lib_deps_default}
lewisxhe/SensorLib @ 0.2.3
bodmer/TFT_eSPI @ 2.5.43
lvgl/lvgl @ 8.4.0
moononournation/GFX Library for Arduino @ 1.5.9
build_flags =
${display_common.build_flags}
[env:display-headless]
extends = env:display
lib_deps =
${display_common.lib_deps_default}
build_flags =
${display_common.build_flags}
-DGAGGIMATE_HEADLESS
build_src_filter = -<*> +<display/> +<version.h> -<display/drivers/> -<display/ui/> -<display/lv_conf.h>
[env:display-headless-8m]
extends = env:display-headless
board = seeed_xiao_esp32s3
[env:display-headless-4m]
extends = env:display-headless
board = esp32-s3-supermini
[env:controller]
board = Gaggimate-Controller
build_src_filter = -<*> +<controller/> +<version.h>
extra_scripts =
pre:scripts/auto_firmware_version.py
lib_deps =
GaggiMateController
FS
SPIFFS
ble_ota_dfu
h2zero/NimBLE-Arduino@^1.4.0
bblanchon/ArduinoJson@^7.2.1
build_flags =
-std=c++17
-std=gnu++17
-DCORE_DEBUG_LEVEL=3