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.

1587 lines
52 KiB

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