platformio.ini 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. ;PlatformIO Project Configuration File
  2. ;
  3. ; Build options: build flags, source filter
  4. ; Upload options: custom upload port, speed and extra flags
  5. ; Library options: dependencies, extra library storages
  6. ; Advanced options: extra scripting
  7. ;
  8. ; Please visit documentation for the other options and examples
  9. ; https://docs.platformio.org/page/projectconf.html
  10. [env:core2.6.3]
  11. platform = espressif8266@2.3.2
  12. ;platform: espressif8266@2.3.2 = Arduino Core 2.6.3
  13. board = d1_mini
  14. framework = arduino
  15. ;upload_port = COM[6]
  16. upload_speed = 921600
  17. upload_resetmethod = nodemcu
  18. monitor_speed = 115200
  19. [env:core2.7.4_minimal]
  20. platform = espressif8266@2.6.3
  21. ;platform: espressif8266@2.6.2, 2.6.3 = Arduino Core 2.7.4
  22. board = d1_mini
  23. framework = arduino
  24. #build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_THERMOSTAT
  25. #lib_extra_dirs =
  26. ;upload_port = COM[6]
  27. upload_speed = 921600
  28. upload_resetmethod = nodemcu
  29. monitor_speed = 115200
  30. [env:core2.7.4_Thermostat]
  31. platform = espressif8266@2.6.3
  32. ;platform: espressif8266@2.6.2, 2.6.3 = Arduino Core 2.7.4
  33. board = d1_mini
  34. framework = arduino
  35. build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_THERMOSTAT
  36. #lib_extra_dirs =
  37. ;upload_port = COM[6]
  38. upload_speed = 921600
  39. upload_resetmethod = nodemcu
  40. monitor_speed = 115200
  41. [env:core2.7.4_Heatcontrol]
  42. platform = espressif8266@2.6.3
  43. ;platform: espressif8266@2.6.2, 2.6.3 = Arduino Core 2.7.4
  44. board = d1_mini
  45. framework = arduino
  46. build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_HEATCONTROL
  47. #lib_extra_dirs =
  48. ;upload_port = COM[6]
  49. upload_speed = 921600
  50. upload_resetmethod = nodemcu
  51. monitor_speed = 115200
  52. [env:core2.7.4_minimal_OTAflash]
  53. platform = espressif8266@2.6.3
  54. ;platform: espressif8266@2.6.3 ; https://github.com/platformio/platform-espressif8266/releases v2.6.3 implements Arduino Core 2.7.4
  55. board = d1_mini
  56. framework = arduino
  57. #build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_THERMOSTAT
  58. #lib_extra_dirs =
  59. upload_protocol = espota
  60. #upload_port = 10.1.5.154
  61. upload_port = 10.1.5.154
  62. upload_flags =
  63. --port=8266
  64. #upload_speed = 921600
  65. #upload_resetmethod = nodemcu
  66. #monitor_speed = 115200
  67. [env:core2.7.4_Thermostat_OTAflash]
  68. platform = espressif8266@2.6.3
  69. ;platform: espressif8266@2.6.3 ; https://github.com/platformio/platform-espressif8266/releases v2.6.3 implements Arduino Core 2.7.4
  70. board = d1_mini
  71. framework = arduino
  72. build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_THERMOSTAT
  73. #lib_extra_dirs =
  74. upload_protocol = espota
  75. #upload_port = 10.1.5.154
  76. upload_port = 10.1.5.154
  77. upload_flags =
  78. --port=8266
  79. #upload_speed = 921600
  80. #upload_resetmethod = nodemcu
  81. #monitor_speed = 115200
  82. [env:core2.7.4_Heatcontrol_OTAflash]
  83. platform = espressif8266@2.6.3
  84. ;platform: espressif8266@2.6.3 ; https://github.com/platformio/platform-espressif8266/releases v2.6.3 implements Arduino Core 2.7.4
  85. board = d1_mini
  86. framework = arduino
  87. build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_HEATCONTROL
  88. #lib_extra_dirs =
  89. upload_protocol = espota
  90. #upload_port = 10.1.5.154
  91. upload_port = 10.1.5.169
  92. upload_flags =
  93. --port=8266
  94. #upload_speed = 921600
  95. #upload_resetmethod = nodemcu
  96. #monitor_speed = 115200
  97. [env:core3.0.2_Heatcontrol_OTAflash]
  98. platform = espressif8266@3.2.0 ; https://github.com/platformio/platform-espressif8266/releases v3.2.0 implements Arduino Core v3.0.2
  99. board = d1_mini
  100. framework = arduino
  101. build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_HEATCONTROL
  102. #lib_extra_dirs =
  103. upload_protocol = espota
  104. #upload_port = 10.1.5.154
  105. upload_port = 10.1.5.154
  106. upload_flags =
  107. --port=8266
  108. #upload_speed = 921600
  109. #upload_resetmethod = nodemcu
  110. #monitor_speed = 115200
  111. [env:core3.1.1_Heatcontrol_OTAflash]
  112. platform = espressif8266@4.1.0 ; https://github.com/platformio/platform-espressif8266/releases v4.1.0 implements Arduino Core v3.1.1
  113. board = d1_mini
  114. framework = arduino
  115. build_flags = ${env.build_flags} -DFIRMWARE_VARIANT_HEATCONTROL
  116. #lib_extra_dirs =
  117. upload_protocol = espota
  118. #upload_port = 10.1.5.154
  119. upload_port = 10.1.5.154
  120. upload_flags =
  121. --port=8266
  122. #upload_speed = 921600
  123. #upload_resetmethod = nodemcu
  124. #monitor_speed = 115200