forked from b4ck5p4c3/acs-reader
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
60 lines (56 loc) · 1.25 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
; 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
[env:testing]
platform = espressif32
board = lolin_c3_mini
framework = arduino
monitor_speed = 115200
build_type = debug
debug_tool = esp-builtin
build_flags =
-D CONFTEST
-D DEBUG=1
lib_deps =
Wire
SPI
https://github.com/FastLED/FastLED
marvinroger/AsyncMqttClient@^0.9.0
[env:prod]
platform = espressif32
board = lolin_c3_mini
framework = arduino
monitor_speed = 115200
; build_type = debug
; debug_tool = esp-builtin
build_flags =
-D CONFPROD
lib_deps =
Wire
SPI
https://github.com/FastLED/FastLED
marvinroger/AsyncMqttClient@^0.9.0
[env:prod-ota]
platform = espressif32
board = lolin_c3_mini
framework = arduino
monitor_speed = 115200
build_flags =
-D CONFPROD
lib_deps =
Wire
SPI
https://github.com/FastLED/FastLED
marvinroger/AsyncMqttClient@^0.9.0
upload_protocol = espota
upload_port = acs-reader.local
upload_flags =
--port=3232
--auth=ySvxA99RLVAPpAF3
;that's not real password