forked from vitotai/BrewManiacEsp8266
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
83 lines (66 loc) · 2.28 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
; 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
; http://docs.platformio.org/page/projectconf.html
[platformio]
env_default = development
;env_default = nodemcuv2, nodemcuv2-multisensor, distilling, spargeheater, dualheater
[common_env_data]
lib_deps_external =
[env:development]
#platform = https://github.com/platformio/platform-espressif8266.git#feature/stage
platform = espressif8266@~2.2.0
board = nodemcuv2
framework = arduino
build_flags = -Wl,-Tesp8266.flash.4m1m.ld
-DPUMP_INVERTED_LOGIC=true
-DMultipleSensorEnabled=true
-DSupportDistilling=true
; -DDebugOutput=true
; -DFakeHeating=true
; -DMultipleSensorEnabled=true
; -DPUMP_INVERTED_LOGIC=true
upload_port = /dev/cu.wchusbserial1410
lib_deps = ${common_env_data.lib_deps_external}
monitor_speed = 115200
[env:nodemcuv2]
platform = espressif8266@~2.2.0
board = nodemcuv2
framework = arduino
build_flags = -Wl,-Tesp8266.flash.4m1m.ld
monitor_speed = 115200
lib_deps = ${common_env_data.lib_deps_external}
[env:nodemcuv2-multisensor]
platform = espressif8266@~2.2.0
board = nodemcuv2
framework = arduino
build_flags = -Wl,-Tesp8266.flash.4m1m.ld -DMultipleSensorEnabled=true
monitor_speed = 115200
lib_deps = ${common_env_data.lib_deps_external}
[env:distilling]
platform = espressif8266@~2.2.0
board = nodemcuv2
framework = arduino
build_flags = -Wl,-Tesp8266.flash.4m1m.ld -DMultipleSensorEnabled=true -DSupportDistilling=true
monitor_speed = 115200
lib_deps = ${common_env_data.lib_deps_external}
[env:spargeheater]
platform = espressif8266@~1.8.0
board = nodemcuv2
framework = arduino
build_flags = -Wl,-Tesp8266.flash.4m.ld -DMultipleSensorEnabled=true -DSpargeHeaterSupportEnabled=true
monitor_speed = 115200
lib_deps = ${common_env_data.lib_deps_external}
[env:dualheater]
platform = espressif8266@~1.8.0
board = nodemcuv2
framework = arduino
build_flags = -Wl,-Tesp8266.flash.4m.ld -DMultipleSensorEnabled=true -DSecondaryHeaterSupportEnabled=true
monitor_speed = 115200
lib_deps = ${common_env_data.lib_deps_external}