-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
67 lines (62 loc) · 1.9 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
;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 = d1_mini_MAC
[common_env_data]
speed = 115200
port_win = COM3
port_mac = /dev/cu.wchusbserial1410
port_ip = 192.168.30.35
build_flags =
-DUSE_CONFIG_OVERRIDE
; -DSNSW_DEBUG
lib_deps =
PubSubClient@^2.7
SwartNinjaSW
[env:d1_mini_MAC]
platform = espressif8266
board = d1_mini
framework = arduino
build_flags = ${common_env_data.build_flags}
lib_deps = ${common_env_data.lib_deps}
monitor_port = ${common_env_data.port_mac}
monitor_speed = ${common_env_data.speed}
upload_port = ${common_env_data.port_mac}
upload_speed = ${common_env_data.speed}
[env:d1_mini_WIN]
platform = espressif8266
board = d1_mini
framework = arduino
build_flags = ${common_env_data.build_flags}
lib_deps = ${common_env_data.lib_deps}
monitor_port = ${common_env_data.port_win}
monitor_speed = ${common_env_data.speed}
upload_port = ${common_env_data.port_win}
upload_speed = ${common_env_data.speed}
[env:nodemcuv2_MAC]
platform = espressif8266
board = nodemcuv2
framework = arduino
build_flags = ${common_env_data.build_flags}
lib_deps = ${common_env_data.lib_deps}
monitor_port = ${common_env_data.port_mac}
monitor_speed = ${common_env_data.speed}
upload_port = ${common_env_data.port_mac}
upload_speed = ${common_env_data.speed}
[env:nodemcuv2_WIN]
platform = espressif8266
board = nodemcuv2
framework = arduino
build_flags = ${common_env_data.build_flags}
lib_deps = ${common_env_data.lib_deps}
monitor_port = ${common_env_data.port_win}
monitor_speed = ${common_env_data.speed}
upload_port = ${common_env_data.port_win}
upload_speed = ${common_env_data.speed}