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.

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