-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathplatformio.ini
More file actions
62 lines (57 loc) · 2.16 KB
/
Copy pathplatformio.ini
File metadata and controls
62 lines (57 loc) · 2.16 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
; 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]
monitor_speed = 115200
upload_speed = 921600
platform = espressif32
framework = arduino
; https://registry.platformio.org/tools/espressif/toolchain-riscv32-esp/versions
;platform_packages = espressif/toolchain-riscv32-esp
board_build.partitions = partitions.csv
board_build.filesystem = littlefs
monitor_filters = esp32_exception_decoder
build_flags =
!python scripts/build_flags.py git_branch
!python scripts/build_flags.py git_repo
!python scripts/build_flags.py git_owner
-D GITHUB_RUN=\"${sysenv.GITHUB_RUN}\"
; -D WIFISSID=\"gast\" ; use fixed WiFi credentials if Improv-WiFi-Library isn´t supported by your board
; -D WIFIPASSWORD=\"12345678\" ; use fixed WiFi credentials if Improv-WiFi-Library isn´t supported by your board
-Wall -Wextra
-D CONFIG_ARDUHAL_LOG_COLORS
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
-D CONFIG_ASYNC_TCP_QUEUE_SIZE=128
-D CONFIG_ASYNC_TCP_RUNNING_CORE=1
-D WS_MAX_QUEUED_MESSAGES=128
-D WSL_HIGH_PERF
lib_deps =
knolleary/PubSubClient
bblanchon/ArduinoJson@>6.19.0
EinarArnason/ArduinoQueue
https://github.com/bblanchon/ArduinoStreamUtils.git
https://github.com/YiannisBourkelis/Uptime-Library.git
https://github.com/tobiasfaust/Improv-WiFi-Library.git
https://github.com/tobiasfaust/ElegantOTA.git
https://github.com/tobiasfaust/esp-handlefiles.git
https://github.com/tobiasfaust/webserial.git
https://github.com/ESP32Async/ESPAsyncWebServer#v3.6.0
extra_scripts =
pre:scripts/prepareDataDir.py
[env:firmware_ESP32]
board = esp32dev
[env:firmware_ESP32-S2]
board = esp32-s2-saola-1
[env:firmware_ESP32-S3]
board = esp32-s3-devkitc-1
[env:firmware_ESP32-C3]
board = esp32-c3-devkitm-1
build_flags = ${env.build_flags}
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1