|
@@ -1,4 +1,4 @@
|
|
-;PlatformIO Project Configuration File
|
|
|
|
|
|
+; PlatformIO Project Configuration File
|
|
;
|
|
;
|
|
; Build options: build flags, source filter
|
|
; Build options: build flags, source filter
|
|
; Upload options: custom upload port, speed and extra flags
|
|
; Upload options: custom upload port, speed and extra flags
|
|
@@ -8,17 +8,32 @@
|
|
; Please visit documentation for the other options and examples
|
|
; Please visit documentation for the other options and examples
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
|
|
-[env:core2.6.3]
|
|
|
|
|
|
+[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
|
|
;platform: espressif8266@2.3.2 = Arduino Core 2.6.3
|
|
;platform: espressif8266@2.3.2 = Arduino Core 2.6.3
|
|
board = d1_mini
|
|
board = d1_mini
|
|
framework = arduino
|
|
framework = arduino
|
|
;upload_port = COM[6]
|
|
;upload_port = COM[6]
|
|
-upload_speed = 921600
|
|
|
|
-upload_resetmethod = nodemcu
|
|
|
|
-monitor_speed = 115200
|
|
|
|
|
|
+#board_build.upload_speed = 921600
|
|
|
|
+#board_build.upload_resetmethod = nodemcu
|
|
|
|
+#monitor_speed = 115200
|
|
|
|
|
|
-[env:core2.7.4_minimal]
|
|
|
|
|
|
+[env:core2-7-4_Minimal]
|
|
platform = espressif8266@2.6.3
|
|
platform = espressif8266@2.6.3
|
|
;platform: espressif8266@2.6.2, 2.6.3 = Arduino Core 2.7.4
|
|
;platform: espressif8266@2.6.2, 2.6.3 = Arduino Core 2.7.4
|
|
board = d1_mini
|
|
board = d1_mini
|
|
@@ -26,11 +41,11 @@ framework = arduino
|
|
#build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_THERMOSTAT
|
|
#build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_THERMOSTAT
|
|
#lib_extra_dirs =
|
|
#lib_extra_dirs =
|
|
;upload_port = COM[6]
|
|
;upload_port = COM[6]
|
|
-upload_speed = 921600
|
|
|
|
-upload_resetmethod = nodemcu
|
|
|
|
-monitor_speed = 115200
|
|
|
|
|
|
+#board_build.upload_speed = 921600
|
|
|
|
+#board_build.upload_resetmethod = nodemcu
|
|
|
|
+#monitor_speed = 115200
|
|
|
|
|
|
-[env:core2.7.4_Thermostat]
|
|
|
|
|
|
+[env:core2-7-4_Thermostat]
|
|
platform = espressif8266@2.6.3
|
|
platform = espressif8266@2.6.3
|
|
;platform: espressif8266@2.6.2, 2.6.3 = Arduino Core 2.7.4
|
|
;platform: espressif8266@2.6.2, 2.6.3 = Arduino Core 2.7.4
|
|
board = d1_mini
|
|
board = d1_mini
|
|
@@ -38,11 +53,11 @@ framework = arduino
|
|
build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_THERMOSTAT
|
|
build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_THERMOSTAT
|
|
#lib_extra_dirs =
|
|
#lib_extra_dirs =
|
|
;upload_port = COM[6]
|
|
;upload_port = COM[6]
|
|
-upload_speed = 921600
|
|
|
|
-upload_resetmethod = nodemcu
|
|
|
|
-monitor_speed = 115200
|
|
|
|
-
|
|
|
|
-[env:core2.7.4_Heatcontrol]
|
|
|
|
|
|
+#upload_speed = 921600
|
|
|
|
+#upload_resetmethod = nodemcu
|
|
|
|
+#monitor_speed = 115200
|
|
|
|
+
|
|
|
|
+[env:core2-7-4_Heatcontrol]
|
|
platform = espressif8266@2.6.3
|
|
platform = espressif8266@2.6.3
|
|
;platform: espressif8266@2.6.2, 2.6.3 = Arduino Core 2.7.4
|
|
;platform: espressif8266@2.6.2, 2.6.3 = Arduino Core 2.7.4
|
|
board = d1_mini
|
|
board = d1_mini
|
|
@@ -54,7 +69,7 @@ upload_speed = 921600
|
|
upload_resetmethod = nodemcu
|
|
upload_resetmethod = nodemcu
|
|
monitor_speed = 115200
|
|
monitor_speed = 115200
|
|
|
|
|
|
-[env:core2.7.4_minimal_OTAflash]
|
|
|
|
|
|
+[env:core2-7-4_Minimal_OTAflash]
|
|
platform = espressif8266@2.6.3
|
|
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
|
|
;platform: espressif8266@2.6.3 ; https://github.com/platformio/platform-espressif8266/releases v2.6.3 implements Arduino Core 2.7.4
|
|
board = d1_mini
|
|
board = d1_mini
|
|
@@ -69,8 +84,8 @@ upload_flags =
|
|
#upload_speed = 921600
|
|
#upload_speed = 921600
|
|
#upload_resetmethod = nodemcu
|
|
#upload_resetmethod = nodemcu
|
|
#monitor_speed = 115200
|
|
#monitor_speed = 115200
|
|
-
|
|
|
|
-[env:core2.7.4_Thermostat_OTAflash]
|
|
|
|
|
|
+
|
|
|
|
+[env:core2-7-4_Thermostat_OTAflash]
|
|
platform = espressif8266@2.6.3
|
|
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
|
|
;platform: espressif8266@2.6.3 ; https://github.com/platformio/platform-espressif8266/releases v2.6.3 implements Arduino Core 2.7.4
|
|
board = d1_mini
|
|
board = d1_mini
|
|
@@ -86,7 +101,8 @@ upload_flags =
|
|
#upload_resetmethod = nodemcu
|
|
#upload_resetmethod = nodemcu
|
|
#monitor_speed = 115200
|
|
#monitor_speed = 115200
|
|
|
|
|
|
-[env:core2.7.4_Heatcontrol_OTAflash]
|
|
|
|
|
|
+
|
|
|
|
+[env:core2-7-4_Heatcontrol_OTAflash]
|
|
platform = espressif8266@2.6.3
|
|
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
|
|
;platform: espressif8266@2.6.3 ; https://github.com/platformio/platform-espressif8266/releases v2.6.3 implements Arduino Core 2.7.4
|
|
board = d1_mini
|
|
board = d1_mini
|
|
@@ -102,7 +118,7 @@ upload_flags =
|
|
#upload_resetmethod = nodemcu
|
|
#upload_resetmethod = nodemcu
|
|
#monitor_speed = 115200
|
|
#monitor_speed = 115200
|
|
|
|
|
|
-[env:core3.0.2_Heatcontrol_OTAflash]
|
|
|
|
|
|
+[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
|
|
platform = espressif8266@3.2.0 ; https://github.com/platformio/platform-espressif8266/releases v3.2.0 implements Arduino Core v3.0.2
|
|
board = d1_mini
|
|
board = d1_mini
|
|
framework = arduino
|
|
framework = arduino
|
|
@@ -117,7 +133,7 @@ upload_flags =
|
|
#upload_resetmethod = nodemcu
|
|
#upload_resetmethod = nodemcu
|
|
#monitor_speed = 115200
|
|
#monitor_speed = 115200
|
|
|
|
|
|
-[env:core3.1.1_Heatcontrol_OTAflash]
|
|
|
|
|
|
+[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
|
|
platform = espressif8266@4.1.0 ; https://github.com/platformio/platform-espressif8266/releases v4.1.0 implements Arduino Core v3.1.1
|
|
board = d1_mini
|
|
board = d1_mini
|
|
framework = arduino
|
|
framework = arduino
|
|
@@ -130,4 +146,4 @@ upload_flags =
|
|
--port=8266
|
|
--port=8266
|
|
#upload_speed = 921600
|
|
#upload_speed = 921600
|
|
#upload_resetmethod = nodemcu
|
|
#upload_resetmethod = nodemcu
|
|
-#monitor_speed = 115200
|
|
|
|
|
|
+#monitor_speed = 115200
|