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.

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