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.

1657 lines
54 KiB

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