-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
platformio.ini
211 lines (181 loc) · 5.19 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
; ESPNowCam
; https://github.com/hpsaturn/ESPNowCam
; @Hpsaturn 2024
[platformio]
src_dir = ./examples/
lib_dir = ./examples/lib
[env]
platform = espressif32@6.9.0
framework = arduino
monitor_speed = 115200
monitor_filters =
esp32_exception_decoder
time
build_flags =
; -Wall
; -Wextra
; -Werror
-D CORE_DEBUG_LEVEL=3
-D BOARD_HAS_PSRAM=1
lib_deps =
nanopb/Nanopb@0.4.9
extra_scripts = pre:prebuild.py
[esp32common]
extends = env
board = esp32-s3-devkitc-1
board_build.flash_size = 16MB
board_build.partitions = ./config/partitions.csv
[xiao-common]
extends = esp32common
board_build.arduino.memory_type = dio_opi ;
board_build.flash_size = 8MB
build_flags =
${env.build_flags}
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_USB_MODE=1
[m5cores3_common]
extends = esp32common
lib_deps =
${esp32common.lib_deps}
m5stack/M5CoreS3@1.0.0
m5stack/M5Unified@^0.1.17
build_flags =
${env.build_flags}
-DESP32S3
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_USB_MODE=1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Camera Senders
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[env:freenove-p2p-sender]
extends = esp32common
board_build.arduino.memory_type = dio_opi ;
build_src_filter = -<*> +<common/> +<freenove-p2p-sender/>
[env:xiao-espnow-sender]
extends = xiao-common
build_src_filter = -<*> -<*common*> +<xiao-espnow-sender/>
[env:xiao-fpv-sender]
extends = xiao-common
build_src_filter = -<*> -<*common*> +<xiao-fpv-sender/>
lib_deps =
${esp32common.lib_deps}
mathertel/OneButton@^2.0.3
[env:xiao-internal-jpg-sender]
extends = xiao-common
build_src_filter = -<*> -<*common*> +<xiao-internal-jpg-sender/>
lib_deps =
${esp32common.lib_deps}
mathertel/OneButton@^2.0.3
[env:unitcams3-basic-sender]
extends = esp32common
board = esp32s3box
board_build.f_cpu = 240000000L
board_build.f_flash = 80000000L
board_build.flash_mode = qio
board_build.flash_size = 16MB
build_src_filter = -<*> -<*common*> +<unitcams3-basic-sender/>
build_flags =
${env.build_flags}
; -mfix-esp32-psram-cache-issue
-DCONFIG_ARDUINO_LOOP_STACK_SIZE=16384
[env:tjournal-espnow-sender]
platform = espressif32
extends = env
board = esp32dev
build_src_filter = -<*> -<*common*> +<tjournal-espnow-sender/>
[env:custom-camera-sender]
platform = espressif32
extends = env
board = esp32dev
build_src_filter = -<*> -<*common*> +<custom-camera-sender/>
[env:esp32cam-p2p-sender]
platform = espressif32
extends = env
board = esp32dev
build_src_filter = -<*> -<*common*> +<esp32cam-p2p-sender/>
[env:m5cores3-espnow-sender]
extends = m5cores3_common
build_src_filter = -<*> +<m5cores3-espnow-sender/>
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; TFT Receivers
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[env:m5cores3-espnow-receiver]
extends = m5cores3_common
build_src_filter = -<*> +<m5cores3-espnow-receiver/>
[env:m5core2-espnow-receiver]
extends = esp32common
board = esp32dev
build_src_filter = -<*> +<m5core2-espnow-receiver/>
lib_deps =
${esp32common.lib_deps}
m5stack/M5Unified@^0.1.6
[env:makerfabs-receiver]
extends = esp32common
build_src_filter = -<*> +<makerfabs-receiver/makerfabs-receiver.cpp>
lib_deps =
${esp32common.lib_deps}
lovyan03/LovyanGFX@^1.1.5
[env:tft-rgb-hmi-basic-receiver]
extends = esp32common
build_src_filter = -<*> +<tft-rgb-hmi-basic-receiver/tft-rgb-hmi-basic-receiver.cpp>
lib_deps =
${esp32common.lib_deps}
lovyan03/LovyanGFX@^1.1.5
[env:tft-il9485-basic-receiver]
extends = esp32common
board = esp32dev
build_src_filter = -<*> +<tft-il9485-basic-receiver/tft-il9485-basic-receiver.cpp>
lib_deps =
${esp32common.lib_deps}
lovyan03/LovyanGFX@^1.1.5
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; N:1 EXAMPLES
; Multi camera to one receiver examples.
; example directory: multi-camera-one-receiver
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[env:m5core2-multi-receiver]
extends = esp32common
board = esp32dev
build_src_filter = -<*> +<multi-camera-one-receiver/m5core2-multi-receiver.cpp>
lib_deps =
${esp32common.lib_deps}
m5stack/M5Unified@^0.1.6
[env:makerfabs-multi-receiver]
extends = esp32common
build_src_filter = -<*> +<multi-camera-one-receiver/makerfabs-multi-receiver.cpp>
lib_deps =
${esp32common.lib_deps}
lovyan03/LovyanGFX@^1.1.5
[env:m5cores3-camera1]
extends = m5cores3_common
build_src_filter = -<*> +<multi-camera-one-receiver/m5cores3-camera1.cpp>
[env:tjournal-camera2]
platform = espressif32
extends = env
board = esp32dev
build_src_filter = -<*> +<multi-camera-one-receiver/tjournal-camera2.cpp>
[env:xiao-camera3]
extends = xiao-common
build_src_filter = -<*> +<multi-camera-one-receiver/xiao-camera3.cpp>
lib_deps =
${esp32common.lib_deps}
mathertel/OneButton@^2.0.3
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Tank advanced example
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[env:freenove-tank]
extends = esp32common
board_build.arduino.memory_type = dio_opi ;
build_src_filter = -<*> +<common/> +<freenove-tank/>
lib_deps =
${esp32common.lib_deps}
madhephaestus/ESP32Servo@3.0.5
hpsaturn/EasyPreferences@^0.1.0
hpsaturn/ESP32 Wifi CLI @^0.3.2
[env:m5stickCplus-joystick-tank]
extends = esp32common
board = esp32dev
build_src_filter = -<*> +<common/> +<m5stickCplus-joystick-tank/>
lib_deps =
${esp32common.lib_deps}
m5stack/M5Unified@^0.1.6