forked from smlight-dev/slzb-06-firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
43 lines (39 loc) · 1 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
; 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 = prod
[env]
framework = arduino
platform = espressif32
lib_deps =
bblanchon/ArduinoJson@^6.18.3
rlogiacco/CircularBuffer@^1.3.3
plerup/EspSoftwareSerial@^6.13.2
marian-craciunescu/ESP32Ping@^1.7
sstaub/Ticker@^4.4.0
board = esp32dev
;board_build.partitions = min_spiffs.csv
monitor_filters = esp32_exception_decoder
monitor_speed = 115200
[env:prod]
build_flags =
${env.build_flags}
-D=${PIOENV}
extra_scripts =
pre:tools/version_increment_pre.py
post:tools/build.py
[env:debug]
build_flags =
${env.build_flags}
-D=${PIOENV}
-DDEBUG
extra_scripts =
pre:tools/version_increment_pre.py
post:tools/debug_build.py