-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
220 lines (197 loc) · 6.4 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
;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_pro
; default_envs = nodemcu_lora_1 ; LoRa sender
; default_envs = nodemcu_lora_2 ; LoRa receiver (doesn't exist anymore ...)
default_envs = nodemcu_lora_2_esp32 ; LoRa receiver (ESP32 based)
; default_envs = deauther_oled
[env:d1_mini_pro]
; http://docs.platformio.org/en/latest/boards/espressif8266/d1_mini_pro.html#board-espressif8266-d1-mini-pro
platform = espressif8266
; lib_extra_dirs = ~/Documents/Arduino/libraries
board = d1_mini_pro
framework = arduino
build_flags =
-D TUXHAUSEN_OPENWRT
-D WEMOS_D1_MINI_PRO
-D MQTT_RASPI_TOUCH
; ; any port that starts with /dev/ttyUSB
; upload_port = /dev/ttyUSB*
; upload_protocol = esptool
; upload_speed = 921600
; Over the Air Update (OTA)
; define port (IP), protocol
; and flags (most important is password for authentication)
; upload_port = 192.168.60.101
; upload_port = 192.168.60.118
upload_port = 192.168.60.194
upload_protocol = espota
; each flag in a new line (no space around '=')
upload_flags =
--port=8266
--host_port=9938 ; open port in firewall (allow incoming TCP+UDP)
--auth=esp8266
[env:nodemcu_lora_1]
; http://docs.platformio.org/en/latest/boards/espressif8266/nodemcuv2.html#board-espressif8266-nodemcuv2
platform = espressif8266
; set frequency to 160MHz
board_build.f_cpu = 160000000L
; lib_extra_dirs = ~/Documents/Arduino/libraries
; v5.0.4 is the latest version what compiles without errors
; (current versions spill massive errors, maybe about interrupt handling?)
; lib_deps = EspSoftwareSerial@5.0.4
board = nodemcuv2
framework = arduino
build_flags =
; -D TUXHAUSEN_OPENWRT
; -D TUXHAUSEN_OPENWRT_LS
-D TUXHAUSEN_M2OPENWRT
; -D TUXHAUSEN_MOPENWRT
-D NODE_MCU_LORA_1
; -D MQTT_RASPI_TOUCH
; -D MQTT_RASPI_EPAPER
-D MQTT_RASPI_LORAGW
-D LORA_TOPO_P2P
; -D OLED_0_96_IN
; -D OLED_1_3_IN
; ; any port that starts with /dev/ttyUSB
; upload_port = /dev/ttyUSB*
; upload_protocol = esptool
; upload_speed = 921600
; Over the Air Update (OTA)
; define port (IP), protocol
; and flags (most important is password for authentication)
; upload_port = 192.168.60.167
; upload_port = 192.168.60.194
upload_port = 192.168.16.229
; upload_port = 192.168.10.136
; upload_port = 192.168.15.229
upload_protocol = espota
; each flag in a new line (no space around '=')
upload_flags =
--port=8266
--host_port=9938 ; open port in firewall (allow incoming TCP+UDP)
--auth=esp8266
[env:nodemcu_lora_2]
; http://docs.platformio.org/en/latest/boards/espressif8266/nodemcuv2.html#board-espressif8266-nodemcuv2
platform = espressif8266
; set frequency to 160MHz
board_build.f_cpu = 160000000L
; lib_extra_dirs = ~/Documents/Arduino/libraries
; v5.0.4 is the latest version what compiles without errors
; (current versions spill massive errors, maybe about interrupt handling?)
; lib_deps = EspSoftwareSerial@5.0.4
board = nodemcuv2
framework = arduino
build_flags =
; -D TUXHAUSEN_OPENWRT
; -D TUXHAUSEN_OPENWRT_LS
-D TUXHAUSEN_M2OPENWRT
; -D TUXHAUSEN_MOPENWRT
-D NODE_MCU_LORA_2
; -D MQTT_RASPI_TOUCH
; -D MQTT_RASPI_EPAPER
-D MQTT_RASPI_LORAGW
-D LORA_TOPO_P2P
; -D OLED_0_96_IN
; -D OLED_1_3_IN
-D WDT_ENABLE
; ; any port that starts with /dev/ttyUSB
; upload_port = /dev/ttyUSB*
; upload_protocol = esptool
; upload_speed = 921600
; Over the Air Update (OTA)
; define port (IP), protocol
; and flags (most important is password for authentication)
; upload_port = 192.168.60.167
; upload_port = 192.168.60.194
upload_port = 192.168.16.181
; upload_port = 192.168.10.136
; upload_port = 192.168.15.181
upload_protocol = espota
; each flag in a new line (no space around '=')
upload_flags =
--port=8266
--host_port=9938 ; open port in firewall (allow incoming TCP+UDP)
--auth=esp8266
[env:nodemcu_lora_2_esp32]
; http://docs.platformio.org/en/latest/boards/espressif32/nodemcu-32s.html
platform = espressif32
; set frequency to 240MHz
board_build.f_cpu = 240000000L
; lib_extra_dirs = ~/Documents/Arduino/libraries
; v5.0.4 is the latest version what compiles without errors
; (current versions spill massive errors, maybe about interrupt handling?)
; lib_deps = EspSoftwareSerial@5.0.4
lib_deps =
adafruit/Adafruit Unified Sensor
adafruit/Adafruit SHT31 Library
board = nodemcu-32s
framework = arduino
build_flags =
; -D TUXHAUSEN_OPENWRT
; -D TUXHAUSEN_OPENWRT_LS
-D TUXHAUSEN_M2OPENWRT
; -D TUXHAUSEN_MOPENWRT
-D NODE_MCU_LORA_2_ESP32
; -D MQTT_RASPI_TOUCH
; -D MQTT_RASPI_EPAPER
-D MQTT_RASPI_LORAGW
; -D LORA_TOPO_P2P
-D LORA_TOPO_TTN
; -D OLED_0_96_IN
-D OLED_1_3_IN
-D WDT_ENABLE
; any port that starts with /dev/ttyUSB
upload_port = /dev/ttyUSB*
upload_protocol = esptool
upload_speed = 921600
; ; Over the Air Update (OTA)
; ; define port (IP), protocol
; ; and flags (most important is password for authentication)
; ; upload_port = 192.168.60.167
; ; upload_port = 192.168.60.194
; ; upload_port = 192.168.16.181
; ; upload_port = 192.168.10.136
; ; upload_port = 192.168.15.181
; ; upload_port = 192.168.10.102
; upload_port = 192.168.16.102
; upload_protocol = espota
; ; each flag in a new line (no space around '=')
; upload_flags =
; --port=8266
; --host_port=9938 ; open port in firewall (allow incoming TCP+UDP)
; --auth=esp32
; --timeout=10
[env:deauther_oled]
; http://docs.platformio.org/en/latest/boards/espressif8266/nodemcuv2.html#board-espressif8266-nodemcuv2
platform = espressif8266
; lib_extra_dirs = ~/Documents/Arduino/libraries
board = nodemcuv2
framework = arduino
build_flags =
-D TUXHAUSEN_OPENWRT
-D DEAUTHER_OLED
-D MQTT_RASPI_TOUCH
; any port that starts with /dev/ttyUSB
upload_port = /dev/ttyUSB*
upload_protocol = esptool
upload_speed = 921600
; ; Over the Air Update (OTA)
; ; define port (IP), protocol
; ; and flags (most important is password for authentication)
; upload_port = 192.168.60.93
; upload_protocol = espota
; ; each flag in a new line (no space around '=')
; upload_flags =
; --port=8266
; --host_port=9938 ; open port in firewall (allow incoming TCP+UDP)
; --auth=esp8266