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.

1639 lines
54 KiB

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