forked from mruettgers/SMLReader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
53 lines (48 loc) · 1.46 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
; 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
[common]
platform = [email protected]
lib_deps =
git+https://github.com/volkszaehler/libsml
EspSoftwareSerial
MicroDebug
IotWebConf@^2.3.3
ESPAsyncTCP
git+https://github.com/philbowles/PangolinMQTT.git#v1.0.0
jled
env_default = nodemcuv2
build_flags =
lib_ldf_mode = deep+
[env:nodemcuv2]
platform = ${common.platform}
board = nodemcuv2
framework = arduino
lib_deps = ${common.lib_deps}
lib_ldf_mode = ${common.lib_ldf_mode}
build_flags = ${common.build_flags} -DSERIAL_DEBUG=false
monitor_speed = 115200
[env:nodemcuv2_debug]
platform = ${common.platform}
board = nodemcuv2
framework = arduino
lib_deps = ${common.lib_deps}
lib_ldf_mode = ${common.lib_ldf_mode}
build_flags = ${common.build_flags} -DSERIAL_DEBUG=true -DSERIAL_DEBUG_VERBOSE=false
monitor_speed = 115200
[env:nodemcuv2_dev]
platform = ${common.platform}
board = nodemcuv2
framework = arduino
lib_deps = ${common.lib_deps}
lib_ldf_mode = ${common.lib_ldf_mode}
build_flags = ${common.build_flags} -DSERIAL_DEBUG=true -DSERIAL_DEBUG_VERBOSE=true
#upload_port = /dev/ttyUSB0
#monitor_port = /dev/ttyUSB0
monitor_speed = 115200