123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283 |
- ; 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
- ; When set as a repaeter, also set the Channel to 1.
- [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 _CHANNEL=0
- -D _REPEATER=0
- -D _OLED=0
- -D _DUSB=1
- -D _PROFILER=1
- -D _STAT_LOG=1
- -D _STRICT_1CH=2
- -D _LOCALSERVER=1
- framework = arduino
- upload_protocol = espota
- board_build.flash_mode = qio
- upload_speed = 115200
- upload_port = 192.168.2.21
- ;[env:Gateway_22]
- ;platform = espressif8266
- ;board = d1_mini
- ;board_build.mcu = esp8266
- ;board_build.f_cpu = 80000000L
- ;build_flags =
- ; -D _PIN_OUT=1
- ; -D _WIFIMANAGER=0
- ; -D _CHANNEL=0
- ; -D _OLED=1
- ; -D _DUSB=1
- ; -D _PROFILER=1
- ;framework = arduino
- ;upload_protocol = espota
- ;board_build.flash_mode = qio
- ;upload_speed = 115200
- ;upload_port = 192.168.2.22
- [env:Gateway_30]
- 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 _STRICT_1CH=2
- -D _STAT_LOG=0
- framework = arduino
- upload_protocol = espota
- board_build.flash_mode = qio
- upload_speed = 115200
- upload_port = 192.168.2.30
- [env:Gateway_38]
- 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 _STRICT_1CH=2
- -D _MAXSEEN=10
- -D _STAT_LOG=0
- upload_protocol = espota
- board_build.flash_mode = qio
- upload_speed = 115200
- upload_port = 192.168.2.38
- ;[env:Gateway_HC8]
- ;platform = espressif8266
- ;board = d1_mini
- ;board_build.mcu = esp8266
- ;board_build.f_cpu = 80000000L
- ;build_flags =
- ; -D _WIFIMANAGER=0
- ; -D _SPIFFS_FORMAT=1
- ; -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 = COM8
- ;[env:Gateway_72]
- ;platform = espressif32
- ;board = heltec_wifi_lora_32
- ;framework = arduino
- ;build_flags =
- ; -D _SPIFFS_FORMAT=0
- ;; -D _CHANNEL=1
- ;; -D _REPEATER=1
- ; -D _WIFIMANAGER=0
- ; -D _OLED=0
- ; -D _DUSB=1
- ; -D _PROFILER=1
- ; -D _STAT_LOG=0
- ;upload_protocol = espota
- ;board_build.flash_mode = qio
- ;upload_speed = 115200
- ;upload_port = 192.168.2.72
- ; Nr. 54 has WIFIMANAGER sometimes set
- ; Also the Gateway is a T-Beam sensor for temperature and GPS (_GATEWAYNODE=1)
- ;[env:Gateway_73]
- ;platform = espressif32
- ;board = heltec_wifi_lora_32
- ;build_flags =
- ; -D _WIFIMANAGER=0
- ; -D _SPIFFS_FORMAT=0
- ; -D _DUSB=1
- ; -D _OLED=0
- ; -D _GATEWAYNODE=1
- ; -D _PROFILER=1
- ;; -D _JSONENCODE=1
- ; -D _STRICT_1CH=2
- ; -D _MAXSEEN=10
- ; -D _STAT_LOG=0
- ;framework = arduino
- ;upload_protocol = espota
- ;board_build.flash_mode = qio
- ;upload_speed = 115200
- ;upload_port = 192.168.2.73
- ;[env:Gateway_23]
- ;platform = espressif8266
- ;board = d1_mini
- ;board_build.mcu = esp8266
- ;board_build.f_cpu = 80000000L
- ;build_flags =
- ; -D _WIFIMANAGER=0
- ; -D _OLED=0
- ;framework = arduino
- ;upload_protocol = espota
- ;board_build.flash_mode = qio
- ;upload_speed = 115200
- ;upload_port = 192.168.2.23
- ;[env:Gateway_24]
- ;platform = espressif8266
- ;board = d1_mini
- ;board_build.mcu = esp8266
- ;board_build.f_cpu = 80000000L
- ;build_flags =
- ; -D _OLED=1
- ;framework = arduino
- ;upload_protocol = espota
- ;board_build.flash_mode = qio
- ;upload_speed = 115200
- ;upload_port = 192.168.2.24
- ;[env:Gateway_26]
- ;platform = espressif8266
- ;board = d1_mini
- ;board_build.mcu = esp8266
- ;board_build.f_cpu = 80000000L
- ;build_flags =
- ; -D _OLED=1
- ;framework = arduino
- ;upload_protocol = espota
- ;board_build.flash_mode = qio
- ;upload_speed = 115200
- ;upload_port = 192.168.2.26
- ;[env:Gateway_27]
- ;platform = espressif8266
- ;board = d1_mini
- ;board_build.mcu = esp8266
- ;board_build.f_cpu = 80000000L
- ;build_flags =
- ; -D _OLED=1
- ;framework = arduino
- ;upload_protocol = espota
- ;board_build.flash_mode = qio
- ;upload_speed = 115200
- ;upload_port = 192.168.2.27
- ;[env:Gateway_28]
- ;platform = espressif8266
- ;board = d1_mini
- ;board_build.mcu = esp8266
- ;board_build.f_cpu = 80000000L
- ;build_flags =
- ; -D _OLED=1
- ;framework = arduino
- ;upload_protocol = espota
- ;board_build.flash_mode = qio
- ;upload_speed = 115200
- ;upload_port = 192.168.2.28
- ;[env:Gateway_29]
- ;platform = espressif8266
- ;board = d1_mini
- ;board_build.mcu = esp8266
- ;board_build.f_cpu = 80000000L
- ;build_flags =
- ; -D _PIN_OUT=2
- ; -D _OLED=0
- ; -D _WIFIMANAGER=0
- ; -D _SPIFFS_FORMAT=1
- ; -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.29
- ;[env:Gateway_31]
- ;platform = espressif8266
- ;board = d1_mini
- ;board_build.mcu = esp8266
- ;board_build.f_cpu = 80000000L
- ;build_flags =
- ; -D _PIN_OUT=2
- ; -D _WIFIMANAGER=1
- ; -D _OLED=2
- ;framework = arduino
- ;upload_protocol = espota
- ;board_build.flash_mode = qio
- ;upload_speed = 115200
- ;upload_port = 192.168.2.31
- ;[env:Gateway_152]
- ;platform = espressif32
- ;board = heltec_wifi_lora_32
- ;framework = arduino
- ;build_flags =
- ; -D _WIFIMANAGER=0
- ; -D _OLED=1
- ; -D _DUSB=1
- ; -D _PROFILER=1
- ; -D _SPIFFS_FORMAT=1
- ; -D _STAT_LOG=0
- ;; -D _JSONENCODE=1
- ;; -D _MAXSEEN=20
- ;upload_protocol = espota
- ;board_build.flash_mode = qio
- ;upload_speed = 115200
- ;upload_port = 192.168.2.152
- ;[env:Gateway_174]
- ;platform = espressif32
- ;board = heltec_wifi_lora_32
- ;framework = arduino
- ;build_flags =
- ; -D _WIFIMANAGER=0
- ; -D _OLED=1
- ; -D _DUSB=1
- ; -D _PROFILER=1
- ; -D _SPIFFS_FORMAT=0
- ; -D _STAT_LOG=0
- ;; -D _JSONENCODE=1
- ;; -D _MAXSEEN=0
- ;upload_protocol = espota
- ;board_build.flash_mode = qio
- ;upload_speed = 115200
- ;upload_port = 192.168.2.174
|