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.

1586 lines
52 KiB

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