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.

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