-
Notifications
You must be signed in to change notification settings - Fork 40
/
platformio.ini
120 lines (104 loc) · 2.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
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
; 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 = ESP8266, ESP8266_test_server, ESP32, ESP32_test_server, ESP32_C3, ESP32_S2, ESP32_S3, ESP32_C3_test_server, ESP32_S2_test_server, ESP32_S3_test_server
src_dir = ${PROJECT_DIR}/ATEM_tally_light
lib_dir = ${PROJECT_DIR}/libraries
[env]
framework = arduino
lib_deps =
fastled/FastLED@^3.6.0
monitor_speed = 115200
extra_scripts =
post:pio_scripts/publish_binaries.py
; General platform builds
[env:ESP8266]
build_flags =
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
-D CHIP_FAMILY='"ESP8266"'
platform = [email protected]
board = d1_mini
board_build.f_cpu = 160000000L
custom_web_flasher_name = Tally light
[env:ESP8266_test_server]
extends = env:ESP8266
build_flags =
${env:ESP8266.build_flags}
-D TALLY_TEST_SERVER
custom_web_flasher_name = Tally test server
[env:ESP32]
build_flags =
-D CHIP_FAMILY='"ESP32"'
platform = espressif32
board = esp32dev
custom_web_flasher_name = Tally light
[env:ESP32_test_server]
extends = env:ESP32
build_flags =
${env:ESP32.build_flags}
-D TALLY_TEST_SERVER
custom_web_flasher_name = Tally test server
[env:ESP32_C3]
build_flags =
-D CHIP_FAMILY='"ESP32-C3"'
-D TALLY_DATA_PIN=4
platform = espressif32
board = esp32-c3-devkitc-02
custom_web_flasher_name = Tally light
[env:ESP32_C3_test_server]
extends = env:ESP32_C3
build_flags =
${env:ESP32_C3.build_flags}
-D TALLY_TEST_SERVER
custom_web_flasher_name = Tally test server
[env:ESP32_S2]
build_flags =
-D CHIP_FAMILY='"ESP32-S2"'
platform = espressif32
board = esp32-s2-kaluga-1
custom_web_flasher_name = Tally light
[env:ESP32_S2_test_server]
extends = env:ESP32_S2
build_flags =
${env:ESP32_S2.build_flags}
-D TALLY_TEST_SERVER
custom_web_flasher_name = Tally test server
[env:ESP32_S3]
build_flags =
-D CHIP_FAMILY='"ESP32-S3"'
platform = espressif32
board = esp32-s3-devkitc-1
custom_web_flasher_name = Tally light
[env:ESP32_S3_test_server]
extends = env:ESP32_S3
build_flags =
${env:ESP32_S3.build_flags}
-D TALLY_TEST_SERVER
custom_web_flasher_name = Tally test server
; Board specific builds
[env:ATOM_Matrix]
build_flags =
-D CHIP_FAMILY='"ESP32"'
-D PIN_RED1=22
-D PIN_GREEN1=19
-D PIN_BLUE1=23
-D PIN_RED2=32
-D PIN_GREEN2=26
-D PIN_BLUE2=33
-D TALLY_DATA_PIN=27
platform = espressif32
board = m5stack-atom
custom_web_flasher_name = Tally light (ATOM Matrix)
[env:ATOM_Matrix_test_server]
extends = env:ATOM_Matrix
build_flags =
${env:ATOM_Matrix.build_flags}
-D TALLY_TEST_SERVER
custom_web_flasher_name = Tally test server (ATOM Matrix)