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.

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