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.

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