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.

1597 lines
52 KiB

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