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.

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