-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
102 lines (94 loc) · 2.34 KB
/
platformio.ini
File metadata and controls
102 lines (94 loc) · 2.34 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
; 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]
default_envs = esp32
name = ESPLEDController
description = ESP LED Controller
[env]
framework = arduino
monitor_speed = 115200
upload_speed = 921600
extra_scripts =
pre:buildscript_versioning.py
lib_compat_mode = strict
lib_ldf_mode = chain
lib_deps =
ESP32Async/AsyncTCP
ESP32Async/ESPAsyncWebServer
jsc/ArduinoLog@^1.2.1
bblanchon/ArduinoJson@^7.4.3
bblanchon/StreamUtils@^1.9.2
ayushsharma82/ElegantOTA@^3.1.7
robtillaart/DS18B20@^0.2.6
fastled/FastLED@^3.10.3
adafruit/Adafruit SSD1306@^2.5.16
adafruit/Adafruit GFX Library@^1.12.6
build_flags =
-D CORE_DEBUG_LEVEL=4
-D ELEGANTOTA_USE_ASYNC_WEBSERVER=1
[env:esp8266]
platform = espressif8266
board = esp12e
board_build.f_cpu = 160000000L
build_flags =
${env.build_flags}
-D FASTLED_INTERRUPT_RETRY_COUNT=1
lib_deps =
${env.lib_deps}
[env:esp32]
platform = espressif32
board = esp32doit-devkit-v1
lib_deps =
${env.lib_deps}
[env:esp32c3]
platform = espressif32
board = esp32-c3-devkitm-1
monitor_speed = 460800
monitor_rts = 0
monitor_dtr = 0
build_flags = ${env.build_flags}
-D ARDUINO_LOLIN_C3_MINI
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
-D LOG_LEVEL=LOG_LEVEL_SILENT
lib_deps =
${env.lib_deps}
[env:esp32s3]
platform = espressif32
board = esp32-s3-devkitc-1
board_build.mcu = esp32s3
board_build.f_cpu = 240000000L
board_build.arduino.memory_type = qio_qspi
board_build.flash_mode = qio
board_build.psram_type = qio
board_upload.flash_size = 4MB
board_upload.maximum_size = 4194304
board_build.partitions = default.csv
monitor_speed = 460800
monitor_rts = 0
monitor_dtr = 0
lib_compat_mode = strict
build_flags = ${env.build_flags}
-D ARDUINO_LOLIN_C3_MINI
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
-D BOARD_HAS_PSRAM
-D LOG_LEVEL=LOG_LEVEL_SILENT
lib_deps =
${env.lib_deps}
[env:seeed_xiao_esp32s3]
platform = espressif32
board = seeed_xiao_esp32s3
board_build.mcu = esp32s3
board_build.f_cpu = 240000000L
lib_compat_mode = strict
build_flags = ${env.build_flags}
lib_deps =
${env.lib_deps}