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.

1525 lines
50 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_4_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_libdeps.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#05306e4
  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-ifan02]
  457. board = ${common.board_1m}
  458. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_IFAN02
  459. [env:itead-sonoff-ifan02-ota]
  460. board = ${common.board_1m}
  461. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_IFAN02
  462. upload_port = ${common.ota_upload_port}
  463. upload_flags = ${common.ota_upload_flags}
  464. # ------------------------------------------------------------------------------
  465. [env:electrodragon-wifi-iot]
  466. board = ${common.board_4m}
  467. build_flags = ${common.build_flags_4m1m} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  468. [env:electrodragon-wifi-iot-ota]
  469. board = ${common.board_4m}
  470. build_flags = ${common.build_flags_4m1m} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  471. upload_port = ${common.ota_upload_port}
  472. upload_flags = ${common.ota_upload_flags}
  473. [env:workchoice-ecoplug]
  474. board = ${common.board_1m}
  475. build_flags = ${common.build_flags_1m0m} -DWORKCHOICE_ECOPLUG
  476. [env:workchoice-ecoplug-ota]
  477. board = ${common.board_1m}
  478. build_flags = ${common.build_flags_1m0m} -DWORKCHOICE_ECOPLUG
  479. upload_port = ${common.ota_upload_port}
  480. upload_flags = ${common.ota_upload_flags}
  481. [env:jangoe-wifi-relay-nc]
  482. board = ${common.board_4m}
  483. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NC
  484. [env:jangoe-wifi-relay-nc-ota]
  485. board = ${common.board_4m}
  486. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NC
  487. upload_port = ${common.ota_upload_port}
  488. upload_flags = ${common.ota_upload_flags}
  489. [env:jangoe-wifi-relay-no]
  490. board = ${common.board_4m}
  491. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NO
  492. [env:jangoe-wifi-relay-no-ota]
  493. board = ${common.board_4m}
  494. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NO
  495. upload_port = ${common.ota_upload_port}
  496. upload_flags = ${common.ota_upload_flags}
  497. [env:openenergymonitor-mqtt-relay]
  498. board = ${common.board_4m}
  499. build_flags = ${common.build_flags_4m1m} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  500. [env:openenergymonitor-mqtt-relay-ota]
  501. board = ${common.board_4m}
  502. build_flags = ${common.build_flags_4m1m} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  503. upload_port = ${common.ota_upload_port}
  504. upload_flags = ${common.ota_upload_flags}
  505. [env:jorgegarcia-wifi-relays]
  506. board = ${common.board_1m}
  507. build_flags = ${common.build_flags_1m0m} -DJORGEGARCIA_WIFI_RELAYS
  508. [env:jorgegarcia-wifi-relays-ota]
  509. board = ${common.board_1m}
  510. build_flags = ${common.build_flags_1m0m} -DJORGEGARCIA_WIFI_RELAYS
  511. upload_port = ${common.ota_upload_port}
  512. upload_flags = ${common.ota_upload_flags}
  513. [env:aithinker-ai-light]
  514. board = ${common.board_1m}
  515. build_flags = ${common.build_flags_1m0m} -DAITHINKER_AI_LIGHT
  516. [env:aithinker-ai-light-ota]
  517. board = ${common.board_1m}
  518. build_flags = ${common.build_flags_1m0m} -DAITHINKER_AI_LIGHT
  519. upload_port = ${common.ota_upload_port}
  520. upload_flags = ${common.ota_upload_flags}
  521. [env:lyasi-rgb-light]
  522. board = ${common.board_1m}
  523. build_flags = ${common.build_flags_1m0m} -DLYASI_LIGHT
  524. [env:lyasi-rgb-light-ota]
  525. board = ${common.board_1m}
  526. build_flags = ${common.build_flags_1m0m} -DLYASI_LIGHT
  527. upload_port = ${common.ota_upload_port}
  528. upload_flags = ${common.ota_upload_flags}
  529. [env:magichome-led-controller]
  530. board = ${common.board_1m}
  531. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER
  532. [env:magichome-led-controller-ota]
  533. board = ${common.board_1m}
  534. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER
  535. upload_port = ${common.ota_upload_port}
  536. upload_flags = ${common.ota_upload_flags}
  537. [env:magichome-led-controller-20]
  538. board = ${common.board_1m}
  539. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER_20
  540. [env:magichome-led-controller-20-ota]
  541. board = ${common.board_1m}
  542. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER_20
  543. upload_port = ${common.ota_upload_port}
  544. upload_flags = ${common.ota_upload_flags}
  545. [env:magichome-zj-wfmn-a-11]
  546. board = ${common.board_1m}
  547. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_WFMN_A_11
  548. [env:magichome-zj-wfmn-a-11-ota]
  549. board = ${common.board_1m}
  550. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_WFMN_A_11
  551. upload_port = ${common.ota_upload_port}
  552. upload_flags = ${common.ota_upload_flags}
  553. [env:magichome-zj-wfmn-b-11]
  554. board = ${common.board_1m}
  555. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_WFMN_B_11
  556. [env:magichome-zj-wfmn-b-11-ota]
  557. board = ${common.board_1m}
  558. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_WFMN_B_11
  559. upload_port = ${common.ota_upload_port}
  560. upload_flags = ${common.ota_upload_flags}
  561. [env:magichome-zj-espm-5ch-b-13]
  562. board = ${common.board_1m}
  563. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_ESPM_5CH_B_13
  564. [env:magichome-zj-espm-5ch-b-13-ota]
  565. board = ${common.board_1m}
  566. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_ESPM_5CH_B_13
  567. upload_port = ${common.ota_upload_port}
  568. upload_flags = ${common.ota_upload_flags}
  569. [env:huacanxing-h801]
  570. board = ${common.board_1m}
  571. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H801
  572. [env:huacanxing-h801-ota]
  573. board = ${common.board_1m}
  574. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H801
  575. upload_port = ${common.ota_upload_port}
  576. upload_flags = ${common.ota_upload_flags}
  577. [env:huacanxing-h802]
  578. board = ${common.board_1m}
  579. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H802
  580. [env:huacanxing-h802-ota]
  581. board = ${common.board_1m}
  582. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H802
  583. upload_port = ${common.ota_upload_port}
  584. upload_flags = ${common.ota_upload_flags}
  585. [env:arilux-al-lc01]
  586. board = ${common.board_1m}
  587. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC01
  588. [env:arilux-al-lc01-ota]
  589. board = ${common.board_1m}
  590. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC01
  591. upload_port = ${common.ota_upload_port}
  592. upload_flags = ${common.ota_upload_flags}
  593. [env:arilux-al-lc02]
  594. board = ${common.board_1m}
  595. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02
  596. [env:arilux-al-lc02-ota]
  597. board = ${common.board_1m}
  598. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02
  599. upload_port = ${common.ota_upload_port}
  600. upload_flags = ${common.ota_upload_flags}
  601. [env:arilux-al-lc02-v14]
  602. board = ${common.board_1m}
  603. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02_V14
  604. [env:arilux-al-lc02-v14-ota]
  605. board = ${common.board_1m}
  606. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02_V14
  607. upload_port = ${common.ota_upload_port}
  608. upload_flags = ${common.ota_upload_flags}
  609. [env:arilux-al-lc06]
  610. board = ${common.board_1m}
  611. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC06
  612. [env:arilux-al-lc06-ota]
  613. board = ${common.board_1m}
  614. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC06
  615. upload_port = ${common.ota_upload_port}
  616. upload_flags = ${common.ota_upload_flags}
  617. [env:arilux-al-lc11]
  618. board = ${common.board_1m}
  619. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC11
  620. [env:arilux-al-lc11-ota]
  621. board = ${common.board_1m}
  622. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC11
  623. upload_port = ${common.ota_upload_port}
  624. upload_flags = ${common.ota_upload_flags}
  625. [env:arilux-e27]
  626. board = ${common.board_1m}
  627. build_flags = ${common.build_flags_1m0m} -DARILUX_E27
  628. [env:arilux-e27-ota]
  629. board = ${common.board_1m}
  630. build_flags = ${common.build_flags_1m0m} -DARILUX_E27
  631. upload_port = ${common.ota_upload_port}
  632. upload_flags = ${common.ota_upload_flags}
  633. [env:itead-bnsz01]
  634. board = ${common.board_1m}
  635. build_flags = ${common.build_flags_1m0m} -DITEAD_BNSZ01
  636. [env:itead-bnsz01-ota]
  637. board = ${common.board_1m}
  638. build_flags = ${common.build_flags_1m0m} -DITEAD_BNSZ01
  639. upload_port = ${common.ota_upload_port}
  640. upload_flags = ${common.ota_upload_flags}
  641. [env:wion-50055]
  642. board = ${common.board_1m}
  643. build_flags = ${common.build_flags_1m0m} -DWION_50055
  644. [env:wion-50055-ota]
  645. board = ${common.board_1m}
  646. build_flags = ${common.build_flags_1m0m} -DWION_50055
  647. upload_port = ${common.ota_upload_port}
  648. upload_flags = ${common.ota_upload_flags}
  649. [env:exs-wifi-relay-v31]
  650. board = ${common.board_4m}
  651. build_flags = ${common.build_flags_4m1m} -DEXS_WIFI_RELAY_V31
  652. [env:exs-wifi-relay-v31-ota]
  653. board = ${common.board_4m}
  654. build_flags = ${common.build_flags_4m1m} -DEXS_WIFI_RELAY_V31
  655. upload_port = ${common.ota_upload_port}
  656. upload_flags = ${common.ota_upload_flags}
  657. [env:exs-wifi-relay-v50]
  658. board = ${common.board_4m}
  659. build_flags = ${common.build_flags_4m1m} -DEXS_WIFI_RELAY_V50
  660. [env:exs-wifi-relay-v50-ota]
  661. board = ${common.board_4m}
  662. build_flags = ${common.build_flags_4m1m} -DEXS_WIFI_RELAY_V50
  663. upload_port = ${common.ota_upload_port}
  664. upload_flags = ${common.ota_upload_flags}
  665. [env:wemos-v9261f]
  666. board = ${common.board_4m}
  667. build_flags = ${common.build_flags_4m1m} -DGENERIC_V9261F
  668. [env:wemos-v9261f-ota]
  669. board = ${common.board_4m}
  670. build_flags = ${common.build_flags_4m1m} -DGENERIC_V9261F
  671. upload_port = ${common.ota_upload_port}
  672. upload_flags = ${common.ota_upload_flags}
  673. [env:esp01-v9261f]
  674. board = ${common.board_1m}
  675. build_flags = ${common.build_flags_1m0m} -DGENERIC_V9261F
  676. [env:esp01-v9261f-ota]
  677. board = ${common.board_1m}
  678. build_flags = ${common.build_flags_1m0m} -DGENERIC_V9261F
  679. upload_port = ${common.ota_upload_port}
  680. upload_flags = ${common.ota_upload_flags}
  681. [env:wemos-ech1560]
  682. board = ${common.board_4m}
  683. build_flags = ${common.build_flags_4m1m} -DGENERIC_ECH1560
  684. [env:wemos-ech1560-ota]
  685. board = ${common.board_4m}
  686. build_flags = ${common.build_flags_4m1m} -DGENERIC_ECH1560
  687. upload_port = ${common.ota_upload_port}
  688. upload_flags = ${common.ota_upload_flags}
  689. [env:esp01-ech1560]
  690. board = ${common.board_1m}
  691. build_flags = ${common.build_flags_1m0m} -DGENERIC_ECH1560
  692. [env:esp01-ech1560-ota]
  693. board = ${common.board_1m}
  694. build_flags = ${common.build_flags_1m0m} -DGENERIC_ECH1560
  695. upload_port = ${common.ota_upload_port}
  696. upload_flags = ${common.ota_upload_flags}
  697. [env:mancavemade-esplive]
  698. board = ${common.board_4m}
  699. build_flags = ${common.build_flags_4m1m} -DMANCAVEMADE_ESPLIVE
  700. [env:mancavemade-esplive-ota]
  701. board = ${common.board_4m}
  702. build_flags = ${common.build_flags_4m1m} -DMANCAVEMADE_ESPLIVE
  703. upload_port = ${common.ota_upload_port}
  704. upload_flags = ${common.ota_upload_flags}
  705. [env:intermittech-quinled]
  706. board = ${common.board_1m}
  707. build_flags = ${common.build_flags_1m0m} -DINTERMITTECH_QUINLED
  708. [env:intermittech-quinled-ota]
  709. board = ${common.board_1m}
  710. build_flags = ${common.build_flags_1m0m} -DINTERMITTECH_QUINLED
  711. upload_port = ${common.ota_upload_port}
  712. upload_flags = ${common.ota_upload_flags}
  713. [env:xenon-sm-pw702u]
  714. board = ${common.board_1m}
  715. build_flags = ${common.build_flags_1m0m} -DXENON_SM_PW702U
  716. [env:xenon-sm-pw702u-ota]
  717. board = ${common.board_1m}
  718. build_flags = ${common.build_flags_1m0m} -DXENON_SM_PW702U
  719. upload_port = ${common.ota_upload_port}
  720. upload_flags = ${common.ota_upload_flags}
  721. [env:authometion-lyt8266]
  722. board = ${common.board_1m}
  723. build_flags = ${common.build_flags_1m0m} -DAUTHOMETION_LYT8266
  724. [env:authometion-lyt8266-ota]
  725. board = ${common.board_1m}
  726. build_flags = ${common.build_flags_1m0m} -DAUTHOMETION_LYT8266
  727. upload_port = ${common.ota_upload_port}
  728. upload_flags = ${common.ota_upload_flags}
  729. [env:kmc-70011]
  730. board = ${common.board_1m}
  731. build_flags = ${common.build_flags_1m0m} -DKMC_70011
  732. [env:kmc-70011-ota]
  733. board = ${common.board_1m}
  734. build_flags = ${common.build_flags_1m0m} -DKMC_70011
  735. upload_port = ${common.ota_upload_port}
  736. upload_flags = ${common.ota_upload_flags}
  737. [env:yjzk-switch-1ch]
  738. board = ${common.board_1m}
  739. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_1CH
  740. [env:yjzk-switch-1ch-ota]
  741. board = ${common.board_1m}
  742. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_1CH
  743. upload_port = ${common.ota_upload_port}
  744. upload_flags = ${common.ota_upload_flags}
  745. [env:yjzk-switch-2ch]
  746. board = ${common.board_1m}
  747. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_2CH
  748. [env:yjzk-switch-2ch-ota]
  749. board = ${common.board_1m}
  750. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_2CH
  751. upload_port = ${common.ota_upload_port}
  752. upload_flags = ${common.ota_upload_flags}
  753. [env:yjzk-switch-3ch]
  754. board = ${common.board_1m}
  755. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_3CH
  756. [env:yjzk-switch-3ch-ota]
  757. board = ${common.board_1m}
  758. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_3CH
  759. upload_port = ${common.ota_upload_port}
  760. upload_flags = ${common.ota_upload_flags}
  761. [env:generic-8ch]
  762. board = ${common.board_4m}
  763. build_flags = ${common.build_flags_4m1m} -DGENERIC_8CH
  764. [env:gizwits-witty-cloud]
  765. board = ${common.board_4m}
  766. build_flags = ${common.build_flags_4m1m} -DGIZWITS_WITTY_CLOUD
  767. [env:gizwits-witty-cloud-ota]
  768. board = ${common.board_4m}
  769. build_flags = ${common.build_flags_4m1m} -DGIZWITS_WITTY_CLOUD
  770. upload_port = ${common.ota_upload_port}
  771. upload_flags = ${common.ota_upload_flags}
  772. [env:euromate-wifi-stecker-shuko]
  773. board = ${common.board_1m}
  774. build_flags = ${common.build_flags_1m0m} -DEUROMATE_WIFI_STECKER_SCHUKO
  775. [env:euromate-wifi-stecker-shuko-ota]
  776. board = ${common.board_1m}
  777. build_flags = ${common.build_flags_1m0m} -DEUROMATE_WIFI_STECKER_SCHUKO
  778. upload_port = ${common.ota_upload_port}
  779. upload_flags = ${common.ota_upload_flags}
  780. [env:euromate-wifi-stecker-shuko-v2]
  781. board = ${common.board_2m}
  782. build_flags = ${common.build_flags_2m1m} -DEUROMATE_WIFI_STECKER_SCHUKO_V2
  783. [env:euromate-wifi-stecker-shuko-v2-ota]
  784. board = ${common.board_2m}
  785. build_flags = ${common.build_flags_2m1m} -DEUROMATE_WIFI_STECKER_SCHUKO_V2
  786. upload_port = ${common.ota_upload_port}
  787. upload_flags = ${common.ota_upload_flags}
  788. [env:tonbux-powerstrip02]
  789. board = ${common.board_1m}
  790. build_flags = ${common.build_flags_1m0m} -DTONBUX_POWERSTRIP02
  791. [env:tonbux-powerstrip02-ota]
  792. board = ${common.board_1m}
  793. build_flags = ${common.build_flags_1m0m} -DTONBUX_POWERSTRIP02
  794. upload_port = ${common.ota_upload_port}
  795. upload_flags = ${common.ota_upload_flags}
  796. [env:lingan-swa1]
  797. board = ${common.board_1m}
  798. build_flags = ${common.build_flags_1m0m} -DLINGAN_SWA1
  799. [env:lingan-swa1-ota]
  800. board = ${common.board_1m}
  801. build_flags = ${common.build_flags_1m0m} -DLINGAN_SWA1
  802. upload_port = ${common.ota_upload_port}
  803. upload_flags = ${common.ota_upload_flags}
  804. [env:stm-relay]
  805. board = ${common.board_1m}
  806. build_flags = ${common.build_flags_1m0m} -DSTM_RELAY -DDISABLE_POSTMORTEM_STACKDUMP
  807. [env:stm-relay-ota]
  808. board = ${common.board_1m}
  809. build_flags = ${common.build_flags_1m0m} -DSTM_RELAY -DDISABLE_POSTMORTEM_STACKDUMP
  810. upload_port = ${common.ota_upload_port}
  811. upload_flags = ${common.ota_upload_flags}
  812. [env:heygo-hy02]
  813. board = ${common.board_1m}
  814. build_flags = ${common.build_flags_1m0m} -DHEYGO_HY02
  815. [env:heygo-hy02-ota]
  816. board = ${common.board_1m}
  817. build_flags = ${common.build_flags_1m0m} -DHEYGO_HY02
  818. upload_port = ${common.ota_upload_port}
  819. upload_flags = ${common.ota_upload_flags}
  820. [env:maxcio-wus002s]
  821. board = ${common.board_1m}
  822. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WUS002S
  823. [env:maxcio-wus002s-ota]
  824. board = ${common.board_1m}
  825. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WUS002S
  826. upload_port = ${common.ota_upload_port}
  827. upload_flags = ${common.ota_upload_flags}
  828. [env:maxcio-wde004]
  829. board = ${common.board_1m}
  830. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WDE004
  831. [env:maxcio-wde004-ota]
  832. board = ${common.board_1m}
  833. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WDE004
  834. upload_port = ${common.ota_upload_port}
  835. upload_flags = ${common.ota_upload_flags}
  836. [env:yidian-xsssa05]
  837. board = ${common.board_1m}
  838. build_flags = ${common.build_flags_1m0m} -DYIDIAN_XSSSA05
  839. [env:yidian-xsssa05-ota]
  840. board = ${common.board_1m}
  841. build_flags = ${common.build_flags_1m0m} -DYIDIAN_XSSSA05
  842. upload_port = ${common.ota_upload_port}
  843. upload_flags = ${common.ota_upload_flags}
  844. [env:oukitel-p1]
  845. board = ${common.board_1m}
  846. build_flags = ${common.build_flags_1m0m} -DOUKITEL_P1
  847. [env:oukitel-p1-ota]
  848. board = ${common.board_1m}
  849. build_flags = ${common.build_flags_1m0m} -DOUKITEL_P1
  850. upload_port = ${common.ota_upload_port}
  851. upload_flags = ${common.ota_upload_flags}
  852. [env:tonbux-xsssa01]
  853. board = ${common.board_1m}
  854. build_flags = ${common.build_flags_4m1m} -DTONBUX_XSSSA01
  855. [env:tonbux-xsssa01-ota]
  856. board = ${common.board_1m}
  857. build_flags = ${common.build_flags_4m1m} -DTONBUX_XSSSA01
  858. upload_port = ${common.ota_upload_port}
  859. upload_flags = ${common.ota_upload_flags}
  860. [env:tonbux-xsssa06]
  861. board = ${common.board_1m}
  862. build_flags = ${common.build_flags_1m0m} -DTONBUX_XSSSA06
  863. [env:tonbux-xsssa06-ota]
  864. board = ${common.board_1m}
  865. build_flags = ${common.build_flags_1m0m} -DTONBUX_XSSSA06
  866. upload_port = ${common.ota_upload_port}
  867. upload_flags = ${common.ota_upload_flags}
  868. [env:green-esp8266relay]
  869. board = ${common.board_4m}
  870. build_flags = ${common.build_flags_4m1m} -DGREEN_ESP8266RELAY
  871. [env:green-esp8266relay-ota]
  872. board = ${common.board_4m}
  873. build_flags = ${common.build_flags_4m1m} -DGREEN_ESP8266RELAY
  874. upload_port = ${common.ota_upload_port}
  875. upload_flags = ${common.ota_upload_flags}
  876. [env:ike-espike]
  877. board = ${common.board_4m}
  878. build_flags = ${common.build_flags_4m1m} -DIKE_ESPIKE
  879. [env:ike-espike-ota]
  880. board = ${common.board_4m}
  881. build_flags = ${common.build_flags_4m1m} -DIKE_ESPIKE
  882. upload_port = ${common.ota_upload_port}
  883. upload_flags = ${common.ota_upload_flags}
  884. [env:arniex-swifitch]
  885. board = ${common.board_4m}
  886. build_flags = ${common.build_flags_4m1m} -DARNIEX_SWIFITCH
  887. [env:arniex-swifitch-ota]
  888. board = ${common.board_4m}
  889. build_flags = ${common.build_flags_4m1m} -DARNIEX_SWIFITCH
  890. upload_port = ${common.ota_upload_port}
  891. upload_flags = ${common.ota_upload_flags}
  892. [env:zhilde-eu44-w]
  893. board = ${common.board_1m}
  894. build_flags = ${common.build_flags_1m0m} -DZHILDE_EU44_W
  895. [env:zhilde-eu44-w-ota]
  896. board = ${common.board_1m}
  897. build_flags = ${common.build_flags_1m0m} -DZHILDE_EU44_W
  898. upload_port = ${common.ota_upload_port}
  899. upload_flags = ${common.ota_upload_flags}
  900. [env:luani-hvio]
  901. board = ${common.board_1m}
  902. build_flags = ${common.build_flags_1m0m} -DLUANI_HVIO
  903. [env:luani-hvio-ota]
  904. board = ${common.board_1m}
  905. build_flags = ${common.build_flags_1m0m} -DLUANI_HVIO
  906. upload_port = ${common.ota_upload_port}
  907. upload_flags = ${common.ota_upload_flags}
  908. [env:neo-coolcam-power-plug-wifi]
  909. board = ${common.board_1m}
  910. build_flags = ${common.build_flags_1m0m} -DNEO_COOLCAM_NAS_WR01W
  911. [env:neo-coolcam-power-plug-wifi-ota]
  912. board = ${common.board_1m}
  913. build_flags = ${common.build_flags_1m0m} -DNEO_COOLCAM_NAS_WR01W
  914. upload_port = ${common.ota_upload_port}
  915. upload_flags = ${common.ota_upload_flags}
  916. [env:estink-wifi-power-strip]
  917. board = ${common.board_1m}
  918. build_flags = ${common.build_flags_1m0m} -DFORNORM_ZLD_34EU
  919. [env:estink-wifi-power-strip-ota]
  920. board = ${common.board_1m}
  921. build_flags = ${common.build_flags_1m0m} -DFORNORM_ZLD_34EU
  922. upload_port = ${common.ota_upload_port}
  923. upload_flags = ${common.ota_upload_flags}
  924. [env:iwoole-led-table-lamp]
  925. board = ${common.board_1m}
  926. build_flags = ${common.build_flags_1m0m} -DIWOOLE_LED_TABLE_LAMP
  927. [env:iwoole-led-table-lamp-ota]
  928. board = ${common.board_1m}
  929. build_flags = ${common.build_flags_1m0m} -DIWOOLE_LED_TABLE_LAMP
  930. upload_port = ${common.ota_upload_port}
  931. upload_flags = ${common.ota_upload_flags}
  932. [env:lombex-lux-nova2-tunable-white]
  933. board = ${common.board_1m}
  934. build_flags = ${common.build_flags_1m0m} -DLOMBEX_LUX_NOVA2_TUNABLE_WHITE
  935. [env:lombex-lux-nova2-tunable-white-ota]
  936. board = ${common.board_1m}
  937. build_flags = ${common.build_flags_1m0m} -DLOMBEX_LUX_NOVA2_TUNABLE_WHITE
  938. upload_port = ${common.ota_upload_port}
  939. upload_flags = ${common.ota_upload_flags}
  940. [env:lombex-lux-nova2-white-color]
  941. board = ${common.board_1m}
  942. build_flags = ${common.build_flags_1m0m} -DLOMBEX_LUX_NOVA2_WHITE_COLOR
  943. [env:lombex-lux-nova2-white-color-ota]
  944. board = ${common.board_1m}
  945. build_flags = ${common.build_flags_1m0m} -DLOMBEX_LUX_NOVA2_WHITE_COLOR
  946. upload_port = ${common.ota_upload_port}
  947. upload_flags = ${common.ota_upload_flags}
  948. # ------------------------------------------------------------------------------
  949. # GENERIC OTA ENVIRONMENTS
  950. # ------------------------------------------------------------------------------
  951. [env:generic-esp01s-relay-40]
  952. board = ${common.board_1m}
  953. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40
  954. [env:generic-esp01s-relay-40-inv]
  955. board = ${common.board_1m}
  956. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40 -DRELAY1_TYPE=1
  957. [env:generic-esp01s-relay-40-ota]
  958. board = ${common.board_1m}
  959. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40
  960. upload_port = ${common.ota_upload_port}
  961. upload_flags = ${common.ota_upload_flags}
  962. [env:generic-esp01s-relay-40-inv-ota]
  963. board = ${common.board_1m}
  964. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40 -DRELAY1_TYPE=1
  965. upload_port = ${common.ota_upload_port}
  966. upload_flags = ${common.ota_upload_flags}
  967. [env:generic-esp01s-rgbled-10]
  968. board = ${common.board_1m}
  969. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RGBLED_V10
  970. [env:generic-esp01s-rgbled-10-ota]
  971. board = ${common.board_1m}
  972. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RGBLED_V10
  973. upload_port = ${common.ota_upload_port}
  974. upload_flags = ${common.ota_upload_flags}
  975. [env:generic-esp01s-dht11-10]
  976. board = ${common.board_1m}
  977. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DHT11_V10
  978. [env:generic-esp01s-dht11-10-ota]
  979. board = ${common.board_1m}
  980. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DHT11_V10
  981. upload_port = ${common.ota_upload_port}
  982. upload_flags = ${common.ota_upload_flags}
  983. [env:generic-esp01s-ds18b20-10]
  984. board = ${common.board_1m}
  985. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DS18B20_V10
  986. [env:generic-esp01s-ds18b20-10-ota]
  987. board = ${common.board_1m}
  988. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DS18B20_V10
  989. upload_port = ${common.ota_upload_port}
  990. upload_flags = ${common.ota_upload_flags}
  991. [env:heltec-touch-relay]
  992. board = ${common.board_1m}
  993. build_flags = ${common.build_flags_1m0m} -DHELTEC_TOUCHRELAY
  994. [env:heltec-touch-relay-ota]
  995. board = ${common.board_1m}
  996. build_flags = ${common.build_flags_1m0m} -DHELTEC_TOUCHRELAY
  997. upload_port = ${common.ota_upload_port}
  998. upload_flags = ${common.ota_upload_flags}
  999. [env:allnet-4duino-iot-wlan-relais]
  1000. board = ${common.board_4m}
  1001. build_flags = ${common.build_flags_4m1m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  1002. [env:allnet-4duino-iot-wlan-relais-ota]
  1003. board = ${common.board_4m}
  1004. build_flags = ${common.build_flags_4m1m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  1005. upload_port = ${common.ota_upload_port}
  1006. upload_flags = ${common.ota_upload_flags}
  1007. [env:tonbux-mosquito-killer]
  1008. board = ${common.board_1m}
  1009. build_flags = ${common.build_flags_1m0m} -DTONBUX_MOSQUITO_KILLER
  1010. [env:tonbux-mosquito-killer-ota]
  1011. board = ${common.board_1m}
  1012. build_flags = ${common.build_flags_1m0m} -DTONBUX_MOSQUITO_KILLER
  1013. upload_port = ${common.ota_upload_port}
  1014. upload_flags = ${common.ota_upload_flags}
  1015. [env:pilotak-esp-din-v1]
  1016. board = ${common.board_1m}
  1017. build_flags = ${common.build_flags_1m0m} -DPILOTAK_ESP_DIN_V1
  1018. [env:pilotak-esp-din-v1-ota]
  1019. board = ${common.board_1m}
  1020. build_flags = ${common.build_flags_1m0m} -DPILOTAK_ESP_DIN_V1
  1021. upload_port = ${common.ota_upload_port}
  1022. upload_flags = ${common.ota_upload_flags}
  1023. [env:nodemcu-geiger]
  1024. board = ${common.board_4m}
  1025. build_flags = ${common.build_flags_4m1m} -DNODEMCU_BASIC -DGEIGER_SUPPORT=1 -DEVENTS_SUPPORT=0 -DINFLUXDB_SUPPORT=1 -DALEXA_SUPPORT=0 -DALEXA_ENABLED=0
  1026. [env:nodemcu-geiger-ota]
  1027. board = ${common.board_4m}
  1028. build_flags = ${common.build_flags_4m1m} -DNODEMCU_BASIC -DGEIGER_SUPPORT=1 -DEVENTS_SUPPORT=0 -DINFLUXDB_SUPPORT=1 -DALEXA_SUPPORT=0 -DALEXA_ENABLED=0
  1029. upload_port = ${common.ota_upload_port}
  1030. upload_flags = ${common.ota_upload_flags}
  1031. [env:blitzwolf-bwshpx]
  1032. board = ${common.board_1m}
  1033. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHPX
  1034. [env:blitzwolf-bwshpx-ota]
  1035. board = ${common.board_1m}
  1036. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHPX
  1037. upload_port = ${common.ota_upload_port}
  1038. upload_flags = ${common.ota_upload_flags}
  1039. [env:blitzwolf-bwshpx-v23]
  1040. board = ${common.board_1m}
  1041. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHPX_V23
  1042. [env:blitzwolf-bwshpx-v23-ota]
  1043. board = ${common.board_1m}
  1044. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHPX_V23
  1045. upload_port = ${common.ota_upload_port}
  1046. upload_flags = ${common.ota_upload_flags}
  1047. [env:teckin-sp22-v14]
  1048. board = ${common.board_1m}
  1049. build_flags = ${common.build_flags_1m0m} -DTECKIN_SP22_V14
  1050. [env:teckin-sp22-v14-ota]
  1051. board = ${common.board_1m}
  1052. build_flags = ${common.build_flags_1m0m} -DTECKIN_SP22_V14
  1053. upload_port = ${common.ota_upload_port}
  1054. upload_flags = ${common.ota_upload_flags}
  1055. [env:gosund-ws1]
  1056. board = ${common.board_1m}
  1057. build_flags = ${common.build_flags_1m0m} -DGOSUND_WS1
  1058. [env:gosund-ws1-ota]
  1059. board = ${common.board_1m}
  1060. build_flags = ${common.build_flags_1m0m} -DGOSUND_WS1
  1061. upload_port = ${common.ota_upload_port}
  1062. upload_flags = ${common.ota_upload_flags}
  1063. [env:digoo-nx-sp202]
  1064. board = ${common.board_1m}
  1065. build_flags = ${common.build_flags_1m0m} -DDIGOO_NX_SP202
  1066. [env:digoo-nx-sp202-ota]
  1067. board = ${common.board_1m}
  1068. build_flags = ${common.build_flags_1m0m} -DDIGOO_NX_SP202
  1069. upload_port = ${common.ota_upload_port}
  1070. upload_flags = ${common.ota_upload_flags}
  1071. [env:homecube-16a]
  1072. board = ${common.board_1m}
  1073. build_flags = ${common.build_flags_1m0m} -DHOMECUBE_16A
  1074. [env:homecube-16a-ota]
  1075. board = ${common.board_1m}
  1076. build_flags = ${common.build_flags_1m0m} -DHOMECUBE_16A
  1077. upload_port = ${common.ota_upload_port}
  1078. upload_flags = ${common.ota_upload_flags}
  1079. [env:bh-onofre]
  1080. board = ${common.board_4m}
  1081. build_flags = ${common.build_flags_4m1m} -DBH_ONOFRE
  1082. [env:bh-onofre-ota]
  1083. board = ${common.board_4m}
  1084. build_flags = ${common.build_flags_4m1m} -DBH_ONOFRE
  1085. upload_port = ${common.ota_upload_port}
  1086. upload_flags = ${common.ota_upload_flags}
  1087. [env:generic-ag-l4]
  1088. board = ${common.board_1m}
  1089. build_flags = ${common.build_flags_1m0m} -DGENERIC_AG_L4
  1090. [env:generic-ag-l4-ota]
  1091. board = ${common.board_1m}
  1092. build_flags = ${common.build_flags_1m0m} -DGENERIC_AG_L4
  1093. upload_port = ${common.ota_upload_port}
  1094. upload_flags = ${common.ota_upload_flags}
  1095. [env:lohas-e27-9w]
  1096. board = ${common.board_1m}
  1097. build_flags = ${common.build_flags_1m0m} -DLOHAS_9W
  1098. [env:lohas-e27-9w-ota]
  1099. board = ${common.board_1m}
  1100. build_flags = ${common.build_flags_1m0m} -DLOHAS_9W
  1101. upload_port = ${common.ota_upload_port}
  1102. upload_flags = ${common.ota_upload_flags}
  1103. [env:allterco-shelly1]
  1104. board = ${common.board_2m}
  1105. build_flags = ${common.build_flags_2m1m} -DALLTERCO_SHELLY1
  1106. [env:allterco-shelly1-ota]
  1107. board = ${common.board_2m}
  1108. build_flags = ${common.build_flags_2m1m} -DALLTERCO_SHELLY1
  1109. upload_port = ${common.ota_upload_port}
  1110. upload_flags = ${common.ota_upload_flags}
  1111. [env:allterco-shelly2]
  1112. board = ${common.board_2m}
  1113. build_flags = ${common.build_flags_2m1m} -DALLTERCO_SHELLY2
  1114. [env:allterco-shelly2-ota]
  1115. board = ${common.board_2m}
  1116. build_flags = ${common.build_flags_2m1m} -DALLTERCO_SHELLY2
  1117. upload_port = ${common.ota_upload_port}
  1118. upload_flags = ${common.ota_upload_flags}
  1119. [env:xiaomi-smart-desk-lamp]
  1120. board = ${common.board_1m}
  1121. build_flags = ${common.build_flags_1m0m} -DXIAOMI_SMART_DESK_LAMP
  1122. [env:xiaomi-smart-desk-lamp-ota]
  1123. board = ${common.board_1m}
  1124. build_flags = ${common.build_flags_1m0m} -DXIAOMI_SMART_DESK_LAMP
  1125. upload_port = ${common.ota_upload_port}
  1126. upload_flags = ${common.ota_upload_flags}
  1127. [env:phyx-esp12-rgb]
  1128. board = ${common.board_1m}
  1129. build_flags = ${common.build_flags_1m0m} -DPHYX_ESP12_RGB
  1130. [env:phyx-esp12-rgb-ota]
  1131. board = ${common.board_1m}
  1132. build_flags = ${common.build_flags_1m0m} -DPHYX_ESP12_RGB
  1133. upload_port = ${common.ota_upload_port}
  1134. upload_flags = ${common.ota_upload_flags}
  1135. [env:bestek-mrj1011]
  1136. board = ${common.board_1m}
  1137. build_flags = ${common.build_flags_1m0m} -DBESTEK_MRJ1011
  1138. [env:bestek-mrj1011-ota]
  1139. board = ${common.board_1m}
  1140. build_flags = ${common.build_flags_1m0m} -DBESTEK_MRJ1011
  1141. upload_port = ${common.ota_upload_port}
  1142. upload_flags = ${common.ota_upload_flags}
  1143. [env:gblife-rgbw-socket]
  1144. board = ${common.board_1m}
  1145. build_flags = ${common.build_flags_1m0m} -DGBLIFE_RGBW_SOCKET
  1146. [env:gblife-rgbw-socket-ota]
  1147. board = ${common.board_1m}
  1148. build_flags = ${common.build_flags_1m0m} -DGBLIFE_RGBW_SOCKET
  1149. upload_port = ${common.ota_upload_port}
  1150. upload_flags = ${common.ota_upload_flags}
  1151. [env:smartlife-mini-smart-socket]
  1152. board = ${common.board_1m}
  1153. build_flags = ${common.build_flags_1m0m} -DSMARTLIFE_MINI_SMART_SOCKET
  1154. [env:smartlife-mini-smart-socket-ota]
  1155. board = ${common.board_1m}
  1156. build_flags = ${common.build_flags_1m0m} -DSMARTLIFE_MINI_SMART_SOCKET
  1157. upload_port = ${common.ota_upload_port}
  1158. upload_flags = ${common.ota_upload_flags}
  1159. [env:hama-wifi-steckdose-00176533]
  1160. board = ${common.board_1m}
  1161. build_flags = ${common.build_flags_1m0m} -DHAMA_WIFI_STECKDOSE_00176533
  1162. [env:hama-wifi-steckdose-00176533-ota]
  1163. board = ${common.board_1m}
  1164. build_flags = ${common.build_flags_1m0m} -DHAMA_WIFI_STECKDOSE_00176533
  1165. upload_port = ${common.ota_upload_port}
  1166. upload_flags = ${common.ota_upload_flags}
  1167. [env:teckin-sp20]
  1168. board = ${common.board_1m}
  1169. build_flags = ${common.build_flags_1m0m} -DTECKIN_SP20
  1170. [env:teckin-sp20-ota]
  1171. board = ${common.board_1m}
  1172. build_flags = ${common.build_flags_1m0m} -DTECKIN_SP20
  1173. upload_port = ${common.ota_upload_port}
  1174. upload_flags = ${common.ota_upload_flags}
  1175. [env:litesun-la-wf3]
  1176. board = ${common.board_1m}
  1177. build_flags = ${common.build_flags_1m0m} -DLITESUN_LA_WF3
  1178. [env:litesun-la-wf3-ota]
  1179. board = ${common.board_1m}
  1180. build_flags = ${common.build_flags_1m0m} -DLITESUN_LA_WF3
  1181. upload_port = ${common.ota_upload_port}
  1182. upload_flags = ${common.ota_upload_flags}
  1183. [env:generic-gu10]
  1184. board = ${common.board_1m}
  1185. build_flags = ${common.build_flags_1m0m} -DGENERIC_GU10
  1186. [env:generic-gu10-ota]
  1187. board = ${common.board_1m}
  1188. build_flags = ${common.build_flags_1m0m} -DGENERIC_GU10
  1189. upload_port = ${common.ota_upload_port}
  1190. upload_flags = ${common.ota_upload_flags}
  1191. [env:nexete-a19]
  1192. board = ${common.board_1m}
  1193. build_flags = ${common.build_flags_1m0m} -DNEXETE_A19
  1194. [env:generic-nexete-a19-ota]
  1195. board = ${common.board_1m}
  1196. build_flags = ${common.build_flags_1m0m} -DNEXETE_A19
  1197. upload_port = ${common.ota_upload_port}
  1198. upload_flags = ${common.ota_upload_flags}
  1199. [env:psh-wifi-plug]
  1200. board = ${common.board_1m}
  1201. build_flags = ${common.build_flags_1m0m} -DPSH_WIFI_PLUG
  1202. [env:psh-wifi-plug-ota]
  1203. board = ${common.board_1m}
  1204. build_flags = ${common.build_flags_1m0m} -DPSH_WIFI_PLUG
  1205. upload_port = ${common.ota_upload_port}
  1206. upload_flags = ${common.ota_upload_flags}
  1207. [env:psh-rgbw-controller]
  1208. board = ${common.board_4m}
  1209. build_flags = ${common.build_flags_4m1m} -DPSH_RGBW_CONTROLLER
  1210. [env:psh-rgbw-controller-ota]
  1211. board = ${common.board_4m}
  1212. build_flags = ${common.build_flags_4m1m} -DPSH_RGBW_CONTROLLER
  1213. upload_port = ${common.ota_upload_port}
  1214. upload_flags = ${common.ota_upload_flags}
  1215. [env:psh-wifi-sensor]
  1216. board = ${common.board_4m}
  1217. build_flags = ${common.build_flags_4m1m} -DPSH_WIFI_SENSOR
  1218. [env:psh-wifi-sensor-ota]
  1219. board = ${common.board_4m}
  1220. build_flags = ${common.build_flags_4m1m} -DPSH_WIFI_SENSOR
  1221. upload_port = ${common.ota_upload_port}
  1222. upload_flags = ${common.ota_upload_flags}
  1223. [env:jinvoo-valve-sm-aw713]
  1224. board = ${common.board_1m}
  1225. build_flags = ${common.build_flags_1m0m} -DJINVOO_VALVE_SM_AW713
  1226. [env:jinvoo-valve-sm-aw713-ota]
  1227. board = ${common.board_1m}
  1228. build_flags = ${common.build_flags_1m0m} -DJINVOO_VALVE_SM_AW713
  1229. upload_port = ${common.ota_upload_port}
  1230. upload_flags = ${common.ota_upload_flags}