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.

1755 lines
57 KiB

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