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.

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