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.

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