forked from BruceDevices/firmware
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplatformio.ini
More file actions
245 lines (228 loc) · 7.42 KB
/
platformio.ini
File metadata and controls
245 lines (228 loc) · 7.42 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
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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
; 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 =
;m5stack-cardputer
m5stack-cplus2
;m5stack-cplus1_1
;LAUNCHER_m5stack-cplus1_1
;m5stack-core2
;m5stack-core16mb
;m5stack-core4mb
;m5stack-cores3
;esp32-s3-devkitc-1
;CYD-2432S028
;CYD-2USB
;CYD-2432W328C
;CYD-2432W328C_2
;CYD-2432W328R-or-S024R
;LAUNCHER_CYD-2432W328R-or-S024R
;LAUNCHER_CYD-2432S028
;LAUNCHER_CYD-2USB
;LAUNCHER_CYD-2432W328C
;lilygo-t-embed-cc1101
;lilygo-t-embed
;lilygo-t-deck
;lilygo-t-watch-s3
;lilygo-t-deck-pro # This is T-Deck Plus!!
;lilygo-t-display-s3
;lilygo-t-display-s3-touch
;lilygo-t-display-s3-mmc
;lilygo-t-display-s3-touch-mmc
;lilygo-t-display-S3-pro
;lilygo-t-display-ttgo
;lilygo-t-hmi
;lilygo-t-lora-pager
;smoochiee-board
;xk404
;Phantom_S024R
;LAUNCHER_Phantom_S024R
;Marauder-Mini
;LAUNCHER_Marauder-Mini
;Awok-Mini
;Marauder-v7
;LAUNCHER_Marauder-v7
;Marauder-V4-V6
;Marauder-v61
;LAUNCHER_Marauder-V4-V6
;LAUNCHER_Marauder-v61
;Awok-Touch"
;LAUNCHER_WaveSentry-R1
;WaveSentry-R1
;esp32-c5-tft
;esp32-c5
;uncomment to not use global dirs to avoid possible conflicts
;platforms_dir = .pio/platforms
;packages_dir = .pio/packages
build_cache_dir = .pio/buildcache
cache_dir = .pio/cache
boards_dir = boards/_boards_json
extra_configs =
boards/*.ini
boards/*/*.ini
[env]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.36/platform-espressif32.zip ; Arduino 3.3.6
;https://github.com/pioarduino/platform-espressif32/releases/download/55.03.34/platform-espressif32.zip ; Arduino 3.3.4
;https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip ; Last Version
platform_packages =
framework-arduinoespressif32-libs @ https://github.com/bmorcelli/esp32-arduino-lib-builder/releases/download/idf-release_v5.5/bruce_esp32-arduino-libs-20260123-153546.zip ; Arduino 3.3.6
;framework-arduinoespressif32-libs @ https://github.com/bmorcelli/esp32-arduino-lib-builder/releases/download/idf-release_v5.5/bruce_esp32-arduino-libs-20251205-131242.zip ; Arduino 3.3.4
;framework-arduinoespressif32-libs @ https://github.com/bmorcelli/esp32-arduino-lib-builder/releases/download/idf-release_v5.5/esp32-arduino-libs-20250919-170356.zip ; Arduino 3.3.1
monitor_filters = esp32_exception_decoder, send_on_enter, colorize
framework = arduino
board_build.variants_dir = boards
board_build.filesystem = littlefs
build_src_flags =
; warnings:
-Wall
-Wclobbered
-Wempty-body
-Wignored-qualifiers
; -Wmissing-field-initializers
; -Wsign-compare ; commented because it produces too much warnings, some of them are imposible to fix due to external deps
-Woverloaded-virtual=0
-Wtype-limits
-Wno-unused-label
-Wno-comment
-Wno-unused-variable
-Wno-narrowing
; warnings end
; build_unflags = -Os ; uncomment this line and "-O2" for speed optimisations, but bigger size
; Specify the path to your 32bits GCC compiler here, if it was not detected
;mqjs_host_cc = C:/msys64/mingw32/bin/gcc.exe
build_src_filter =
+<*>
-<.git/>
-<.svn/>
-<modules/bjs_interpreter/mqjs_stdlib.c>
build_flags =
-DBRUCE_VERSION='"dev"'
-DEEPROMSIZE=128
-DLH=8
-DLW=6
-Os
-Wl,--print-memory-usage
-Wl,--gc-sections
-DGIT_COMMIT_HASH='"Homebrew"'
-DFASTLED_RMT_BUILTIN_DRIVER=1 ; https://github.com/FastLED/FastLED/blob/67436be11fc3b7be611cdf9011f31c4f76817741/src/platforms/esp/32/rmt_4/idf4_clockless_rmt_esp32.h#L25-L33
; This setting let RF Spectrum to work with LED interface with FastLED on ESP32-S3
-D CONFIG_ASYNC_TCP_STACK_SIZE=4096 ; Reduces stack size for Async TCP to save memory
-DCONFIG_ASYNC_TCP_RUNNING_CORE=1 ;
-DCONFIG_ASYNC_TCP_USE_WDT=0 ; Disables the Watchdog timer on Async TCP, to avoid restartings during file uploads
-DGEN_MQJS_HEADERS ; Enable generation of mquickjs headers
extra_scripts =
pre:patch.py
pre:pre_build_current_year.py
pre:gen_mqjs_headers.py
post:build.py
lib_deps =
https://github.com/sayacom/WireGuard-ESP32-Arduino#feature/esp-netif
;WireGuard-ESP32
https://github.com/bmorcelli/IRremoteESP8266
;IRremoteESP8266
Time
LibSSH-ESP32
Adafruit BusIO=https://github.com/emericklaw/Adafruit-BusIO_Bruce@1.17.2-bruce.1
Adafruit PN532=https://github.com/emericklaw/Adafruit-PN532_Bruce@1.3.3-bruce.1
https://github.com/huckor/BER-TLV.git
https://github.com/rennancockles/Arduino_MFRC522v2.git
https://github.com/bmorcelli/ESP-ChameleonUltra
https://github.com/bmorcelli/ESP-Amiibolink
https://github.com/rennancockles/SimpleCLI
https://github.com/whywilson/ESP-PN532BLE
https://github.com/whywilson/ESP-PN532-UART
https://github.com/whywilson/ESP-PN532Killer
NTPClient
ESP32Time
FFat
bblanchon/ArduinoJson
https://github.com/bmorcelli/rc-switch
ESP8266Audio@^2.4.1
earlephilhower/ESP8266SAM@^1.1.0
mikalhart/TinyGPSPlus
tinyu-zhao/FFT@^0.0.1
h2zero/NimBLE-Arduino@^2.3.7
nrf24/RF24 @ 1.4.11
Adafruit Si4713 Library@1.2.3
Bodmer/JPEGDecoder
https://github.com/bmorcelli/SmartRC-CC1101-Driver-Lib/
mquickjs=https://github.com/BruceDevices/mquickjs#0.0.4
;paulstoffregen/OneWire@^2.3.8
https://github.com/bmorcelli/OneWire#patch-1
;jackjansen/esp32_idf5_https_server_compat
https://github.com/bmorcelli/ESP32-PsRamFS#patch-1
;chegewara/EspTinyUSB
bitbank2/AnimatedGIF
bitbank2/PNGdec @ ^1.1.2
ESP32Async/ESPAsyncWebServer
fastled/FastLED @^3.10.3
jgromes/RadioLib @ ^7.4.0
monitor_speed = 115200
[env_light]
extends = env
build_flags =
-Os
-DCORE_DEBUG_LEVEL=0
-DCONFIG_ESP32_JTAG_SUPPORT_DISABLE=1
-DLITE_VERSION=1
-D_IR_ENABLE_DEFAULT_=false
-DDECODE_NEC=true
-DSEND_NEC=true
-DDECODE_SAMSUNG=true
-DSEND_SAMSUNG=true
-DDECODE_RC5=true
-DSEND_RC5=true
-DDECODE_RC6=true
-DSEND_RC6=true
-DDECODE_LG=true
-DSEND_LG=true
-DDECODE_SONY=true
-DSEND_SONY=true
-DSEND_PANASONIC=true
-DDECODE_PANASONIC=true
-DSEND_RAW=true
lib_deps =
;https://github.com/sayacom/WireGuard-ESP32-Arduino#feature/esp-netif
;WireGuard-ESP32
https://github.com/BorisKofman/IRremoteESP8266#Espressif-version-3
;IRremoteESP8266
Time
;LibSSH-ESP32
Adafruit BusIO=https://github.com/emericklaw/Adafruit-BusIO_Bruce@1.17.2-bruce.1
Adafruit PN532=https://github.com/emericklaw/Adafruit-PN532_Bruce@1.3.3-bruce.1
https://github.com/rennancockles/Arduino_MFRC522v2.git
https://github.com/bmorcelli/ESP-ChameleonUltra
;https://github.com/bmorcelli/ESP-Amiibolink
https://github.com/rennancockles/SimpleCLI
;https://github.com/bmorcelli/ESP-PN532BLE
;https://github.com/whywilson/ESP-PN532-UART@^0.0.2
;https://github.com/whywilson/ESP-PN532Killer#079790e
NTPClient
ESP32Time
FFat
bblanchon/ArduinoJson
https://github.com/bmorcelli/rc-switch
;ESP8266Audio@^2.4.1
;earlephilhower/ESP8266SAM@^1.1.0
mikalhart/TinyGPSPlus
tinyu-zhao/FFT@^0.0.1
h2zero/NimBLE-Arduino@^2.3.7
nrf24/RF24 @ 1.4.11
;Adafruit Si4713 Library@1.2.3
Bodmer/JPEGDecoder
https://github.com/bmorcelli/SmartRC-CC1101-Driver-Lib/
;mquickjs=https://github.com/BruceDevices/mquickjs#0.0.4
;paulstoffregen/OneWire@^2.3.8
;https://github.com/bmorcelli/OneWire#patch-1
;https://github.com/bmorcelli/ESP32-PsRamFS#patch-1
;bitbank2/AnimatedGIF
;bitbank2/PNGdec @ ^1.1.2
ESP32Async/ESPAsyncWebServer
;https://github.com/bmorcelli/FastLED