-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
40 lines (38 loc) · 1012 Bytes
/
platformio.ini
File metadata and controls
40 lines (38 loc) · 1012 Bytes
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
;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 = nodemcuv2
[common_env_data]
framework = arduino
build_flags =
-DUSE_CONFIG_OVERRIDE
; -DSNDHT_DEBUG
; -DSNRS_DEBUG
; -DSNLDR_DEBUG
; -DSNPIR_DEBUG
lib_deps =
PubSubClient@^2.7
SimpleTimer
SwartNinjaSW
SwartNinjaRSW
SwartNinjaDHT
SwartNinjaLDR
SwartNinjaPIR
[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
framework = ${common_env_data.framework}
upload_port = /dev/cu.wchusbserial1410
; upload_port = 192.168.30.37
upload_speed = 115200
monitor_port = /dev/cu.wchusbserial1410
monitor_speed = 115200
build_flags = ${common_env_data.build_flags}
lib_deps = ${common_env_data.lib_deps}