Fork of the espurna firmware for `mhsw` switches
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1753 lines
57 KiB

6 years ago
6 years ago
6 years ago
6 years ago
  1. [platformio]
  2. default_envs = wemos-d1mini-relayshield
  3. src_dir = espurna
  4. data_dir = espurna/data
  5. [common]
  6. # ------------------------------------------------------------------------------
  7. # PLATFORM:
  8. # !! DO NOT confuse platformio's ESP8266 development platform with Arduino core for ESP8266
  9. # We use Arduino Core 2.3.0 (platformIO 1.5.0) as default
  10. #
  11. # arduino core 2.3.0 = platformIO 1.5.0
  12. # arduino core 2.4.0 = platformIO 1.6.0 (unsupported)
  13. # arduino core 2.4.1 = platformIO 1.7.3 (unsupported)
  14. # arduino core 2.4.2 = platformIO 1.8.0 (unsupported)
  15. # arduino core 2.5.0 = platformIO 2.0.4 (unsupported)
  16. # arduino core 2.5.1 = platformIO 2.1.1 (unsupported)
  17. # arduino core 2.5.2 = platformIO 2.2.3 (unsupported)
  18. # arduino core 2.6.1 = platformIO 2.3.0
  19. # ------------------------------------------------------------------------------
  20. arduino_core_2_3_0 = espressif8266@1.5.0
  21. arduino_core_2_4_0 = espressif8266@1.6.0
  22. arduino_core_2_4_1 = espressif8266@1.7.3
  23. arduino_core_2_4_2 = espressif8266@1.8.0
  24. arduino_core_2_5_0 = espressif8266@2.0.4
  25. arduino_core_2_5_1 = espressif8266@2.1.1
  26. arduino_core_2_5_2 = espressif8266@2.2.3
  27. arduino_core_2_6_1 = espressif8266@2.3.0
  28. arduino_core_2_6_2 = espressif8266@2.3.1
  29. arduino_core_2_6_3 = espressif8266@2.3.2
  30. # Development platforms
  31. arduino_core_develop = https://github.com/platformio/platform-espressif8266#develop
  32. arduino_core_git = https://github.com/platformio/platform-espressif8266#feature/stage
  33. platform = ${common.arduino_core_2_3_0}
  34. platform_latest = ${common.arduino_core_2_6_3}
  35. # ------------------------------------------------------------------------------
  36. # FLAGS: DEBUG
  37. #
  38. # ------------------------------------------------------------------------------
  39. debug_flags = -DDEBUG_ESP_CORE -DDEBUG_ESP_SSL -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_HTTP_UPDATE -DDEBUG_ESP_HTTP_SERVER -DDEBUG_ESP_UPDATER -DDEBUG_ESP_OTA -DDEBUG_TLS_MEM
  40. #if needed (for memleaks etc) also add; -DDEBUG_ESP_OOM -include "umm_malloc/umm_malloc_cfg.h"
  41. # ------------------------------------------------------------------------------
  42. # FLAGS: build flags
  43. # build flags for 512k/1m ESP's are different because we use Linker Scripts to adjust flash split
  44. # build_flags_512k ( 512 KB) = 487 KB sketch, 4 KB eeprom, 16 KB reserved
  45. # build_flags_1m0m (1024 KB) = 999 KB sketch, 4 KB eeprom, 16 KB reserved
  46. # build_flags_2m1m (2048 KB) = 1019 KB sketch, 16 KB eeprom, 992 KB spiffs, 16 KB reserved
  47. # build_flags_4m1m (4096 KB) = 1019 KB sketch, 16 KB eeprom, 992 KB spiffs, 16 KB reserved, 2048 KB empty/ota?
  48. # build_flags_4m3m (4096 KB) = 1019 KB sketch, 16 KB eeprom, 3040 KB spiffs, 16 KB reserved
  49. #
  50. # Available lwIP variants (macros):
  51. # -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH = v1.4 Higher Bandwidth (default)
  52. # -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY = v2 Lower Memory
  53. # -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH = v2 Higher Bandwidth
  54. #
  55. # BearSSL ciphers:
  56. # When building on core >= 2.5, you can add the build flag -DBEARSSL_SSL_BASIC in order to build BearSSL with a limited set of ciphers:
  57. # TLS_RSA_WITH_AES_128_CBC_SHA256 / AES128-SHA256
  58. # TLS_RSA_WITH_AES_256_CBC_SHA256 / AES256-SHA256
  59. # TLS_RSA_WITH_AES_128_CBC_SHA / AES128-SHA
  60. # TLS_RSA_WITH_AES_256_CBC_SHA / AES256-SHA
  61. # This reduces the OTA size with ~45KB, so it's especially useful on low memory boards (512k/1m).
  62. # ------------------------------------------------------------------------------
  63. board_1m = esp01_1m
  64. board_2m = esp_wroom_02
  65. board_4m = esp12e
  66. build_flags = -g -w -DMQTT_MAX_PACKET_SIZE=1024 -DNO_GLOBAL_EEPROM ${sysenv.ESPURNA_FLAGS} -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
  67. build_flags_512k = ${common.build_flags} -Wl,-Teagle.flash.512k0m1s.ld
  68. build_flags_1m0m = ${common.build_flags} -Wl,-Teagle.flash.1m0m1s.ld
  69. build_flags_2m1m = ${common.build_flags} -Wl,-Teagle.flash.2m1m4s.ld
  70. build_flags_4m1m = ${common.build_flags} -Wl,-Teagle.flash.4m1m4s.ld
  71. build_flags_4m3m = ${common.build_flags} -Wl,-Teagle.flash.4m3m4s.ld
  72. shared_libdeps_dir = libraries/
  73. # ------------------------------------------------------------------------------
  74. # OTA:
  75. # ------------------------------------------------------------------------------
  76. ota_upload_port = "${sysenv.ESPURNA_IP}"
  77. ota_upload_flags = --auth="${sysenv.ESPURNA_AUTH}"
  78. ota_upload_protocol = espota
  79. # ------------------------------------------------------------------------------
  80. # COMMON SETTINGS:
  81. # ------------------------------------------------------------------------------
  82. [env]
  83. platform = ${common.platform}
  84. framework = arduino
  85. board_build.flash_mode = dout
  86. monitor_speed = 115200
  87. upload_speed = 115200
  88. extra_scripts = pre:scripts/pio_pre.py, scripts/pio_main.py
  89. lib_extra_dirs =
  90. ${common.shared_libdeps_dir}
  91. # ------------------------------------------------------------------------------
  92. # LIBRARIES: required dependencies
  93. # Please note that we don't always use the latest version of a library.
  94. # ------------------------------------------------------------------------------
  95. lib_deps =
  96. ArduinoJson@5.13.4
  97. https://github.com/marvinroger/async-mqtt-client#v0.8.1
  98. Brzo I2C
  99. https://github.com/xoseperez/debounceevent.git#2.0.5
  100. https://github.com/xoseperez/eeprom_rotate#0.9.2
  101. Embedis
  102. https://github.com/plerup/espsoftwareserial#3.4.1
  103. https://github.com/me-no-dev/ESPAsyncTCP#7e9ed22
  104. https://github.com/me-no-dev/ESPAsyncWebServer#b0c6144
  105. https://bitbucket.org/xoseperez/fauxmoesp.git#3.1.0
  106. https://github.com/xoseperez/hlw8012.git#1.1.0
  107. https://github.com/markszabo/IRremoteESP8266#v2.2.0
  108. https://github.com/xoseperez/justwifi.git#2.0.2
  109. https://github.com/madpilot/mDNSResolver#4cfcda1
  110. https://github.com/xoseperez/my92xx#3.0.1
  111. MQTT
  112. https://bitbucket.org/xoseperez/nofuss.git#0.3.0
  113. https://github.com/xoseperez/NtpClient.git#0942ebc
  114. OneWire
  115. PZEM004T
  116. PubSubClient
  117. rc-switch
  118. https://github.com/LowPowerLab/RFM69#1.1.3
  119. https://github.com/xoseperez/rpnlib.git#0.3.0
  120. https://github.com/xoseperez/Time
  121. NewPing
  122. https://github.com/sparkfun/SparkFun_VEML6075_Arduino_Library#V_1.0.3
  123. https://github.com/pololu/vl53l1x-arduino#1.0.1
  124. https://github.com/mcleng/MAX6675-Library#2.0.1
  125. https://github.com/ElderJoy/esp8266-oled-ssd1306#4.0.1
  126. lib_ignore =
  127. # ------------------------------------------------------------------------------
  128. # ESPURNA CORE BUILDS
  129. # ------------------------------------------------------------------------------
  130. [env:espurna-core-1MB]
  131. board = ${common.board_1m}
  132. build_flags = ${common.build_flags_1m0m} -DESPURNA_CORE
  133. [env:espurna-core-2MB]
  134. board = ${common.board_2m}
  135. build_flags = ${common.build_flags_2m1m} -DESPURNA_CORE
  136. [env:espurna-core-4MB]
  137. board = ${common.board_4m}
  138. build_flags = ${common.build_flags_4m1m} -DESPURNA_CORE
  139. [env:espurna-core-smartconfig-1MB]
  140. board = ${common.board_1m}
  141. build_flags = ${common.build_flags_1m0m} -DESPURNA_CORE -DJUSTWIFI_ENABLE_SMARTCONFIG=1
  142. [env:espurna-core-smartconfig-2MB]
  143. board = ${common.board_2m}
  144. build_flags = ${common.build_flags_2m1m} -DESPURNA_CORE -DJUSTWIFI_ENABLE_SMARTCONFIG=1
  145. [env:espurna-core-smartconfig-4MB]
  146. board = ${common.board_4m}
  147. build_flags = ${common.build_flags_4m1m} -DESPURNA_CORE -DJUSTWIFI_ENABLE_SMARTCONFIG=1
  148. [env:espurna-core-wps-1MB]
  149. board = ${common.board_1m}
  150. build_flags = ${common.build_flags_1m0m} -DESPURNA_CORE -DJUSTWIFI_ENABLE_WPS=1
  151. [env:espurna-core-wps-2MB]
  152. board = ${common.board_2m}
  153. build_flags = ${common.build_flags_2m1m} -DESPURNA_CORE -DJUSTWIFI_ENABLE_WPS=1
  154. [env:espurna-core-wps-4MB]
  155. board = ${common.board_4m}
  156. build_flags = ${common.build_flags_4m1m} -DESPURNA_CORE -DJUSTWIFI_ENABLE_WPS=1
  157. # ------------------------------------------------------------------------------
  158. # ESPURNA BASE BUILDS
  159. # ------------------------------------------------------------------------------
  160. [env:espurna-base-1MB]
  161. board = ${common.board_1m}
  162. build_flags = ${common.build_flags_1m0m} -DESPURNA_BASE
  163. # ------------------------------------------------------------------------------
  164. # GENERIC OTA ENVIRONMENTS
  165. # ------------------------------------------------------------------------------
  166. [env:esp8266-1m-ota]
  167. board = ${common.board_1m}
  168. build_flags = ${common.build_flags_1m0m} -D${sysenv.ESPURNA_BOARD}
  169. upload_port = ${common.ota_upload_port}
  170. upload_flags = ${common.ota_upload_flags}
  171. [env:esp8266-2m-ota]
  172. board = ${common.board_2m}
  173. build_flags = ${common.build_flags_2m1m} -D${sysenv.ESPURNA_BOARD}
  174. upload_port = ${common.ota_upload_port}
  175. upload_flags = ${common.ota_upload_flags}
  176. [env:esp8266-4m-ota]
  177. board = ${common.board_4m}
  178. build_flags = ${common.build_flags_4m1m} -D${sysenv.ESPURNA_BOARD}
  179. upload_port = ${common.ota_upload_port}
  180. upload_flags = ${common.ota_upload_flags}
  181. # ------------------------------------------------------------------------------
  182. # SPECIAL BUILDS - DO. NOT. USE. ever ---
  183. # ------------------------------------------------------------------------------
  184. [env:travis-2_3_0]
  185. platform = ${common.arduino_core_2_3_0}
  186. board = ${common.board_4m}
  187. build_flags = ${common.build_flags_4m1m}
  188. [env:travis-latest]
  189. platform = ${common.platform_latest}
  190. board = ${common.board_4m}
  191. build_flags = ${common.build_flags_4m1m}
  192. [env:travis-git]
  193. platform = ${common.arduino_core_git}
  194. board = ${common.board_4m}
  195. build_flags = ${common.build_flags_4m1m}
  196. # ------------------------------------------------------------------------------
  197. # DEVELOPMENT BOARDS
  198. # ------------------------------------------------------------------------------
  199. [env:wemos-d1mini]
  200. board = d1_mini
  201. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_MINI -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  202. [env:wemos-d1mini-relayshield]
  203. board = ${common.board_4m}
  204. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  205. [env:wemos-d1mini-relayshield-ssl]
  206. platform = ${common.platform_latest}
  207. board = ${common.board_4m}
  208. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  209. [env:wemos-d1mini-relayshield-ota]
  210. board = ${common.board_4m}
  211. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  212. upload_port = ${common.ota_upload_port}
  213. upload_flags = ${common.ota_upload_flags}
  214. [env:nodemcu-lolin]
  215. board = ${common.board_4m}
  216. build_flags = ${common.build_flags_4m1m} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  217. [env:nodemcu-lolin-latest]
  218. platform = ${common.platform_latest}
  219. board = ${common.board_4m}
  220. build_flags = ${common.build_flags_4m1m} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  221. [env:nodemcu-lolin-ssl]
  222. platform = ${common.platform_latest}
  223. board = ${common.board_4m}
  224. build_flags =
  225. ${common.build_flags_4m1m}
  226. -DDEBUG_FAUXMO=Serial
  227. -DASYNC_TCP_SSL_ENABLED=1
  228. src_build_flags =
  229. -DNODEMCU_LOLIN -DNOWSAUTH
  230. [env:nodemcu-lolin-secure-client]
  231. platform = ${common.platform_latest}
  232. board = ${common.board_4m}
  233. build_flags =
  234. ${common.build_flags_4m1m}
  235. -DDEBUG_FAUXMO=Serial
  236. src_build_flags =
  237. -DNODEMCU_LOLIN -DNOWSAUTH
  238. -DSECURE_CLIENT=SECURE_CLIENT_BEARSSL
  239. -DMQTT_LIBRARY=MQTT_LIBRARY_ARDUINOMQTT
  240. -DOTA_CLIENT=OTA_CLIENT_HTTPUPDATE
  241. [env:nodemcu-lolin-ota]
  242. board = ${common.board_4m}
  243. build_flags = ${common.build_flags_4m1m} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  244. upload_port = ${common.ota_upload_port}
  245. upload_flags = ${common.ota_upload_flags}
  246. # ------------------------------------------------------------------------------
  247. # SPECIFIC BOARDS
  248. # ------------------------------------------------------------------------------
  249. [env:tinkerman-espurna-h06]
  250. board = ${common.board_4m}
  251. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H06
  252. [env:tinkerman-espurna-h06-ota]
  253. board = ${common.board_4m}
  254. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H06
  255. upload_port = ${common.ota_upload_port}
  256. upload_flags = ${common.ota_upload_flags}
  257. [env:tinkerman-espurna-h08]
  258. board = ${common.board_4m}
  259. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H08
  260. [env:tinkerman-espurna-h08-ota]
  261. board = ${common.board_4m}
  262. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H08
  263. upload_port = ${common.ota_upload_port}
  264. upload_flags = ${common.ota_upload_flags}
  265. [env:tinkerman-espurna-switch]
  266. board = ${common.board_4m}
  267. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_SWITCH
  268. [env:wemos-d1-tarpunashield]
  269. board = ${common.board_4m}
  270. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_TARPUNA_SHIELD
  271. [env:tinkerman-rfm69gw]
  272. board = esp12e
  273. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_RFM69GW -DNOWSAUTH
  274. [env:nodemcu-pzem004t]
  275. board = ${common.board_4m}
  276. build_flags = ${common.build_flags_4m1m} -DNODEMCU_BASIC -DDEBUG_SERIAL_SUPPORT=0 -DPZEM004T_SUPPORT=1 -DDISABLE_POSTMORTEM_STACKDUMP
  277. [env:tuya-generic-dimmer]
  278. board = ${common.board_1m}
  279. build_flags = ${common.build_flags_1m0m} -DTUYA_GENERIC_DIMMER -DDEBUG_SERIAL_SUPPORT=0 -DDISABLE_POSTMORTEM_STACKDUMP
  280. # ------------------------------------------------------------------------------
  281. [env:foxel-lightfox-dual]
  282. board = ${common.board_1m}
  283. build_flags = ${common.build_flags_1m0m} -DFOXEL_LIGHTFOX_DUAL -DDISABLE_POSTMORTEM_STACKDUMP
  284. [env:foxel-lightfox-dual-ota]
  285. board = ${common.board_1m}
  286. build_flags = ${common.build_flags_1m0m} -DFOXEL_LIGHTFOX_DUAL -DDISABLE_POSTMORTEM_STACKDUMP
  287. upload_port = ${common.ota_upload_port}
  288. upload_flags = ${common.ota_upload_flags}
  289. [env:itead-sonoff-basic]
  290. board = ${common.board_1m}
  291. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC
  292. [env:itead-sonoff-basic-ota]
  293. board = ${common.board_1m}
  294. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC
  295. upload_port = ${common.ota_upload_port}
  296. upload_flags = ${common.ota_upload_flags}
  297. [env:itead-sonoff-basic-dht]
  298. board = ${common.board_1m}
  299. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  300. [env:itead-sonoff-basic-r2-dht]
  301. board = ${common.board_1m}
  302. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1 -DDHT_PIN=2
  303. [env:itead-sonoff-basic-dht-ota]
  304. board = ${common.board_1m}
  305. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  306. upload_port = ${common.ota_upload_port}
  307. upload_flags = ${common.ota_upload_flags}
  308. [env:itead-sonoff-basic-dallas]
  309. board = ${common.board_1m}
  310. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDALLAS_SUPPORT=1
  311. [env:itead-sonoff-basic-r2-dallas]
  312. board = ${common.board_1m}
  313. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDALLAS_SUPPORT=1 -DDALLAS_PIN=2
  314. [env:itead-sonoff-rf]
  315. board = ${common.board_1m}
  316. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RF
  317. [env:itead-sonoff-rf-ota]
  318. board = ${common.board_1m}
  319. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RF
  320. upload_port = ${common.ota_upload_port}
  321. upload_flags = ${common.ota_upload_flags}
  322. [env:itead-sonoff-mini]
  323. board = ${common.board_1m}
  324. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_MINI
  325. [env:itead-sonoff-mini-ota]
  326. board = ${common.board_1m}
  327. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_MINI
  328. upload_port = ${common.ota_upload_port}
  329. upload_flags = ${common.ota_upload_flags}
  330. [env:itead-sonoff-th]
  331. board = ${common.board_1m}
  332. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TH
  333. [env:itead-sonoff-th-ota]
  334. board = ${common.board_1m}
  335. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TH
  336. upload_port = ${common.ota_upload_port}
  337. upload_flags = ${common.ota_upload_flags}
  338. [env:itead-sonoff-pow]
  339. board = ${common.board_1m}
  340. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW
  341. [env:itead-sonoff-pow-ota]
  342. board = ${common.board_1m}
  343. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW
  344. upload_port = ${common.ota_upload_port}
  345. upload_flags = ${common.ota_upload_flags}
  346. [env:itead-sonoff-pow-r2]
  347. board = ${common.board_1m}
  348. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW_R2 -DDISABLE_POSTMORTEM_STACKDUMP
  349. [env:itead-sonoff-pow-r2-ota]
  350. board = ${common.board_1m}
  351. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW_R2 -DDISABLE_POSTMORTEM_STACKDUMP
  352. upload_port = ${common.ota_upload_port}
  353. upload_flags = ${common.ota_upload_flags}
  354. [env:itead-sonoff-dual]
  355. board = ${common.board_1m}
  356. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL -DDISABLE_POSTMORTEM_STACKDUMP
  357. [env:itead-sonoff-dual-ota]
  358. board = ${common.board_1m}
  359. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL -DDISABLE_POSTMORTEM_STACKDUMP
  360. upload_port = ${common.ota_upload_port}
  361. upload_flags = ${common.ota_upload_flags}
  362. [env:itead-sonoff-dual-r2]
  363. board = ${common.board_1m}
  364. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL_R2
  365. [env:itead-sonoff-dual-r2-ota]
  366. board = ${common.board_1m}
  367. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL_R2
  368. upload_port = ${common.ota_upload_port}
  369. upload_flags = ${common.ota_upload_flags}
  370. [env:itead-sonoff-4ch]
  371. board = ${common.board_1m}
  372. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH
  373. [env:itead-sonoff-4ch-ota]
  374. board = ${common.board_1m}
  375. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH
  376. upload_port = ${common.ota_upload_port}
  377. upload_flags = ${common.ota_upload_flags}
  378. [env:itead-sonoff-4ch-pro]
  379. board = ${common.board_1m}
  380. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH_PRO
  381. [env:itead-sonoff-4ch-pro-ota]
  382. board = ${common.board_1m}
  383. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH_PRO
  384. upload_port = ${common.ota_upload_port}
  385. upload_flags = ${common.ota_upload_flags}
  386. [env:itead-sonoff-touch]
  387. board = ${common.board_1m}
  388. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TOUCH
  389. [env:itead-sonoff-touch-ota]
  390. board = ${common.board_1m}
  391. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TOUCH
  392. upload_port = ${common.ota_upload_port}
  393. upload_flags = ${common.ota_upload_flags}
  394. [env:itead-sonoff-b1]
  395. board = ${common.board_1m}
  396. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_B1
  397. [env:itead-sonoff-b1-ota]
  398. board = ${common.board_1m}
  399. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_B1
  400. upload_port = ${common.ota_upload_port}
  401. upload_flags = ${common.ota_upload_flags}
  402. [env:itead-sonoff-t1-1ch]
  403. board = ${common.board_1m}
  404. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_1CH
  405. [env:itead-sonoff-t1-1ch-ota]
  406. board = ${common.board_1m}
  407. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_1CH
  408. upload_port = ${common.ota_upload_port}
  409. upload_flags = ${common.ota_upload_flags}
  410. [env:itead-sonoff-t1-2ch]
  411. board = ${common.board_1m}
  412. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_2CH
  413. [env:itead-sonoff-t1-2ch-ota]
  414. board = ${common.board_1m}
  415. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_2CH
  416. upload_port = ${common.ota_upload_port}
  417. upload_flags = ${common.ota_upload_flags}
  418. [env:itead-sonoff-t1-3ch]
  419. board = ${common.board_1m}
  420. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_3CH
  421. [env:itead-sonoff-t1-3ch-ota]
  422. board = ${common.board_1m}
  423. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_3CH
  424. upload_port = ${common.ota_upload_port}
  425. upload_flags = ${common.ota_upload_flags}
  426. [env:itead-sonoff-led]
  427. board = ${common.board_1m}
  428. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_LED
  429. [env:itead-sonoff-led-ota]
  430. board = ${common.board_1m}
  431. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_LED
  432. upload_port = ${common.ota_upload_port}
  433. upload_flags = ${common.ota_upload_flags}
  434. [env:itead-sonoff-rfbridge]
  435. board = ${common.board_1m}
  436. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE -DDISABLE_POSTMORTEM_STACKDUMP
  437. [env:itead-sonoff-rfbridge-ota]
  438. board = ${common.board_1m}
  439. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE -DDISABLE_POSTMORTEM_STACKDUMP
  440. upload_port = ${common.ota_upload_port}
  441. upload_flags = ${common.ota_upload_flags}
  442. [env:itead-sonoff-rfbridge-direct]
  443. board = ${common.board_1m}
  444. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT
  445. [env:itead-sonoff-rfbridge-direct-ota]
  446. board = ${common.board_1m}
  447. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT
  448. upload_port = ${common.ota_upload_port}
  449. upload_flags = ${common.ota_upload_flags}
  450. # ------------------------------------------------------------------------------
  451. [env:itead-slampher]
  452. board = ${common.board_1m}
  453. build_flags = ${common.build_flags_1m0m} -DITEAD_SLAMPHER
  454. [env:itead-slampher-ota]
  455. board = ${common.board_1m}
  456. build_flags = ${common.build_flags_1m0m} -DITEAD_SLAMPHER
  457. upload_port = ${common.ota_upload_port}
  458. upload_flags = ${common.ota_upload_flags}
  459. [env:itead-s20]
  460. board = ${common.board_1m}
  461. build_flags = ${common.build_flags_1m0m} -DITEAD_S20
  462. [env:itead-s20-ota]
  463. board = ${common.board_1m}
  464. build_flags = ${common.build_flags_1m0m} -DITEAD_S20
  465. upload_port = ${common.ota_upload_port}
  466. upload_flags = ${common.ota_upload_flags}
  467. [env:itead-1ch-inching]
  468. board = ${common.board_1m}
  469. build_flags = ${common.build_flags_1m0m} -DITEAD_1CH_INCHING
  470. [env:itead-1ch-inching-ota]
  471. board = ${common.board_1m}
  472. build_flags = ${common.build_flags_1m0m} -DITEAD_1CH_INCHING
  473. upload_port = ${common.ota_upload_port}
  474. upload_flags = ${common.ota_upload_flags}
  475. [env:itead-motor]
  476. board = ${common.board_1m}
  477. build_flags = ${common.build_flags_1m0m} -DITEAD_MOTOR
  478. [env:itead-motor-ota]
  479. board = ${common.board_1m}
  480. build_flags = ${common.build_flags_1m0m} -DITEAD_MOTOR
  481. upload_port = ${common.ota_upload_port}
  482. upload_flags = ${common.ota_upload_flags}
  483. [env:itead-sonoff-sv]
  484. board = ${common.board_1m}
  485. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_SV
  486. [env:itead-sonoff-sv-ota]
  487. board = ${common.board_1m}
  488. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_SV
  489. upload_port = ${common.ota_upload_port}
  490. upload_flags = ${common.ota_upload_flags}
  491. [env:itead-sonoff-s31]
  492. board = ${common.board_1m}
  493. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_S31 -DDISABLE_POSTMORTEM_STACKDUMP
  494. [env:itead-sonoff-s31-ota]
  495. board = ${common.board_1m}
  496. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_S31 -DDISABLE_POSTMORTEM_STACKDUMP
  497. upload_port = ${common.ota_upload_port}
  498. upload_flags = ${common.ota_upload_flags}
  499. [env:itead-sonoff-s31-lite]
  500. board = ${common.board_1m}
  501. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_S31_LITE
  502. [env:itead-sonoff-s31-lite-ota]
  503. board = ${common.board_1m}
  504. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_S31_LITE
  505. upload_port = ${common.ota_upload_port}
  506. upload_flags = ${common.ota_upload_flags}
  507. [env:itead-sonoff-ifan02]
  508. board = ${common.board_1m}
  509. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_IFAN02
  510. [env:itead-sonoff-ifan02-ota]
  511. board = ${common.board_1m}
  512. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_IFAN02
  513. upload_port = ${common.ota_upload_port}
  514. upload_flags = ${common.ota_upload_flags}
  515. # ------------------------------------------------------------------------------
  516. [env:electrodragon-wifi-iot]
  517. board = ${common.board_4m}
  518. build_flags = ${common.build_flags_4m1m} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  519. [env:electrodragon-wifi-iot-ota]
  520. board = ${common.board_4m}
  521. build_flags = ${common.build_flags_4m1m} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  522. upload_port = ${common.ota_upload_port}
  523. upload_flags = ${common.ota_upload_flags}
  524. [env:workchoice-ecoplug]
  525. board = ${common.board_1m}
  526. build_flags = ${common.build_flags_1m0m} -DWORKCHOICE_ECOPLUG
  527. [env:workchoice-ecoplug-ota]
  528. board = ${common.board_1m}
  529. build_flags = ${common.build_flags_1m0m} -DWORKCHOICE_ECOPLUG
  530. upload_port = ${common.ota_upload_port}
  531. upload_flags = ${common.ota_upload_flags}
  532. [env:jangoe-wifi-relay-nc]
  533. board = ${common.board_4m}
  534. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NC
  535. [env:jangoe-wifi-relay-nc-ota]
  536. board = ${common.board_4m}
  537. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NC
  538. upload_port = ${common.ota_upload_port}
  539. upload_flags = ${common.ota_upload_flags}
  540. [env:jangoe-wifi-relay-no]
  541. board = ${common.board_4m}
  542. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NO
  543. [env:jangoe-wifi-relay-no-ota]
  544. board = ${common.board_4m}
  545. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NO
  546. upload_port = ${common.ota_upload_port}
  547. upload_flags = ${common.ota_upload_flags}
  548. [env:openenergymonitor-mqtt-relay]
  549. board = ${common.board_4m}
  550. build_flags = ${common.build_flags_4m1m} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  551. [env:openenergymonitor-mqtt-relay-ota]
  552. board = ${common.board_4m}
  553. build_flags = ${common.build_flags_4m1m} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  554. upload_port = ${common.ota_upload_port}
  555. upload_flags = ${common.ota_upload_flags}
  556. [env:jorgegarcia-wifi-relays]
  557. board = ${common.board_1m}
  558. build_flags = ${common.build_flags_1m0m} -DJORGEGARCIA_WIFI_RELAYS
  559. [env:jorgegarcia-wifi-relays-ota]
  560. board = ${common.board_1m}
  561. build_flags = ${common.build_flags_1m0m} -DJORGEGARCIA_WIFI_RELAYS
  562. upload_port = ${common.ota_upload_port}
  563. upload_flags = ${common.ota_upload_flags}
  564. [env:aithinker-ai-light]
  565. board = ${common.board_1m}
  566. build_flags = ${common.build_flags_1m0m} -DAITHINKER_AI_LIGHT
  567. [env:aithinker-ai-light-ota]
  568. board = ${common.board_1m}
  569. build_flags = ${common.build_flags_1m0m} -DAITHINKER_AI_LIGHT
  570. upload_port = ${common.ota_upload_port}
  571. upload_flags = ${common.ota_upload_flags}
  572. [env:lyasi-rgb-light]
  573. board = ${common.board_1m}
  574. build_flags = ${common.build_flags_1m0m} -DLYASI_LIGHT
  575. [env:lyasi-rgb-light-ota]
  576. board = ${common.board_1m}
  577. build_flags = ${common.build_flags_1m0m} -DLYASI_LIGHT
  578. upload_port = ${common.ota_upload_port}
  579. upload_flags = ${common.ota_upload_flags}
  580. [env:magichome-led-controller]
  581. board = ${common.board_1m}
  582. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER
  583. [env:magichome-led-controller-ota]
  584. board = ${common.board_1m}
  585. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER
  586. upload_port = ${common.ota_upload_port}
  587. upload_flags = ${common.ota_upload_flags}
  588. [env:magichome-led-controller-20]
  589. board = ${common.board_1m}
  590. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER_20
  591. [env:magichome-led-controller-20-ota]
  592. board = ${common.board_1m}
  593. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER_20
  594. upload_port = ${common.ota_upload_port}
  595. upload_flags = ${common.ota_upload_flags}
  596. [env:magichome-zj-wfmn-a-11]
  597. board = ${common.board_1m}
  598. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_WFMN_A_11
  599. [env:magichome-zj-wfmn-a-11-ota]
  600. board = ${common.board_1m}
  601. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_WFMN_A_11
  602. upload_port = ${common.ota_upload_port}
  603. upload_flags = ${common.ota_upload_flags}
  604. [env:magichome-zj-wfmn-b-11]
  605. board = ${common.board_1m}
  606. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_WFMN_B_11
  607. [env:magichome-zj-wfmn-b-11-ota]
  608. board = ${common.board_1m}
  609. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_WFMN_B_11
  610. upload_port = ${common.ota_upload_port}
  611. upload_flags = ${common.ota_upload_flags}
  612. [env:magichome-zj-espm-5ch-b-13]
  613. board = ${common.board_1m}
  614. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_ESPM_5CH_B_13
  615. [env:magichome-zj-espm-5ch-b-13-ota]
  616. board = ${common.board_1m}
  617. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_ESPM_5CH_B_13
  618. upload_port = ${common.ota_upload_port}
  619. upload_flags = ${common.ota_upload_flags}
  620. [env:magichome-zj-wfmn-c-11]
  621. board = ${common.board_1m}
  622. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_WFMN_C_11
  623. [env:magichome-zj-wfmn-c-11-ota]
  624. board = ${common.board_1m}
  625. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_WFMN_C_11
  626. upload_port = ${common.ota_upload_port}
  627. upload_flags = ${common.ota_upload_flags}
  628. [env:huacanxing-h801]
  629. board = ${common.board_1m}
  630. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H801
  631. [env:huacanxing-h801-ota]
  632. board = ${common.board_1m}
  633. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H801
  634. upload_port = ${common.ota_upload_port}
  635. upload_flags = ${common.ota_upload_flags}
  636. [env:huacanxing-h802]
  637. board = ${common.board_1m}
  638. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H802
  639. [env:huacanxing-h802-ota]
  640. board = ${common.board_1m}
  641. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H802
  642. upload_port = ${common.ota_upload_port}
  643. upload_flags = ${common.ota_upload_flags}
  644. [env:arilux-al-lc01]
  645. board = ${common.board_1m}
  646. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC01
  647. [env:arilux-al-lc01-ota]
  648. board = ${common.board_1m}
  649. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC01
  650. upload_port = ${common.ota_upload_port}
  651. upload_flags = ${common.ota_upload_flags}
  652. [env:arilux-al-lc02]
  653. board = ${common.board_1m}
  654. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02
  655. [env:arilux-al-lc02-ota]
  656. board = ${common.board_1m}
  657. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02
  658. upload_port = ${common.ota_upload_port}
  659. upload_flags = ${common.ota_upload_flags}
  660. [env:arilux-al-lc02-v14]
  661. board = ${common.board_1m}
  662. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02_V14
  663. [env:arilux-al-lc02-v14-ota]
  664. board = ${common.board_1m}
  665. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02_V14
  666. upload_port = ${common.ota_upload_port}
  667. upload_flags = ${common.ota_upload_flags}
  668. [env:arilux-al-lc06]
  669. board = ${common.board_1m}
  670. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC06
  671. [env:arilux-al-lc06-ota]
  672. board = ${common.board_1m}
  673. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC06
  674. upload_port = ${common.ota_upload_port}
  675. upload_flags = ${common.ota_upload_flags}
  676. [env:arilux-al-lc11]
  677. board = ${common.board_1m}
  678. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC11
  679. [env:arilux-al-lc11-ota]
  680. board = ${common.board_1m}
  681. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC11
  682. upload_port = ${common.ota_upload_port}
  683. upload_flags = ${common.ota_upload_flags}
  684. [env:arilux-e27]
  685. board = ${common.board_1m}
  686. build_flags = ${common.build_flags_1m0m} -DARILUX_E27
  687. [env:arilux-e27-ota]
  688. board = ${common.board_1m}
  689. build_flags = ${common.build_flags_1m0m} -DARILUX_E27
  690. upload_port = ${common.ota_upload_port}
  691. upload_flags = ${common.ota_upload_flags}
  692. [env:itead-bnsz01]
  693. board = ${common.board_1m}
  694. build_flags = ${common.build_flags_1m0m} -DITEAD_BNSZ01
  695. [env:itead-bnsz01-ota]
  696. board = ${common.board_1m}
  697. build_flags = ${common.build_flags_1m0m} -DITEAD_BNSZ01
  698. upload_port = ${common.ota_upload_port}
  699. upload_flags = ${common.ota_upload_flags}
  700. [env:wion-50055]
  701. board = ${common.board_1m}
  702. build_flags = ${common.build_flags_1m0m} -DWION_50055
  703. [env:wion-50055-ota]
  704. board = ${common.board_1m}
  705. build_flags = ${common.build_flags_1m0m} -DWION_50055
  706. upload_port = ${common.ota_upload_port}
  707. upload_flags = ${common.ota_upload_flags}
  708. [env:exs-wifi-relay-v31]
  709. board = ${common.board_4m}
  710. build_flags = ${common.build_flags_4m1m} -DEXS_WIFI_RELAY_V31
  711. [env:exs-wifi-relay-v31-ota]
  712. board = ${common.board_4m}
  713. build_flags = ${common.build_flags_4m1m} -DEXS_WIFI_RELAY_V31
  714. upload_port = ${common.ota_upload_port}
  715. upload_flags = ${common.ota_upload_flags}
  716. [env:exs-wifi-relay-v50]
  717. board = ${common.board_4m}
  718. build_flags = ${common.build_flags_4m1m} -DEXS_WIFI_RELAY_V50
  719. [env:exs-wifi-relay-v50-ota]
  720. board = ${common.board_4m}
  721. build_flags = ${common.build_flags_4m1m} -DEXS_WIFI_RELAY_V50
  722. upload_port = ${common.ota_upload_port}
  723. upload_flags = ${common.ota_upload_flags}
  724. [env:wemos-v9261f]
  725. board = ${common.board_4m}
  726. build_flags = ${common.build_flags_4m1m} -DGENERIC_V9261F
  727. [env:wemos-v9261f-ota]
  728. board = ${common.board_4m}
  729. build_flags = ${common.build_flags_4m1m} -DGENERIC_V9261F
  730. upload_port = ${common.ota_upload_port}
  731. upload_flags = ${common.ota_upload_flags}
  732. [env:esp01-v9261f]
  733. board = ${common.board_1m}
  734. build_flags = ${common.build_flags_1m0m} -DGENERIC_V9261F
  735. [env:esp01-v9261f-ota]
  736. board = ${common.board_1m}
  737. build_flags = ${common.build_flags_1m0m} -DGENERIC_V9261F
  738. upload_port = ${common.ota_upload_port}
  739. upload_flags = ${common.ota_upload_flags}
  740. [env:wemos-ech1560]
  741. board = ${common.board_4m}
  742. build_flags = ${common.build_flags_4m1m} -DGENERIC_ECH1560
  743. [env:wemos-ech1560-ota]
  744. board = ${common.board_4m}
  745. build_flags = ${common.build_flags_4m1m} -DGENERIC_ECH1560
  746. upload_port = ${common.ota_upload_port}
  747. upload_flags = ${common.ota_upload_flags}
  748. [env:esp01-ech1560]
  749. board = ${common.board_1m}
  750. build_flags = ${common.build_flags_1m0m} -DGENERIC_ECH1560
  751. [env:esp01-ech1560-ota]
  752. board = ${common.board_1m}
  753. build_flags = ${common.build_flags_1m0m} -DGENERIC_ECH1560
  754. upload_port = ${common.ota_upload_port}
  755. upload_flags = ${common.ota_upload_flags}
  756. [env:mancavemade-esplive]
  757. board = ${common.board_4m}
  758. build_flags = ${common.build_flags_4m1m} -DMANCAVEMADE_ESPLIVE
  759. [env:mancavemade-esplive-ota]
  760. board = ${common.board_4m}
  761. build_flags = ${common.build_flags_4m1m} -DMANCAVEMADE_ESPLIVE
  762. upload_port = ${common.ota_upload_port}
  763. upload_flags = ${common.ota_upload_flags}
  764. [env:intermittech-quinled]
  765. board = ${common.board_1m}
  766. build_flags = ${common.build_flags_1m0m} -DINTERMITTECH_QUINLED
  767. [env:intermittech-quinled-ota]
  768. board = ${common.board_1m}
  769. build_flags = ${common.build_flags_1m0m} -DINTERMITTECH_QUINLED
  770. upload_port = ${common.ota_upload_port}
  771. upload_flags = ${common.ota_upload_flags}
  772. [env:xenon-sm-pw702u]
  773. board = ${common.board_1m}
  774. build_flags = ${common.build_flags_1m0m} -DXENON_SM_PW702U
  775. [env:xenon-sm-pw702u-ota]
  776. board = ${common.board_1m}
  777. build_flags = ${common.build_flags_1m0m} -DXENON_SM_PW702U
  778. upload_port = ${common.ota_upload_port}
  779. upload_flags = ${common.ota_upload_flags}
  780. [env:iselector-sm-pw702]
  781. board = ${common.board_1m}
  782. build_flags = ${common.build_flags_1m0m} -DISELECTOR_SM_PW702
  783. [env:iselector-sm-pw702-ota]
  784. board = ${common.board_1m}
  785. build_flags = ${common.build_flags_1m0m} -DISELECTOR_SM_PW702
  786. upload_port = ${common.ota_upload_port}
  787. upload_flags = ${common.ota_upload_flags}
  788. [env:authometion-lyt8266]
  789. board = ${common.board_1m}
  790. build_flags = ${common.build_flags_1m0m} -DAUTHOMETION_LYT8266
  791. [env:authometion-lyt8266-ota]
  792. board = ${common.board_1m}
  793. build_flags = ${common.build_flags_1m0m} -DAUTHOMETION_LYT8266
  794. upload_port = ${common.ota_upload_port}
  795. upload_flags = ${common.ota_upload_flags}
  796. [env:kmc-70011]
  797. board = ${common.board_1m}
  798. build_flags = ${common.build_flags_1m0m} -DKMC_70011
  799. [env:kmc-70011-ota]
  800. board = ${common.board_1m}
  801. build_flags = ${common.build_flags_1m0m} -DKMC_70011
  802. upload_port = ${common.ota_upload_port}
  803. upload_flags = ${common.ota_upload_flags}
  804. [env:yjzk-switch-1ch]
  805. board = ${common.board_1m}
  806. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_1CH
  807. [env:yjzk-switch-1ch-ota]
  808. board = ${common.board_1m}
  809. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_1CH
  810. upload_port = ${common.ota_upload_port}
  811. upload_flags = ${common.ota_upload_flags}
  812. [env:yjzk-switch-2ch]
  813. board = ${common.board_1m}
  814. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_2CH
  815. [env:yjzk-switch-2ch-ota]
  816. board = ${common.board_1m}
  817. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_2CH
  818. upload_port = ${common.ota_upload_port}
  819. upload_flags = ${common.ota_upload_flags}
  820. [env:yjzk-switch-3ch]
  821. board = ${common.board_1m}
  822. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_3CH
  823. [env:yjzk-switch-3ch-ota]
  824. board = ${common.board_1m}
  825. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_3CH
  826. upload_port = ${common.ota_upload_port}
  827. upload_flags = ${common.ota_upload_flags}
  828. [env:generic-8ch]
  829. board = ${common.board_4m}
  830. build_flags = ${common.build_flags_4m1m} -DGENERIC_8CH
  831. [env:gizwits-witty-cloud]
  832. board = ${common.board_4m}
  833. build_flags = ${common.build_flags_4m1m} -DGIZWITS_WITTY_CLOUD
  834. [env:gizwits-witty-cloud-ota]
  835. board = ${common.board_4m}
  836. build_flags = ${common.build_flags_4m1m} -DGIZWITS_WITTY_CLOUD
  837. upload_port = ${common.ota_upload_port}
  838. upload_flags = ${common.ota_upload_flags}
  839. [env:euromate-wifi-stecker-shuko]
  840. board = ${common.board_1m}
  841. build_flags = ${common.build_flags_1m0m} -DEUROMATE_WIFI_STECKER_SCHUKO
  842. [env:euromate-wifi-stecker-shuko-ota]
  843. board = ${common.board_1m}
  844. build_flags = ${common.build_flags_1m0m} -DEUROMATE_WIFI_STECKER_SCHUKO
  845. upload_port = ${common.ota_upload_port}
  846. upload_flags = ${common.ota_upload_flags}
  847. [env:euromate-wifi-stecker-shuko-v2]
  848. board = ${common.board_2m}
  849. build_flags = ${common.build_flags_2m1m} -DEUROMATE_WIFI_STECKER_SCHUKO_V2
  850. [env:euromate-wifi-stecker-shuko-v2-ota]
  851. board = ${common.board_2m}
  852. build_flags = ${common.build_flags_2m1m} -DEUROMATE_WIFI_STECKER_SCHUKO_V2
  853. upload_port = ${common.ota_upload_port}
  854. upload_flags = ${common.ota_upload_flags}
  855. [env:tonbux-powerstrip02]
  856. board = ${common.board_1m}
  857. build_flags = ${common.build_flags_1m0m} -DTONBUX_POWERSTRIP02
  858. [env:tonbux-powerstrip02-ota]
  859. board = ${common.board_1m}
  860. build_flags = ${common.build_flags_1m0m} -DTONBUX_POWERSTRIP02
  861. upload_port = ${common.ota_upload_port}
  862. upload_flags = ${common.ota_upload_flags}
  863. [env:lingan-swa1]
  864. board = ${common.board_1m}
  865. build_flags = ${common.build_flags_1m0m} -DLINGAN_SWA1
  866. [env:lingan-swa1-ota]
  867. board = ${common.board_1m}
  868. build_flags = ${common.build_flags_1m0m} -DLINGAN_SWA1
  869. upload_port = ${common.ota_upload_port}
  870. upload_flags = ${common.ota_upload_flags}
  871. [env:stm-relay]
  872. board = ${common.board_1m}
  873. build_flags = ${common.build_flags_1m0m} -DSTM_RELAY -DDISABLE_POSTMORTEM_STACKDUMP
  874. [env:stm-relay-ota]
  875. board = ${common.board_1m}
  876. build_flags = ${common.build_flags_1m0m} -DSTM_RELAY -DDISABLE_POSTMORTEM_STACKDUMP
  877. upload_port = ${common.ota_upload_port}
  878. upload_flags = ${common.ota_upload_flags}
  879. [env:heygo-hy02]
  880. board = ${common.board_1m}
  881. build_flags = ${common.build_flags_1m0m} -DHEYGO_HY02
  882. [env:heygo-hy02-ota]
  883. board = ${common.board_1m}
  884. build_flags = ${common.build_flags_1m0m} -DHEYGO_HY02
  885. upload_port = ${common.ota_upload_port}
  886. upload_flags = ${common.ota_upload_flags}
  887. [env:maxcio-wus002s]
  888. board = ${common.board_1m}
  889. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WUS002S
  890. [env:maxcio-wus002s-ota]
  891. board = ${common.board_1m}
  892. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WUS002S
  893. upload_port = ${common.ota_upload_port}
  894. upload_flags = ${common.ota_upload_flags}
  895. [env:maxcio-wde004]
  896. board = ${common.board_1m}
  897. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WDE004
  898. [env:maxcio-wde004-ota]
  899. board = ${common.board_1m}
  900. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WDE004
  901. upload_port = ${common.ota_upload_port}
  902. upload_flags = ${common.ota_upload_flags}
  903. [env:yidian-xsssa05]
  904. board = ${common.board_1m}
  905. build_flags = ${common.build_flags_1m0m} -DYIDIAN_XSSSA05
  906. [env:yidian-xsssa05-ota]
  907. board = ${common.board_1m}
  908. build_flags = ${common.build_flags_1m0m} -DYIDIAN_XSSSA05
  909. upload_port = ${common.ota_upload_port}
  910. upload_flags = ${common.ota_upload_flags}
  911. [env:oukitel-p1]
  912. board = ${common.board_1m}
  913. build_flags = ${common.build_flags_1m0m} -DOUKITEL_P1
  914. [env:oukitel-p1-ota]
  915. board = ${common.board_1m}
  916. build_flags = ${common.build_flags_1m0m} -DOUKITEL_P1
  917. upload_port = ${common.ota_upload_port}
  918. upload_flags = ${common.ota_upload_flags}
  919. [env:tonbux-xsssa01]
  920. board = ${common.board_1m}
  921. build_flags = ${common.build_flags_4m1m} -DTONBUX_XSSSA01
  922. [env:tonbux-xsssa01-ota]
  923. board = ${common.board_1m}
  924. build_flags = ${common.build_flags_4m1m} -DTONBUX_XSSSA01
  925. upload_port = ${common.ota_upload_port}
  926. upload_flags = ${common.ota_upload_flags}
  927. [env:tonbux-xsssa06]
  928. board = ${common.board_1m}
  929. build_flags = ${common.build_flags_1m0m} -DTONBUX_XSSSA06
  930. [env:tonbux-xsssa06-ota]
  931. board = ${common.board_1m}
  932. build_flags = ${common.build_flags_1m0m} -DTONBUX_XSSSA06
  933. upload_port = ${common.ota_upload_port}
  934. upload_flags = ${common.ota_upload_flags}
  935. [env:green-esp8266relay]
  936. board = ${common.board_4m}
  937. build_flags = ${common.build_flags_4m1m} -DGREEN_ESP8266RELAY
  938. [env:green-esp8266relay-ota]
  939. board = ${common.board_4m}
  940. build_flags = ${common.build_flags_4m1m} -DGREEN_ESP8266RELAY
  941. upload_port = ${common.ota_upload_port}
  942. upload_flags = ${common.ota_upload_flags}
  943. [env:ike-espike]
  944. board = ${common.board_4m}
  945. build_flags = ${common.build_flags_4m1m} -DIKE_ESPIKE
  946. [env:ike-espike-ota]
  947. board = ${common.board_4m}
  948. build_flags = ${common.build_flags_4m1m} -DIKE_ESPIKE
  949. upload_port = ${common.ota_upload_port}
  950. upload_flags = ${common.ota_upload_flags}
  951. [env:arniex-swifitch]
  952. board = ${common.board_4m}
  953. build_flags = ${common.build_flags_4m1m} -DARNIEX_SWIFITCH
  954. [env:arniex-swifitch-ota]
  955. board = ${common.board_4m}
  956. build_flags = ${common.build_flags_4m1m} -DARNIEX_SWIFITCH
  957. upload_port = ${common.ota_upload_port}
  958. upload_flags = ${common.ota_upload_flags}
  959. [env:zhilde-eu44-w]
  960. board = ${common.board_1m}
  961. build_flags = ${common.build_flags_1m0m} -DZHILDE_EU44_W
  962. [env:zhilde-eu44-w-ota]
  963. board = ${common.board_1m}
  964. build_flags = ${common.build_flags_1m0m} -DZHILDE_EU44_W
  965. upload_port = ${common.ota_upload_port}
  966. upload_flags = ${common.ota_upload_flags}
  967. [env:luani-hvio]
  968. board = ${common.board_1m}
  969. build_flags = ${common.build_flags_1m0m} -DLUANI_HVIO
  970. [env:luani-hvio-ota]
  971. board = ${common.board_1m}
  972. build_flags = ${common.build_flags_1m0m} -DLUANI_HVIO
  973. upload_port = ${common.ota_upload_port}
  974. upload_flags = ${common.ota_upload_flags}
  975. [env:neo-coolcam-power-plug-wifi]
  976. board = ${common.board_1m}
  977. build_flags = ${common.build_flags_1m0m} -DNEO_COOLCAM_NAS_WR01W
  978. [env:neo-coolcam-power-plug-wifi-ota]
  979. board = ${common.board_1m}
  980. build_flags = ${common.build_flags_1m0m} -DNEO_COOLCAM_NAS_WR01W
  981. upload_port = ${common.ota_upload_port}
  982. upload_flags = ${common.ota_upload_flags}
  983. [env:estink-wifi-power-strip]
  984. board = ${common.board_1m}
  985. build_flags = ${common.build_flags_1m0m} -DFORNORM_ZLD_34EU
  986. [env:estink-wifi-power-strip-ota]
  987. board = ${common.board_1m}
  988. build_flags = ${common.build_flags_1m0m} -DFORNORM_ZLD_34EU
  989. upload_port = ${common.ota_upload_port}
  990. upload_flags = ${common.ota_upload_flags}
  991. [env:iwoole-led-table-lamp]
  992. board = ${common.board_1m}
  993. build_flags = ${common.build_flags_1m0m} -DIWOOLE_LED_TABLE_LAMP
  994. [env:iwoole-led-table-lamp-ota]
  995. board = ${common.board_1m}
  996. build_flags = ${common.build_flags_1m0m} -DIWOOLE_LED_TABLE_LAMP
  997. upload_port = ${common.ota_upload_port}
  998. upload_flags = ${common.ota_upload_flags}
  999. [env:lombex-lux-nova2-tunable-white]
  1000. board = ${common.board_1m}
  1001. build_flags = ${common.build_flags_1m0m} -DLOMBEX_LUX_NOVA2_TUNABLE_WHITE
  1002. [env:lombex-lux-nova2-tunable-white-ota]
  1003. board = ${common.board_1m}
  1004. build_flags = ${common.build_flags_1m0m} -DLOMBEX_LUX_NOVA2_TUNABLE_WHITE
  1005. upload_port = ${common.ota_upload_port}
  1006. upload_flags = ${common.ota_upload_flags}
  1007. [env:lombex-lux-nova2-white-color]
  1008. board = ${common.board_1m}
  1009. build_flags = ${common.build_flags_1m0m} -DLOMBEX_LUX_NOVA2_WHITE_COLOR
  1010. [env:lombex-lux-nova2-white-color-ota]
  1011. board = ${common.board_1m}
  1012. build_flags = ${common.build_flags_1m0m} -DLOMBEX_LUX_NOVA2_WHITE_COLOR
  1013. upload_port = ${common.ota_upload_port}
  1014. upload_flags = ${common.ota_upload_flags}
  1015. # ------------------------------------------------------------------------------
  1016. # GENERIC OTA ENVIRONMENTS
  1017. # ------------------------------------------------------------------------------
  1018. [env:generic-esp01s-relay-40]
  1019. board = ${common.board_1m}
  1020. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40
  1021. [env:generic-esp01s-relay-40-inv]
  1022. board = ${common.board_1m}
  1023. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40 -DRELAY1_TYPE=1
  1024. [env:generic-esp01s-relay-40-ota]
  1025. board = ${common.board_1m}
  1026. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40
  1027. upload_port = ${common.ota_upload_port}
  1028. upload_flags = ${common.ota_upload_flags}
  1029. [env:generic-esp01s-relay-40-inv-ota]
  1030. board = ${common.board_1m}
  1031. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40 -DRELAY1_TYPE=1
  1032. upload_port = ${common.ota_upload_port}
  1033. upload_flags = ${common.ota_upload_flags}
  1034. [env:generic-esp01s-rgbled-10]
  1035. board = ${common.board_1m}
  1036. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RGBLED_V10
  1037. [env:generic-esp01s-rgbled-10-ota]
  1038. board = ${common.board_1m}
  1039. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RGBLED_V10
  1040. upload_port = ${common.ota_upload_port}
  1041. upload_flags = ${common.ota_upload_flags}
  1042. [env:generic-esp01s-dht11-10]
  1043. board = ${common.board_1m}
  1044. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DHT11_V10
  1045. [env:generic-esp01s-dht11-10-ota]
  1046. board = ${common.board_1m}
  1047. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DHT11_V10
  1048. upload_port = ${common.ota_upload_port}
  1049. upload_flags = ${common.ota_upload_flags}
  1050. [env:generic-esp01s-ds18b20-10]
  1051. board = ${common.board_1m}
  1052. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DS18B20_V10
  1053. [env:generic-esp01s-ds18b20-10-ota]
  1054. board = ${common.board_1m}
  1055. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DS18B20_V10
  1056. upload_port = ${common.ota_upload_port}
  1057. upload_flags = ${common.ota_upload_flags}
  1058. [env:heltec-touch-relay]
  1059. board = ${common.board_1m}
  1060. build_flags = ${common.build_flags_1m0m} -DHELTEC_TOUCHRELAY
  1061. [env:heltec-touch-relay-ota]
  1062. board = ${common.board_1m}
  1063. build_flags = ${common.build_flags_1m0m} -DHELTEC_TOUCHRELAY
  1064. upload_port = ${common.ota_upload_port}
  1065. upload_flags = ${common.ota_upload_flags}
  1066. [env:allnet-4duino-iot-wlan-relais]
  1067. board = ${common.board_4m}
  1068. build_flags = ${common.build_flags_4m1m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  1069. [env:allnet-4duino-iot-wlan-relais-ota]
  1070. board = ${common.board_4m}
  1071. build_flags = ${common.build_flags_4m1m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  1072. upload_port = ${common.ota_upload_port}
  1073. upload_flags = ${common.ota_upload_flags}
  1074. [env:tonbux-mosquito-killer]
  1075. board = ${common.board_1m}
  1076. build_flags = ${common.build_flags_1m0m} -DTONBUX_MOSQUITO_KILLER
  1077. [env:tonbux-mosquito-killer-ota]
  1078. board = ${common.board_1m}
  1079. build_flags = ${common.build_flags_1m0m} -DTONBUX_MOSQUITO_KILLER
  1080. upload_port = ${common.ota_upload_port}
  1081. upload_flags = ${common.ota_upload_flags}
  1082. [env:pilotak-esp-din-v1]
  1083. board = ${common.board_1m}
  1084. build_flags = ${common.build_flags_1m0m} -DPILOTAK_ESP_DIN_V1
  1085. [env:pilotak-esp-din-v1-ota]
  1086. board = ${common.board_1m}
  1087. build_flags = ${common.build_flags_1m0m} -DPILOTAK_ESP_DIN_V1
  1088. upload_port = ${common.ota_upload_port}
  1089. upload_flags = ${common.ota_upload_flags}
  1090. [env:nodemcu-geiger]
  1091. board = ${common.board_4m}
  1092. build_flags = ${common.build_flags_4m1m} -DNODEMCU_BASIC -DGEIGER_SUPPORT=1 -DEVENTS_SUPPORT=0 -DINFLUXDB_SUPPORT=1 -DALEXA_SUPPORT=0 -DALEXA_ENABLED=0
  1093. [env:nodemcu-geiger-ota]
  1094. board = ${common.board_4m}
  1095. build_flags = ${common.build_flags_4m1m} -DNODEMCU_BASIC -DGEIGER_SUPPORT=1 -DEVENTS_SUPPORT=0 -DINFLUXDB_SUPPORT=1 -DALEXA_SUPPORT=0 -DALEXA_ENABLED=0
  1096. upload_port = ${common.ota_upload_port}
  1097. upload_flags = ${common.ota_upload_flags}
  1098. [env:blitzwolf-bwshpx]
  1099. board = ${common.board_1m}
  1100. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHPX
  1101. [env:blitzwolf-bwshpx-ota]
  1102. board = ${common.board_1m}
  1103. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHPX
  1104. upload_port = ${common.ota_upload_port}
  1105. upload_flags = ${common.ota_upload_flags}
  1106. [env:blitzwolf-bwshpx-v23]
  1107. board = ${common.board_1m}
  1108. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHPX_V23
  1109. [env:blitzwolf-bwshpx-v23-ota]
  1110. board = ${common.board_1m}
  1111. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHPX_V23
  1112. upload_port = ${common.ota_upload_port}
  1113. upload_flags = ${common.ota_upload_flags}
  1114. [env:blitzwolf-bwshp5]
  1115. board = ${common.board_1m}
  1116. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHP5
  1117. [env:blitzwolf-bwshp5-ota]
  1118. board = ${common.board_1m}
  1119. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHP5
  1120. upload_port = ${common.ota_upload_port}
  1121. upload_flags = ${common.ota_upload_flags}
  1122. [env:teckin-sp21]
  1123. board = ${common.board_1m}
  1124. build_flags = ${common.build_flags_1m0m} -DTECKIN_SP21
  1125. [env:teckin-sp21-ota]
  1126. board = ${common.board_1m}
  1127. build_flags = ${common.build_flags_1m0m} -DTECKIN_SP21
  1128. upload_port = ${common.ota_upload_port}
  1129. upload_flags = ${common.ota_upload_flags}
  1130. [env:teckin-sp22-v14]
  1131. board = ${common.board_1m}
  1132. build_flags = ${common.build_flags_1m0m} -DTECKIN_SP22_V14
  1133. [env:teckin-sp22-v14-ota]
  1134. board = ${common.board_1m}
  1135. build_flags = ${common.build_flags_1m0m} -DTECKIN_SP22_V14
  1136. upload_port = ${common.ota_upload_port}
  1137. upload_flags = ${common.ota_upload_flags}
  1138. [env:gosund-ws1]
  1139. board = ${common.board_1m}
  1140. build_flags = ${common.build_flags_1m0m} -DGOSUND_WS1
  1141. [env:gosund-ws1-ota]
  1142. board = ${common.board_1m}
  1143. build_flags = ${common.build_flags_1m0m} -DGOSUND_WS1
  1144. upload_port = ${common.ota_upload_port}
  1145. upload_flags = ${common.ota_upload_flags}
  1146. [env:digoo-nx-sp202]
  1147. board = ${common.board_1m}
  1148. build_flags = ${common.build_flags_1m0m} -DDIGOO_NX_SP202
  1149. [env:digoo-nx-sp202-ota]
  1150. board = ${common.board_1m}
  1151. build_flags = ${common.build_flags_1m0m} -DDIGOO_NX_SP202
  1152. upload_port = ${common.ota_upload_port}
  1153. upload_flags = ${common.ota_upload_flags}
  1154. [env:tflag-nx-smx00]
  1155. board = ${common.board_1m}
  1156. build_flags = ${common.build_flags_1m0m} -DTFLAG_NX_SMX00
  1157. [env:tflag-nx-smx00-ota]
  1158. board = ${common.board_1m}
  1159. build_flags = ${common.build_flags_1m0m} -DTFLAG_NX_SMX00
  1160. upload_port = ${common.ota_upload_port}
  1161. upload_flags = ${common.ota_upload_flags}
  1162. [env:homecube-16a]
  1163. board = ${common.board_1m}
  1164. build_flags = ${common.build_flags_1m0m} -DHOMECUBE_16A
  1165. [env:homecube-16a-ota]
  1166. board = ${common.board_1m}
  1167. build_flags = ${common.build_flags_1m0m} -DHOMECUBE_16A
  1168. upload_port = ${common.ota_upload_port}
  1169. upload_flags = ${common.ota_upload_flags}
  1170. [env:bh-onofre]
  1171. board = ${common.board_4m}
  1172. build_flags = ${common.build_flags_4m1m} -DBH_ONOFRE
  1173. [env:bh-onofre-ota]
  1174. board = ${common.board_4m}
  1175. build_flags = ${common.build_flags_4m1m} -DBH_ONOFRE
  1176. upload_port = ${common.ota_upload_port}
  1177. upload_flags = ${common.ota_upload_flags}
  1178. [env:generic-ag-l4]
  1179. board = ${common.board_1m}
  1180. build_flags = ${common.build_flags_1m0m} -DGENERIC_AG_L4
  1181. [env:generic-ag-l4-ota]
  1182. board = ${common.board_1m}
  1183. build_flags = ${common.build_flags_1m0m} -DGENERIC_AG_L4
  1184. upload_port = ${common.ota_upload_port}
  1185. upload_flags = ${common.ota_upload_flags}
  1186. [env:lohas-e27-9w]
  1187. board = ${common.board_1m}
  1188. build_flags = ${common.build_flags_1m0m} -DLOHAS_E27_9W
  1189. [env:lohas-e27-9w-ota]
  1190. board = ${common.board_1m}
  1191. build_flags = ${common.build_flags_1m0m} -DLOHAS_E27_9W
  1192. upload_port = ${common.ota_upload_port}
  1193. upload_flags = ${common.ota_upload_flags}
  1194. [env:lohas-e26-a19]
  1195. board = ${common.board_1m}
  1196. build_flags = ${common.build_flags_1m0m} -DLOHAS_E26_A19
  1197. [env:lohas-e26-a19-ota]
  1198. board = ${common.board_1m}
  1199. build_flags = ${common.build_flags_1m0m} -DLOHAS_E26_A19
  1200. upload_port = ${common.ota_upload_port}
  1201. upload_flags = ${common.ota_upload_flags}
  1202. [env:allterco-shelly1]
  1203. board = ${common.board_2m}
  1204. build_flags = ${common.build_flags_2m1m} -DALLTERCO_SHELLY1
  1205. [env:allterco-shelly1-ota]
  1206. board = ${common.board_2m}
  1207. build_flags = ${common.build_flags_2m1m} -DALLTERCO_SHELLY1
  1208. upload_port = ${common.ota_upload_port}
  1209. upload_flags = ${common.ota_upload_flags}
  1210. [env:allterco-shelly2]
  1211. board = ${common.board_2m}
  1212. build_flags = ${common.build_flags_2m1m} -DALLTERCO_SHELLY2
  1213. [env:allterco-shelly2-ota]
  1214. board = ${common.board_2m}
  1215. build_flags = ${common.build_flags_2m1m} -DALLTERCO_SHELLY2
  1216. upload_port = ${common.ota_upload_port}
  1217. upload_flags = ${common.ota_upload_flags}
  1218. [env:allterco-shelly1pm]
  1219. board = ${common.board_2m}
  1220. build_flags = ${common.build_flags_2m1m} -DALLTERCO_SHELLY1PM
  1221. [env:allterco-shelly1pm-ota]
  1222. board = ${common.board_2m}
  1223. build_flags = ${common.build_flags_2m1m} -DALLTERCO_SHELLY1PM
  1224. upload_port = ${common.ota_upload_port}
  1225. upload_flags = ${common.ota_upload_flags}
  1226. [env:allterco-shelly25]
  1227. board = ${common.board_2m}
  1228. build_flags = ${common.build_flags_2m1m} -DALLTERCO_SHELLY25
  1229. [env:allterco-shelly25-ota]
  1230. board = ${common.board_2m}
  1231. build_flags = ${common.build_flags_2m1m} -DALLTERCO_SHELLY25
  1232. upload_port = ${common.ota_upload_port}
  1233. upload_flags = ${common.ota_upload_flags}
  1234. [env:xiaomi-smart-desk-lamp]
  1235. board = ${common.board_1m}
  1236. build_flags = ${common.build_flags_1m0m} -DXIAOMI_SMART_DESK_LAMP
  1237. [env:xiaomi-smart-desk-lamp-ota]
  1238. board = ${common.board_1m}
  1239. build_flags = ${common.build_flags_1m0m} -DXIAOMI_SMART_DESK_LAMP
  1240. upload_port = ${common.ota_upload_port}
  1241. upload_flags = ${common.ota_upload_flags}
  1242. [env:phyx-esp12-rgb]
  1243. board = ${common.board_1m}
  1244. build_flags = ${common.build_flags_1m0m} -DPHYX_ESP12_RGB
  1245. [env:phyx-esp12-rgb-ota]
  1246. board = ${common.board_1m}
  1247. build_flags = ${common.build_flags_1m0m} -DPHYX_ESP12_RGB
  1248. upload_port = ${common.ota_upload_port}
  1249. upload_flags = ${common.ota_upload_flags}
  1250. [env:bestek-mrj1011]
  1251. board = ${common.board_1m}
  1252. build_flags = ${common.build_flags_1m0m} -DBESTEK_MRJ1011
  1253. [env:bestek-mrj1011-ota]
  1254. board = ${common.board_1m}
  1255. build_flags = ${common.build_flags_1m0m} -DBESTEK_MRJ1011
  1256. upload_port = ${common.ota_upload_port}
  1257. upload_flags = ${common.ota_upload_flags}
  1258. [env:gblife-rgbw-socket]
  1259. board = ${common.board_1m}
  1260. build_flags = ${common.build_flags_1m0m} -DGBLIFE_RGBW_SOCKET
  1261. [env:gblife-rgbw-socket-ota]
  1262. board = ${common.board_1m}
  1263. build_flags = ${common.build_flags_1m0m} -DGBLIFE_RGBW_SOCKET
  1264. upload_port = ${common.ota_upload_port}
  1265. upload_flags = ${common.ota_upload_flags}
  1266. [env:smartlife-mini-smart-socket]
  1267. board = ${common.board_1m}
  1268. build_flags = ${common.build_flags_1m0m} -DSMARTLIFE_MINI_SMART_SOCKET
  1269. [env:smartlife-mini-smart-socket-ota]
  1270. board = ${common.board_1m}
  1271. build_flags = ${common.build_flags_1m0m} -DSMARTLIFE_MINI_SMART_SOCKET
  1272. upload_port = ${common.ota_upload_port}
  1273. upload_flags = ${common.ota_upload_flags}
  1274. [env:hama-wifi-steckdose-00176533]
  1275. board = ${common.board_1m}
  1276. build_flags = ${common.build_flags_1m0m} -DHAMA_WIFI_STECKDOSE_00176533
  1277. [env:hama-wifi-steckdose-00176533-ota]
  1278. board = ${common.board_1m}
  1279. build_flags = ${common.build_flags_1m0m} -DHAMA_WIFI_STECKDOSE_00176533
  1280. upload_port = ${common.ota_upload_port}
  1281. upload_flags = ${common.ota_upload_flags}
  1282. [env:teckin-sp20]
  1283. board = ${common.board_1m}
  1284. build_flags = ${common.build_flags_1m0m} -DTECKIN_SP20
  1285. [env:teckin-sp20-ota]
  1286. board = ${common.board_1m}
  1287. build_flags = ${common.build_flags_1m0m} -DTECKIN_SP20
  1288. upload_port = ${common.ota_upload_port}
  1289. upload_flags = ${common.ota_upload_flags}
  1290. [env:litesun-la-wf3]
  1291. board = ${common.board_1m}
  1292. build_flags = ${common.build_flags_1m0m} -DLITESUN_LA_WF3
  1293. [env:litesun-la-wf3-ota]
  1294. board = ${common.board_1m}
  1295. build_flags = ${common.build_flags_1m0m} -DLITESUN_LA_WF3
  1296. upload_port = ${common.ota_upload_port}
  1297. upload_flags = ${common.ota_upload_flags}
  1298. [env:generic-gu10]
  1299. board = ${common.board_1m}
  1300. build_flags = ${common.build_flags_1m0m} -DGENERIC_GU10
  1301. [env:generic-gu10-ota]
  1302. board = ${common.board_1m}
  1303. build_flags = ${common.build_flags_1m0m} -DGENERIC_GU10
  1304. upload_port = ${common.ota_upload_port}
  1305. upload_flags = ${common.ota_upload_flags}
  1306. [env:generic-e14]
  1307. board = ${common.board_1m}
  1308. build_flags = ${common.build_flags_1m0m} -DGENERIC_E14
  1309. [env:generic-e14-ota]
  1310. board = ${common.board_1m}
  1311. build_flags = ${common.build_flags_1m0m} -DGENERIC_E14
  1312. upload_port = ${common.ota_upload_port}
  1313. upload_flags = ${common.ota_upload_flags}
  1314. [env:nexete-a19]
  1315. board = ${common.board_1m}
  1316. build_flags = ${common.build_flags_1m0m} -DNEXETE_A19
  1317. [env:generic-nexete-a19-ota]
  1318. board = ${common.board_1m}
  1319. build_flags = ${common.build_flags_1m0m} -DNEXETE_A19
  1320. upload_port = ${common.ota_upload_port}
  1321. upload_flags = ${common.ota_upload_flags}
  1322. [env:psh-wifi-plug]
  1323. board = ${common.board_1m}
  1324. build_flags = ${common.build_flags_1m0m} -DPSH_WIFI_PLUG
  1325. [env:psh-wifi-plug-ota]
  1326. board = ${common.board_1m}
  1327. build_flags = ${common.build_flags_1m0m} -DPSH_WIFI_PLUG
  1328. upload_port = ${common.ota_upload_port}
  1329. upload_flags = ${common.ota_upload_flags}
  1330. [env:psh-rgbw-controller]
  1331. board = ${common.board_4m}
  1332. build_flags = ${common.build_flags_4m1m} -DPSH_RGBW_CONTROLLER
  1333. [env:psh-rgbw-controller-ota]
  1334. board = ${common.board_4m}
  1335. build_flags = ${common.build_flags_4m1m} -DPSH_RGBW_CONTROLLER
  1336. upload_port = ${common.ota_upload_port}
  1337. upload_flags = ${common.ota_upload_flags}
  1338. [env:psh-wifi-sensor]
  1339. board = ${common.board_4m}
  1340. build_flags = ${common.build_flags_4m1m} -DPSH_WIFI_SENSOR
  1341. [env:psh-wifi-sensor-ota]
  1342. board = ${common.board_4m}
  1343. build_flags = ${common.build_flags_4m1m} -DPSH_WIFI_SENSOR
  1344. upload_port = ${common.ota_upload_port}
  1345. upload_flags = ${common.ota_upload_flags}
  1346. [env:jinvoo-valve-sm-aw713]
  1347. board = ${common.board_1m}
  1348. build_flags = ${common.build_flags_1m0m} -DJINVOO_VALVE_SM_AW713
  1349. [env:jinvoo-valve-sm-aw713-ota]
  1350. board = ${common.board_1m}
  1351. build_flags = ${common.build_flags_1m0m} -DJINVOO_VALVE_SM_AW713
  1352. upload_port = ${common.ota_upload_port}
  1353. upload_flags = ${common.ota_upload_flags}
  1354. [env:etekcity-esw01-usa]
  1355. board = ${common.board_1m}
  1356. build_flags = ${common.build_flags_1m0m} -DETEKCITY_ESW01_USA
  1357. [env:etekcity-esw01-usa-ota]
  1358. board = ${common.board_1m}
  1359. build_flags = ${common.build_flags_1m0m} -DETEKCITY_ESW01_USA
  1360. upload_port = ${common.ota_upload_port}
  1361. upload_flags = ${common.ota_upload_flags}
  1362. [env:fs-uap1]
  1363. board = ${common.board_4m}
  1364. build_flags = ${common.build_flags_4m1m} -DFS_UAP1
  1365. [env:fs-uap1-ota]
  1366. board = ${common.board_4m}
  1367. build_flags = ${common.build_flags_4m1m} -DFS_UAP1
  1368. upload_port = ${common.ota_upload_port}
  1369. upload_flags = ${common.ota_upload_flags}
  1370. [env:muvit-io-miobulb001]
  1371. board = ${common.board_1m}
  1372. build_flags = ${common.build_flags_1m0m} -DMUVIT_IO_MIOBULB001
  1373. [env:muvit-io-miobulb001-ota]
  1374. board = ${common.board_1m}
  1375. build_flags = ${common.build_flags_1m0m} -DMUVIT_IO_MIOBULB001
  1376. upload_port = ${common.ota_upload_port}
  1377. upload_flags = ${common.ota_upload_flags}
  1378. [env:hykker-smart-home-power-plug]
  1379. board = ${common.board_1m}
  1380. build_flags = ${common.build_flags_1m0m} -DHYKKER_SMART_HOME_POWER_PLUG
  1381. [env:hykker-smart-home-power-plug-ota]
  1382. board = ${common.board_1m}
  1383. build_flags = ${common.build_flags_1m0m} -DHYKKER_SMART_HOME_POWER_PLUG
  1384. upload_port = ${common.ota_upload_port}
  1385. upload_flags = ${common.ota_upload_flags}
  1386. [env:lsc-smart-led-light-strip]
  1387. board = ${common.board_1m}
  1388. build_flags = ${common.build_flags_1m0m} -DLSC_SMART_LED_LIGHT_STRIP
  1389. [env:lsc-smart-led-light-strip-ota]
  1390. board = ${common.board_1m}
  1391. build_flags = ${common.build_flags_1m0m} -DLSC_SMART_LED_LIGHT_STRIP
  1392. [env:linksprite-linknode-r4]
  1393. board = ${common.board_4m}
  1394. build_flags = ${common.build_flags_4m1m} -DLINKSPRITE_LINKNODE_R4
  1395. [env:linksprite-linknode-r4-ota]
  1396. board = ${common.board_4m}
  1397. build_flags = ${common.build_flags_4m1m} -DLINKSPRITE_LINKNODE_R4
  1398. upload_port = ${common.ota_upload_port}
  1399. upload_flags = ${common.ota_upload_flags}
  1400. [env:ehomediy-wt02]
  1401. board = ${common.board_1m}
  1402. build_flags = ${common.build_flags_1m0m} -DEHOMEDIY_WT02
  1403. [env:ehomediy-wt02-ota]
  1404. board = ${common.board_1m}
  1405. build_flags = ${common.build_flags_1m0m} -DEHOMEDIY_WT02
  1406. upload_port = ${common.ota_upload_port}
  1407. upload_flags = ${common.ota_upload_flags}
  1408. [env:ehomediy-wt03]
  1409. board = ${common.board_1m}
  1410. build_flags = ${common.build_flags_1m0m} -DEHOMEDIY_WT03
  1411. [env:ehomediy-wt03-ota]
  1412. board = ${common.board_1m}
  1413. build_flags = ${common.build_flags_1m0m} -DEHOMEDIY_WT03
  1414. upload_port = ${common.ota_upload_port}
  1415. upload_flags = ${common.ota_upload_flags}