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.

1827 lines
59 KiB

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