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.

1571 lines
52 KiB

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