forked from things4u/ESP-1ch-Gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
98 lines (93 loc) · 2.13 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
; 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
; Nr 21 has WIFIMANAGER set
[env:Gateway_21]
platform = espressif8266
board = d1_mini
board_build.mcu = esp8266
board_build.f_cpu = 80000000L
build_flags =
-D _PIN_OUT=1
-D _WIFIMANAGER=0
-D _SPIFFS_FORMAT=0
-D _OLED=0
-D _DUSB=1
-D _PROFILER=1
-D _STAT_LOG=1
framework = arduino
upload_protocol = espota
board_build.flash_mode = qio
upload_speed = 115200
upload_port = 192.168.2.21
[env:Gateway_29]
platform = espressif8266
board = d1_mini
board_build.mcu = esp8266
board_build.f_cpu = 80000000L
build_flags =
-D _PIN_OUT=2
-D _WIFIMANAGER=0
-D _SPIFFS_FORMAT=0
-D _OLED=0
-D _DUSB=1
-D _PROFILER=1
-D _STAT_LOG=0
framework = arduino
upload_protocol = espota
board_build.flash_mode = qio
upload_speed = 115200
upload_port = 192.168.2.29
[env:Gateway_72]
platform = espressif32
board = heltec_wifi_lora_32
framework = arduino
build_flags =
-D _SPIFFS_FORMAT=0
-D _WIFIMANAGER=0
-D _OLED=0
-D _DUSB=1
-D _PROFILER=1
upload_protocol = espota
board_build.flash_mode = qio
upload_speed = 115200
upload_port = 192.168.2.72
[env:Gateway_138]
platform = espressif32
board = heltec_wifi_lora_32
framework = arduino
build_flags =
-D _WIFIMANAGER=0
-D _SPIFFS_FORMAT=0
-D _OLED=1
-D _DUSB=1
-D _PROFILER=1
; -D _JSONENCODE=1
; -D _MAXSEEN=0
upload_protocol = espota
board_build.flash_mode = qio
upload_speed = 115200
upload_port = 192.168.2.138
; Nr. 54 has WIFIMANAGER sometimes set
; Also the Gateway is a T-Beam sensor for temperature and GPS (_GATEWAYNODE=1)
[env:Gateway_54]
platform = espressif32
board = heltec_wifi_lora_32
build_flags =
-D _WIFIMANAGER=0
-D _SPIFFS_FORMAT=0
-D _DUSB=0
-D _OLED=0
-D _GATEWAYNODE=1
-D _PROFILER=1
framework = arduino
upload_protocol = espota
board_build.flash_mode = qio
upload_speed = 115200
upload_port = 192.168.2.54