-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
72 lines (67 loc) · 1.82 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
; 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 = TTGO_T8_ESP32_C3
[common]
firmware_version = '"1.0.0.${UNIX_TIME}"'
[env:LOLIN_S2_MINI]
platform = espressif32
board = lolin_s2_mini
framework = arduino
board_build.filesystem = littlefs
monitor_speed = 115200
lib_deps =
ottowinter/ESPAsyncWebServer-esphome@^3.0.0
ayushsharma82/AsyncElegantOTA@^2.2.7
bblanchon/ArduinoJson@^6.20.1
greiman/SdFat@^2.2.0
arduinogetstarted/ezLED @ ^1.0.1
luc-github/ESP32SSDP@^1.2.1
build_flags =
-D LOLIN_S2_MINI
extra_scripts =
pre:auto_version.py
[env:TTGO_T8_ESP32_S2]
platform = espressif32
framework = arduino
board = esp32-s2-saola-1
board_build.filesystem = littlefs
monitor_speed = 115200
lib_deps =
ottowinter/ESPAsyncWebServer-esphome@^3.0.0
ayushsharma82/AsyncElegantOTA@^2.2.7
bblanchon/ArduinoJson@^6.20.1
greiman/SdFat@^2.2.0
arduinogetstarted/ezLED @ ^1.0.1
luc-github/ESP32SSDP@^1.2.1
build_flags =
-D TTGO_T8_ESP32_S2
monitor_filters = esp32_exception_decoder
extra_scripts =
pre:auto_version.py
[env:TTGO_T8_ESP32_C3]
board = esp32-c3-devkitm-1
platform = espressif32
framework = arduino
board_build.filesystem = littlefs
monitor_speed = 115200
lib_deps =
ottowinter/ESPAsyncWebServer-esphome@^3.0.0
ayushsharma82/AsyncElegantOTA@^2.2.7
bblanchon/ArduinoJson@^6.20.1
greiman/SdFat@^2.2.0
arduinogetstarted/ezLED @ ^1.0.1
luc-github/ESP32SSDP@^1.2.1
build_flags =
-D TTGO_T8_ESP32_C3
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
extra_scripts =
pre:auto_version.py