-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathplatformio.ini
52 lines (47 loc) · 1.16 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
; 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 = esp32dev, spa-control-pcb
[env:spa-base]
framework = arduino
monitor_speed = 115200
lib_ldf_mode = deep
lib_deps =
https://github.com/ktos/RemoteDebug.git@^3.0.7
tzapu/WiFiManager@^2.0.17
knolleary/PubSubClient@^2.8
bblanchon/ArduinoJson@^7.1.0
links2004/WebSockets@^2.3.6
paulstoffregen/Time@^1.6.1
extra_scripts =
pre:get_version.py
post:merge-bin.py
[env:esp32dev]
extends = env:spa-base
platform = espressif32
board = esp32dev
build_flags =
-D RX_PIN=16
-D TX_PIN=17
-D EN_PIN=0
-D LED_PIN=2
-D SPA_SERIAL=Serial2
[env:spa-control-pcb]
extends = env:spa-base
platform = espressif32
board = esp32-s3-devkitc-1
build_flags =
-D ARDUINO_USB_CDC_ON_BOOT=1
-D SPACTRLPCB=1
-D RX_PIN=16
-D TX_PIN=15
-D EN_PIN=0
;-D LED_PIN=14
-D SPA_SERIAL=Serial2