-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
85 lines (76 loc) · 2.34 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
; 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]
platform = espressif32
board = featheresp32
framework = arduino
extra_scripts = pre:envSetup.py
monitor_speed = 9600
upload_port = COM9
[env:prod]
build_flags = -D PROD ${env.build_flags} -D ATM90E26_EIC
lib_deps =
SPI
knolleary/pubsubclient
bblanchon/ArduinoJson @ ^6
paulstoffregen/OneWire@^2.3.8
milesburton/DallasTemperature@^3.11.0
build_src_filter = +<transformerMonitor.cpp> -<.git/> -<.svn/> -<tests/>
[env:dev]
build_flags = -D DEV ${env.build_flags} -D ATM90E26_EIC
lib_deps =
SPI
knolleary/pubsubclient
bblanchon/ArduinoJson @ ^6
paulstoffregen/OneWire@^2.3.8
milesburton/DallasTemperature@^3.11.0
build_src_filter = +<transformerMonitor.cpp> -<.git/> -<.svn/> -<tests/>
[env:TestAT90E26_UART]
build_flags = -D DEV ${env.build_flags}
lib_deps =
SPI
knolleary/pubsubclient
https://github.com/whatnick/ATM90E26_Arduino
bblanchon/ArduinoJson @ ^6.21.3
paulstoffregen/OneWire@^2.3.8
milesburton/DallasTemperature@^3.11.0
build_src_filter = -<*> -<.git/> -<.svn/> +<tests/AT90E26_UART.cpp>
[env:TestTemps]
build_flags = -D DEV ${env.build_flags}
lib_deps =
SPI
knolleary/pubsubclient
https://github.com/CircuitSetup/ATM90E36
bblanchon/ArduinoJson @ ^6.21.3
paulstoffregen/OneWire@^2.3.8
milesburton/DallasTemperature@^3.11.0
build_src_filter = -<*> -<.git/> -<.svn/> +<tests/temps.cpp>
[env:TestRGBled]
build_flags = -D DEV ${env.build_flags}
build_src_filter = -<*> -<.git/> -<.svn/> +<tests/RGBled.cpp>
upload_port = COM11
[env:TestTempSensors]
build_flags = -D DEV ${env.build_flags}
build_src_filter = -<*> -<.git/> -<.svn/> +<tests/TempSensors.cpp>
lib_deps =
paulstoffregen/OneWire@^2.3.8
milesburton/DallasTemperature@^3.11.0
upload_port = COM11
[env:noWifi]
build_flags = -D NO_WIFI ${env.build_flags}
lib_deps =
knolleary/pubsubclient
https://github.com/whatnick/ATM90E26_Arduino
bblanchon/ArduinoJson @ ^6.21.3
paulstoffregen/OneWire@^2.3.8
milesburton/DallasTemperature@^3.11.0
build_src_filter = +<*> -<.git/> -<.svn/> -<tests/>