123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- ; 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 = core2-7-4_Minimal
- description = ESP8266 IoT Base
- src_dir = src
- ; custom common options
- [common]
- framework = arduino
- board = d1_mini
- upload_speed = 921600
- upload_resetmethod = nodemcu
- monitor_speed = 115200
- #board_build.upload_speed = 921600
- #board_build.upload_resetmethod = nodemcu
- #monitor_speed = 115200
- [env:core2-6-3]
- platform = espressif8266@2.3.2
- ;platform: espressif8266@2.3.2 = Arduino Core 2.6.3
- board = d1_mini
- framework = arduino
- ;upload_port = COM[6]
- #board_build.upload_speed = 921600
- #board_build.upload_resetmethod = nodemcu
- #monitor_speed = 115200
- [env:core2-7-4_Minimal]
- platform = espressif8266@2.6.3
- ;platform: espressif8266@2.6.2, 2.6.3 = Arduino Core 2.7.4
- board = d1_mini
- framework = arduino
- #build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_THERMOSTAT
- #lib_extra_dirs =
- ;upload_port = COM[6]
- #board_build.upload_speed = 921600
- #board_build.upload_resetmethod = nodemcu
- #monitor_speed = 115200
- [env:core2-7-4_Thermostat]
- platform = espressif8266@2.6.3
- ;platform: espressif8266@2.6.2, 2.6.3 = Arduino Core 2.7.4
- board = d1_mini
- framework = arduino
- build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_THERMOSTAT
- #lib_extra_dirs =
- ;upload_port = COM[6]
- #upload_speed = 921600
- #upload_resetmethod = nodemcu
- #monitor_speed = 115200
-
- [env:core2-7-4_Heatcontrol]
- platform = espressif8266@2.6.3
- ;platform: espressif8266@2.6.2, 2.6.3 = Arduino Core 2.7.4
- board = d1_mini
- framework = arduino
- build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_HEATCONTROL
- #lib_extra_dirs =
- ;upload_port = COM[6]
- upload_speed = 921600
- upload_resetmethod = nodemcu
- monitor_speed = 115200
- [env:core2-7-4_Minimal_OTAflash]
- platform = espressif8266@2.6.3
- ;platform: espressif8266@2.6.3 ; https://github.com/platformio/platform-espressif8266/releases v2.6.3 implements Arduino Core 2.7.4
- board = d1_mini
- framework = arduino
- #build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_THERMOSTAT
- #lib_extra_dirs =
- upload_protocol = espota
- #upload_port = 10.1.5.154
- upload_port = 10.1.5.154
- upload_flags =
- --port=8266
- #upload_speed = 921600
- #upload_resetmethod = nodemcu
- #monitor_speed = 115200
-
- [env:core2-7-4_Thermostat_OTAflash]
- platform = espressif8266@2.6.3
- ;platform: espressif8266@2.6.3 ; https://github.com/platformio/platform-espressif8266/releases v2.6.3 implements Arduino Core 2.7.4
- board = d1_mini
- framework = arduino
- build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_THERMOSTAT
- #lib_extra_dirs =
- upload_protocol = espota
- #upload_port = 10.1.5.154
- upload_port = 10.1.5.154
- upload_flags =
- --port=8266
- #upload_speed = 921600
- #upload_resetmethod = nodemcu
- #monitor_speed = 115200
- [env:core2-7-4_Heatcontrol_OTAflash]
- platform = espressif8266@2.6.3
- ;platform: espressif8266@2.6.3 ; https://github.com/platformio/platform-espressif8266/releases v2.6.3 implements Arduino Core 2.7.4
- board = d1_mini
- framework = arduino
- build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_HEATCONTROL
- #lib_extra_dirs =
- upload_protocol = espota
- #upload_port = 10.1.5.154
- upload_port = 10.1.5.169
- upload_flags =
- --port=8266
- #upload_speed = 921600
- #upload_resetmethod = nodemcu
- #monitor_speed = 115200
- [env:core3-0-2_Heatcontrol_OTAflash]
- platform = espressif8266@3.2.0 ; https://github.com/platformio/platform-espressif8266/releases v3.2.0 implements Arduino Core v3.0.2
- board = d1_mini
- framework = arduino
- build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_HEATCONTROL
- #lib_extra_dirs =
- upload_protocol = espota
- #upload_port = 10.1.5.154
- upload_port = 10.1.5.154
- upload_flags =
- --port=8266
- #upload_speed = 921600
- #upload_resetmethod = nodemcu
- #monitor_speed = 115200
- [env:core3-1-1_Heatcontrol_OTAflash]
- platform = espressif8266@4.1.0 ; https://github.com/platformio/platform-espressif8266/releases v4.1.0 implements Arduino Core v3.1.1
- board = d1_mini
- framework = arduino
- build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_HEATCONTROL
- #lib_extra_dirs =
- upload_protocol = espota
- #upload_port = 10.1.5.154
- upload_port = 10.1.5.154
- upload_flags =
- --port=8266
- #upload_speed = 921600
- #upload_resetmethod = nodemcu
- #monitor_speed = 115200
|