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.

2448 lines
83 KiB

  1. [platformio]
  2. env_default = 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 platformIO 1.5.0 as default
  10. #
  11. # platformIO 1.5.0 = arduino core 2.3.0
  12. # platformIO 1.6.0 = arduino core 2.4.0
  13. # platformIO 1.7.3 = arduino core 2.4.1
  14. # ------------------------------------------------------------------------------
  15. platform_150 = espressif8266@1.5.0
  16. platform_160 = espressif8266@1.6.0
  17. platform_173 = espressif8266@1.7.3
  18. platform = ${common.platform_150}
  19. # ------------------------------------------------------------------------------
  20. # FLAGS: DEBUG
  21. #
  22. # ------------------------------------------------------------------------------
  23. 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
  24. #if needed (for memleaks etc) also add; -DDEBUG_ESP_OOM -include "umm_malloc/umm_malloc_cfg.h"
  25. # ------------------------------------------------------------------------------
  26. # FLAGS: build flags
  27. # build flags for 512k/1m ESP's are different because we use Linker Scripts to adjust flash split
  28. # build_flags_512k ( 512 KB) = 487 KB sketch, 4 KB eeprom, 16 KB reserved
  29. # build_flags_1m0m (1024 KB) = 999 KB sketch, 4 KB eeprom, 16 KB reserved
  30. # build_flags_4m1m (4096 KB) = 1019 KB sketch, 16 KB eeprom, 992 KB spiffs, 16 KB reserved, 2048 KB empty/ota?
  31. # build_flags_4m3m (4096 KB) = 1019 KB sketch, 16 KB eeprom, 3040 KB spiffs, 16 KB reserved
  32. #
  33. # Available lwIP variants (macros):
  34. # -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH = v1.4 Higher Bandwidth (default)
  35. # -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY = v2 Lower Memory
  36. # -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH = v2 Higher Bandwidth
  37. # ------------------------------------------------------------------------------
  38. build_flags = -g -w -DMQTT_MAX_PACKET_SIZE=400 -DNO_GLOBAL_EEPROM ${env.ESPURNA_FLAGS} -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
  39. build_flags_512k = ${common.build_flags} -Wl,-Teagle.flash.512k0m1s.ld
  40. build_flags_1m0m = ${common.build_flags} -Wl,-Teagle.flash.1m0m1s.ld
  41. build_flags_4m1m = ${common.build_flags} -Wl,-Teagle.flash.4m1m4s.ld
  42. build_flags_4m3m = ${common.build_flags} -Wl,-Teagle.flash.4m3m4s.ld
  43. # ------------------------------------------------------------------------------
  44. # OTA:
  45. # ------------------------------------------------------------------------------
  46. upload_port = "${env.ESPURNA_IP}"
  47. upload_flags = --auth=${env.ESPURNA_AUTH} --port 8266
  48. # ------------------------------------------------------------------------------
  49. # OTHER SETTINGS:
  50. # ------------------------------------------------------------------------------
  51. framework = arduino
  52. board_1m = esp01_1m
  53. board_4m = esp12e
  54. flash_mode = dout
  55. monitor_speed = 115200
  56. upload_speed = 115200
  57. upload_speed_fast = 921600
  58. extra_scripts = extra_scripts.py
  59. # ------------------------------------------------------------------------------
  60. # LIBRARIES: required dependencies
  61. # Please note that we don't always use the latest version of a library.
  62. # ------------------------------------------------------------------------------
  63. lib_deps =
  64. ArduinoJson
  65. https://github.com/marvinroger/async-mqtt-client#v0.8.1
  66. Brzo I2C
  67. https://bitbucket.org/xoseperez/debounceevent.git#2.0.1
  68. https://github.com/xoseperez/eeprom_rotate#0.9.1
  69. Embedis
  70. https://github.com/plerup/espsoftwareserial#3.4.1
  71. https://github.com/me-no-dev/ESPAsyncTCP#55cd520
  72. https://github.com/me-no-dev/ESPAsyncWebServer#05306e4
  73. https://bitbucket.org/xoseperez/fauxmoesp.git#2.4.2
  74. https://github.com/xoseperez/hlw8012.git#1.1.0
  75. https://github.com/markszabo/IRremoteESP8266#v2.2.0
  76. https://github.com/xoseperez/justwifi.git#2.0.1
  77. https://github.com/madpilot/mDNSResolver#4cfcda1
  78. https://github.com/xoseperez/my92xx#3.0.1
  79. https://bitbucket.org/xoseperez/nofuss.git#0.2.5
  80. https://github.com/xoseperez/NtpClient.git#0016a59
  81. OneWire
  82. PZEM004T
  83. PubSubClient
  84. rc-switch
  85. https://github.com/LowPowerLab/RFM69#1.1.3
  86. https://github.com/xoseperez/Time
  87. NewPing
  88. lib_ignore =
  89. # ------------------------------------------------------------------------------
  90. # ESPURNA CORE BUILDS
  91. # ------------------------------------------------------------------------------
  92. [env:espurna-core-1MB]
  93. platform = ${common.platform}
  94. framework = ${common.framework}
  95. board = ${common.board_1m}
  96. board_build.flash_mode = ${common.flash_mode}
  97. lib_deps = ${common.lib_deps}
  98. lib_ignore = ${common.lib_ignore}
  99. build_flags = ${common.build_flags_1m0m} -DESPURNA_CORE
  100. monitor_speed = ${common.monitor_speed}
  101. extra_scripts = ${common.extra_scripts}
  102. [env:espurna-core-4MB]
  103. platform = ${common.platform}
  104. framework = ${common.framework}
  105. board = ${common.board_4m}
  106. board_build.flash_mode = ${common.flash_mode}
  107. lib_deps = ${common.lib_deps}
  108. lib_ignore = ${common.lib_ignore}
  109. build_flags = ${common.build_flags_4m1m} -DESPURNA_CORE
  110. monitor_speed = ${common.monitor_speed}
  111. extra_scripts = ${common.extra_scripts}
  112. # ------------------------------------------------------------------------------
  113. # GENERIC OTA ENVIRONMENTS
  114. # ------------------------------------------------------------------------------
  115. [env:esp8266-1m-ota]
  116. platform = ${common.platform}
  117. framework = ${common.framework}
  118. board = ${common.board_1m}
  119. board_build.flash_mode = ${common.flash_mode}
  120. lib_deps = ${common.lib_deps}
  121. lib_ignore = ${common.lib_ignore}
  122. build_flags = ${common.build_flags_1m0m} -D${env.ESPURNA_BOARD}
  123. upload_speed = ${common.upload_speed}
  124. upload_port = ${common.upload_port}
  125. upload_flags = ${common.upload_flags}
  126. extra_scripts = ${common.extra_scripts}
  127. [env:esp8266-4m-ota]
  128. platform = ${common.platform}
  129. framework = ${common.framework}
  130. board = ${common.board_4m}
  131. board_build.flash_mode = ${common.flash_mode}
  132. lib_deps = ${common.lib_deps}
  133. lib_ignore = ${common.lib_ignore}
  134. build_flags = ${common.build_flags_4m1m} -D${env.ESPURNA_BOARD}
  135. upload_speed = ${common.upload_speed}
  136. upload_port = ${common.upload_port}
  137. upload_flags = ${common.upload_flags}
  138. extra_scripts = ${common.extra_scripts}
  139. # ------------------------------------------------------------------------------
  140. # SPECIAL BUILDS - DO. NOT. USE. ever ---
  141. # ------------------------------------------------------------------------------
  142. [env:travis01]
  143. platform = ${common.platform}
  144. framework = ${common.framework}
  145. board = ${common.board_4m}
  146. board_build.flash_mode = ${common.flash_mode}
  147. lib_deps = ${common.lib_deps}
  148. lib_ignore = ${common.lib_ignore}
  149. build_flags = ${common.build_flags_4m1m} -DTRAVIS01
  150. monitor_speed = ${common.monitor_speed}
  151. extra_scripts = ${common.extra_scripts}
  152. [env:travis02]
  153. platform = ${common.platform_173}
  154. framework = ${common.framework}
  155. board = ${common.board_4m}
  156. board_build.flash_mode = ${common.flash_mode}
  157. lib_deps = ${common.lib_deps}
  158. lib_ignore = ${common.lib_ignore}
  159. build_flags = ${common.build_flags_4m1m} -DTRAVIS02
  160. monitor_speed = ${common.monitor_speed}
  161. extra_scripts = ${common.extra_scripts}
  162. [env:travis03]
  163. platform = ${common.platform_173}
  164. framework = ${common.framework}
  165. board = ${common.board_4m}
  166. board_build.flash_mode = ${common.flash_mode}
  167. lib_deps = ${common.lib_deps}
  168. lib_ignore = ${common.lib_ignore}
  169. build_flags = ${common.build_flags_4m1m} -DTRAVIS03 -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  170. monitor_speed = ${common.monitor_speed}
  171. extra_scripts = ${common.extra_scripts}
  172. # ------------------------------------------------------------------------------
  173. # DEVELOPMENT BOARDS
  174. # ------------------------------------------------------------------------------
  175. [env:wemos-d1mini]
  176. platform = ${common.platform}
  177. framework = ${common.framework}
  178. board = d1_mini
  179. board_build.flash_mode = ${common.flash_mode}
  180. lib_deps = ${common.lib_deps}
  181. lib_ignore = ${common.lib_ignore}
  182. build_flags = ${common.build_flags} -DWEMOS_D1_MINI -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  183. upload_speed = ${common.upload_speed_fast}
  184. monitor_speed = ${common.monitor_speed}
  185. extra_scripts = ${common.extra_scripts}
  186. [env:wemos-d1mini-relayshield]
  187. platform = ${common.platform}
  188. framework = ${common.framework}
  189. board = ${common.board_4m}
  190. board_build.flash_mode = ${common.flash_mode}
  191. lib_deps = ${common.lib_deps}
  192. lib_ignore = ${common.lib_ignore}
  193. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  194. upload_speed = ${common.upload_speed_fast}
  195. monitor_speed = ${common.monitor_speed}
  196. extra_scripts = ${common.extra_scripts}
  197. [env:wemos-d1mini-relayshield-ssl]
  198. platform = ${common.platform_173}
  199. framework = ${common.framework}
  200. board = ${common.board_4m}
  201. board_build.flash_mode = ${common.flash_mode}
  202. lib_deps = ${common.lib_deps}
  203. lib_ignore = ${common.lib_ignore}
  204. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  205. upload_speed = ${common.upload_speed_fast}
  206. monitor_speed = ${common.monitor_speed}
  207. extra_scripts = ${common.extra_scripts}
  208. [env:wemos-d1mini-relayshield-ota]
  209. platform = ${common.platform}
  210. framework = ${common.framework}
  211. board = ${common.board_4m}
  212. board_build.flash_mode = ${common.flash_mode}
  213. lib_deps = ${common.lib_deps}
  214. lib_ignore = ${common.lib_ignore}
  215. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  216. upload_speed = ${common.upload_speed}
  217. upload_port = ${common.upload_port}
  218. upload_flags = ${common.upload_flags}
  219. extra_scripts = ${common.extra_scripts}
  220. [env:nodemcu-lolin]
  221. platform = ${common.platform}
  222. framework = ${common.framework}
  223. board = ${common.board_4m}
  224. board_build.flash_mode = ${common.flash_mode}
  225. lib_deps = ${common.lib_deps}
  226. lib_ignore = ${common.lib_ignore}
  227. build_flags = ${common.build_flags_4m1m} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  228. upload_speed = ${common.upload_speed_fast}
  229. monitor_speed = ${common.monitor_speed}
  230. extra_scripts = ${common.extra_scripts}
  231. [env:nodemcu-lolin-ssl]
  232. platform = ${common.platform_173}
  233. framework = ${common.framework}
  234. board = ${common.board_4m}
  235. board_build.flash_mode = ${common.flash_mode}
  236. lib_deps = ${common.lib_deps}
  237. lib_ignore = ${common.lib_ignore}
  238. build_flags = ${common.build_flags_4m1m} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  239. upload_speed = ${common.upload_speed_fast}
  240. monitor_speed = ${common.monitor_speed}
  241. extra_scripts = ${common.extra_scripts}
  242. [env:nodemcu-lolin-ota]
  243. platform = ${common.platform}
  244. framework = ${common.framework}
  245. board = ${common.board_4m}
  246. board_build.flash_mode = ${common.flash_mode}
  247. lib_deps = ${common.lib_deps}
  248. lib_ignore = ${common.lib_ignore}
  249. build_flags = ${common.build_flags_4m1m} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  250. upload_speed = ${common.upload_speed}
  251. upload_port = ${common.upload_port}
  252. upload_flags = ${common.upload_flags}
  253. monitor_speed = ${common.monitor_speed}
  254. extra_scripts = ${common.extra_scripts}
  255. # ------------------------------------------------------------------------------
  256. # SPECIFIC BOARDS
  257. # ------------------------------------------------------------------------------
  258. [env:tinkerman-espurna-h06]
  259. platform = ${common.platform}
  260. framework = ${common.framework}
  261. board = ${common.board_4m}
  262. board_build.flash_mode = ${common.flash_mode}
  263. lib_deps = ${common.lib_deps}
  264. lib_ignore = ${common.lib_ignore}
  265. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H06
  266. monitor_speed = ${common.monitor_speed}
  267. extra_scripts = ${common.extra_scripts}
  268. [env:tinkerman-espurna-h06-ota]
  269. platform = ${common.platform}
  270. framework = ${common.framework}
  271. board = ${common.board_4m}
  272. board_build.flash_mode = ${common.flash_mode}
  273. lib_deps = ${common.lib_deps}
  274. lib_ignore = ${common.lib_ignore}
  275. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H06
  276. upload_speed = ${common.upload_speed}
  277. upload_port = ${common.upload_port}
  278. upload_flags = ${common.upload_flags}
  279. monitor_speed = ${common.monitor_speed}
  280. extra_scripts = ${common.extra_scripts}
  281. [env:tinkerman-espurna-h08]
  282. platform = ${common.platform}
  283. framework = ${common.framework}
  284. board = ${common.board_4m}
  285. board_build.flash_mode = ${common.flash_mode}
  286. lib_deps = ${common.lib_deps}
  287. lib_ignore = ${common.lib_ignore}
  288. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H08
  289. monitor_speed = ${common.monitor_speed}
  290. extra_scripts = ${common.extra_scripts}
  291. [env:tinkerman-espurna-h08-ota]
  292. platform = ${common.platform}
  293. framework = ${common.framework}
  294. board = ${common.board_4m}
  295. board_build.flash_mode = ${common.flash_mode}
  296. lib_deps = ${common.lib_deps}
  297. lib_ignore = ${common.lib_ignore}
  298. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H08
  299. upload_speed = ${common.upload_speed}
  300. upload_port = ${common.upload_port}
  301. upload_flags = ${common.upload_flags}
  302. monitor_speed = ${common.monitor_speed}
  303. extra_scripts = ${common.extra_scripts}
  304. [env:tinkerman-espurna-switch]
  305. platform = ${common.platform}
  306. framework = ${common.framework}
  307. board = ${common.board_4m}
  308. board_build.flash_mode = ${common.flash_mode}
  309. lib_deps = ${common.lib_deps}
  310. lib_ignore = ${common.lib_ignore}
  311. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_SWITCH
  312. monitor_speed = ${common.monitor_speed}
  313. extra_scripts = ${common.extra_scripts}
  314. [env:wemos-d1-tarpunashield]
  315. platform = ${common.platform}
  316. framework = ${common.framework}
  317. board = ${common.board_4m}
  318. board_build.flash_mode = ${common.flash_mode}
  319. lib_deps = ${common.lib_deps}
  320. lib_ignore = ${common.lib_ignore}
  321. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_TARPUNA_SHIELD
  322. monitor_speed = ${common.monitor_speed}
  323. extra_scripts = ${common.extra_scripts}
  324. [env:tinkerman-rfm69gw]
  325. platform = ${common.platform}
  326. framework = arduino
  327. board = esp12e
  328. lib_deps = ${common.lib_deps}
  329. lib_ignore = ${common.lib_ignore}
  330. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_RFM69GW -DNOWSAUTH
  331. monitor_speed = 115200
  332. extra_scripts = ${common.extra_scripts}
  333. # ------------------------------------------------------------------------------
  334. [env:itead-sonoff-basic]
  335. platform = ${common.platform}
  336. framework = ${common.framework}
  337. board = ${common.board_1m}
  338. board_build.flash_mode = ${common.flash_mode}
  339. lib_deps = ${common.lib_deps}
  340. lib_ignore = ${common.lib_ignore}
  341. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC
  342. monitor_speed = ${common.monitor_speed}
  343. extra_scripts = ${common.extra_scripts}
  344. [env:itead-sonoff-basic-ota]
  345. platform = ${common.platform}
  346. framework = ${common.framework}
  347. board = ${common.board_1m}
  348. board_build.flash_mode = ${common.flash_mode}
  349. lib_deps = ${common.lib_deps}
  350. lib_ignore = ${common.lib_ignore}
  351. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC
  352. upload_speed = ${common.upload_speed}
  353. upload_port = ${common.upload_port}
  354. upload_flags = ${common.upload_flags}
  355. monitor_speed = ${common.monitor_speed}
  356. extra_scripts = ${common.extra_scripts}
  357. [env:itead-sonoff-basic-dht]
  358. platform = ${common.platform}
  359. framework = ${common.framework}
  360. board = ${common.board_1m}
  361. board_build.flash_mode = ${common.flash_mode}
  362. lib_deps = ${common.lib_deps}
  363. lib_ignore = ${common.lib_ignore}
  364. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  365. monitor_speed = ${common.monitor_speed}
  366. extra_scripts = ${common.extra_scripts}
  367. [env:itead-sonoff-basic-dht-ota]
  368. platform = ${common.platform}
  369. framework = ${common.framework}
  370. board = ${common.board_1m}
  371. board_build.flash_mode = ${common.flash_mode}
  372. lib_deps = ${common.lib_deps}
  373. lib_ignore = ${common.lib_ignore}
  374. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  375. upload_speed = ${common.upload_speed}
  376. upload_port = ${common.upload_port}
  377. upload_flags = ${common.upload_flags}
  378. monitor_speed = ${common.monitor_speed}
  379. extra_scripts = ${common.extra_scripts}
  380. [env:itead-sonoff-basic-dallas]
  381. platform = ${common.platform}
  382. framework = ${common.framework}
  383. board = ${common.board_1m}
  384. board_build.flash_mode = ${common.flash_mode}
  385. lib_deps = ${common.lib_deps}
  386. lib_ignore = ${common.lib_ignore}
  387. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDALLAS_SUPPORT=1
  388. monitor_speed = ${common.monitor_speed}
  389. extra_scripts = ${common.extra_scripts}
  390. [env:itead-sonoff-rf]
  391. platform = ${common.platform}
  392. framework = ${common.framework}
  393. board = ${common.board_1m}
  394. board_build.flash_mode = ${common.flash_mode}
  395. lib_deps = ${common.lib_deps}
  396. lib_ignore = ${common.lib_ignore}
  397. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RF
  398. monitor_speed = ${common.monitor_speed}
  399. extra_scripts = ${common.extra_scripts}
  400. [env:itead-sonoff-rf-ota]
  401. platform = ${common.platform}
  402. framework = ${common.framework}
  403. board = ${common.board_1m}
  404. board_build.flash_mode = ${common.flash_mode}
  405. lib_deps = ${common.lib_deps}
  406. lib_ignore = ${common.lib_ignore}
  407. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RF
  408. upload_speed = ${common.upload_speed}
  409. upload_port = ${common.upload_port}
  410. upload_flags = ${common.upload_flags}
  411. monitor_speed = ${common.monitor_speed}
  412. extra_scripts = ${common.extra_scripts}
  413. [env:itead-sonoff-th]
  414. platform = ${common.platform}
  415. framework = ${common.framework}
  416. board = ${common.board_1m}
  417. board_build.flash_mode = ${common.flash_mode}
  418. lib_deps = ${common.lib_deps}
  419. lib_ignore = ${common.lib_ignore}
  420. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TH
  421. monitor_speed = ${common.monitor_speed}
  422. extra_scripts = ${common.extra_scripts}
  423. [env:itead-sonoff-th-ota]
  424. platform = ${common.platform}
  425. framework = ${common.framework}
  426. board = ${common.board_1m}
  427. board_build.flash_mode = ${common.flash_mode}
  428. lib_deps = ${common.lib_deps}
  429. lib_ignore = ${common.lib_ignore}
  430. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TH
  431. upload_speed = ${common.upload_speed}
  432. upload_port = ${common.upload_port}
  433. upload_flags = ${common.upload_flags}
  434. monitor_speed = ${common.monitor_speed}
  435. extra_scripts = ${common.extra_scripts}
  436. [env:itead-sonoff-pow]
  437. platform = ${common.platform}
  438. framework = ${common.framework}
  439. board = ${common.board_1m}
  440. board_build.flash_mode = ${common.flash_mode}
  441. lib_deps = ${common.lib_deps}
  442. lib_ignore = ${common.lib_ignore}
  443. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW
  444. monitor_speed = ${common.monitor_speed}
  445. extra_scripts = ${common.extra_scripts}
  446. [env:itead-sonoff-pow-ota]
  447. platform = ${common.platform}
  448. framework = ${common.framework}
  449. board = ${common.board_1m}
  450. board_build.flash_mode = ${common.flash_mode}
  451. lib_deps = ${common.lib_deps}
  452. lib_ignore = ${common.lib_ignore}
  453. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW
  454. upload_speed = ${common.upload_speed}
  455. upload_port = ${common.upload_port}
  456. upload_flags = ${common.upload_flags}
  457. monitor_speed = ${common.monitor_speed}
  458. extra_scripts = ${common.extra_scripts}
  459. [env:itead-sonoff-pow-r2]
  460. platform = ${common.platform}
  461. framework = ${common.framework}
  462. board = ${common.board_1m}
  463. board_build.flash_mode = ${common.flash_mode}
  464. lib_deps = ${common.lib_deps}
  465. lib_ignore = ${common.lib_ignore}
  466. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW_R2
  467. monitor_speed = ${common.monitor_speed}
  468. extra_scripts = ${common.extra_scripts}
  469. [env:itead-sonoff-pow-r2-ota]
  470. platform = ${common.platform}
  471. framework = ${common.framework}
  472. board = ${common.board_1m}
  473. board_build.flash_mode = ${common.flash_mode}
  474. lib_deps = ${common.lib_deps}
  475. lib_ignore = ${common.lib_ignore}
  476. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW_R2
  477. upload_speed = ${common.upload_speed}
  478. upload_port = ${common.upload_port}
  479. upload_flags = ${common.upload_flags}
  480. monitor_speed = ${common.monitor_speed}
  481. extra_scripts = ${common.extra_scripts}
  482. [env:itead-sonoff-dual]
  483. platform = ${common.platform}
  484. framework = ${common.framework}
  485. board = ${common.board_1m}
  486. board_build.flash_mode = ${common.flash_mode}
  487. lib_deps = ${common.lib_deps}
  488. lib_ignore = ${common.lib_ignore}
  489. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL
  490. extra_scripts = ${common.extra_scripts}
  491. [env:itead-sonoff-dual-ota]
  492. platform = ${common.platform}
  493. framework = ${common.framework}
  494. board = ${common.board_1m}
  495. board_build.flash_mode = ${common.flash_mode}
  496. lib_deps = ${common.lib_deps}
  497. lib_ignore = ${common.lib_ignore}
  498. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL
  499. upload_speed = ${common.upload_speed}
  500. upload_port = ${common.upload_port}
  501. upload_flags = ${common.upload_flags}
  502. extra_scripts = ${common.extra_scripts}
  503. [env:itead-sonoff-dual-r2]
  504. platform = ${common.platform}
  505. framework = ${common.framework}
  506. board = ${common.board_1m}
  507. board_build.flash_mode = ${common.flash_mode}
  508. lib_deps = ${common.lib_deps}
  509. lib_ignore = ${common.lib_ignore}
  510. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL_R2
  511. extra_scripts = ${common.extra_scripts}
  512. [env:itead-sonoff-dual-r2-ota]
  513. platform = ${common.platform}
  514. framework = ${common.framework}
  515. board = ${common.board_1m}
  516. board_build.flash_mode = ${common.flash_mode}
  517. lib_deps = ${common.lib_deps}
  518. lib_ignore = ${common.lib_ignore}
  519. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL_R2
  520. upload_speed = ${common.upload_speed}
  521. upload_port = ${common.upload_port}
  522. upload_flags = ${common.upload_flags}
  523. extra_scripts = ${common.extra_scripts}
  524. [env:itead-sonoff-4ch]
  525. platform = ${common.platform}
  526. framework = ${common.framework}
  527. board = ${common.board_1m}
  528. board_build.flash_mode = ${common.flash_mode}
  529. lib_deps = ${common.lib_deps}
  530. lib_ignore = ${common.lib_ignore}
  531. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH
  532. monitor_speed = ${common.monitor_speed}
  533. extra_scripts = ${common.extra_scripts}
  534. [env:itead-sonoff-4ch-ota]
  535. platform = ${common.platform}
  536. framework = ${common.framework}
  537. board = ${common.board_1m}
  538. board_build.flash_mode = ${common.flash_mode}
  539. lib_deps = ${common.lib_deps}
  540. lib_ignore = ${common.lib_ignore}
  541. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH
  542. upload_speed = ${common.upload_speed}
  543. upload_port = ${common.upload_port}
  544. upload_flags = ${common.upload_flags}
  545. monitor_speed = ${common.monitor_speed}
  546. extra_scripts = ${common.extra_scripts}
  547. [env:itead-sonoff-4ch-pro]
  548. platform = ${common.platform}
  549. framework = ${common.framework}
  550. board = ${common.board_1m}
  551. board_build.flash_mode = ${common.flash_mode}
  552. lib_deps = ${common.lib_deps}
  553. lib_ignore = ${common.lib_ignore}
  554. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH_PRO
  555. monitor_speed = ${common.monitor_speed}
  556. extra_scripts = ${common.extra_scripts}
  557. [env:itead-sonoff-4ch-pro-ota]
  558. platform = ${common.platform}
  559. framework = ${common.framework}
  560. board = ${common.board_1m}
  561. board_build.flash_mode = ${common.flash_mode}
  562. lib_deps = ${common.lib_deps}
  563. lib_ignore = ${common.lib_ignore}
  564. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH_PRO
  565. upload_speed = ${common.upload_speed}
  566. upload_port = ${common.upload_port}
  567. upload_flags = ${common.upload_flags}
  568. monitor_speed = ${common.monitor_speed}
  569. extra_scripts = ${common.extra_scripts}
  570. [env:itead-sonoff-touch]
  571. platform = ${common.platform}
  572. framework = ${common.framework}
  573. board = ${common.board_1m}
  574. board_build.flash_mode = ${common.flash_mode}
  575. lib_deps = ${common.lib_deps}
  576. lib_ignore = ${common.lib_ignore}
  577. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TOUCH
  578. monitor_speed = ${common.monitor_speed}
  579. extra_scripts = ${common.extra_scripts}
  580. [env:itead-sonoff-touch-ota]
  581. platform = ${common.platform}
  582. framework = ${common.framework}
  583. board = ${common.board_1m}
  584. board_build.flash_mode = ${common.flash_mode}
  585. lib_deps = ${common.lib_deps}
  586. lib_ignore = ${common.lib_ignore}
  587. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TOUCH
  588. upload_speed = ${common.upload_speed}
  589. upload_port = ${common.upload_port}
  590. upload_flags = ${common.upload_flags}
  591. monitor_speed = ${common.monitor_speed}
  592. extra_scripts = ${common.extra_scripts}
  593. [env:itead-sonoff-b1]
  594. platform = ${common.platform}
  595. framework = ${common.framework}
  596. board = ${common.board_1m}
  597. board_build.flash_mode = ${common.flash_mode}
  598. lib_deps = ${common.lib_deps}
  599. lib_ignore = ${common.lib_ignore}
  600. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_B1
  601. monitor_speed = ${common.monitor_speed}
  602. extra_scripts = ${common.extra_scripts}
  603. [env:itead-sonoff-b1-ota]
  604. platform = ${common.platform}
  605. framework = ${common.framework}
  606. board = ${common.board_1m}
  607. board_build.flash_mode = ${common.flash_mode}
  608. lib_deps = ${common.lib_deps}
  609. lib_ignore = ${common.lib_ignore}
  610. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_B1
  611. upload_speed = ${common.upload_speed}
  612. upload_port = ${common.upload_port}
  613. upload_flags = ${common.upload_flags}
  614. monitor_speed = ${common.monitor_speed}
  615. extra_scripts = ${common.extra_scripts}
  616. [env:itead-sonoff-t1-1ch]
  617. platform = ${common.platform}
  618. framework = ${common.framework}
  619. board = ${common.board_1m}
  620. board_build.flash_mode = ${common.flash_mode}
  621. lib_deps = ${common.lib_deps}
  622. lib_ignore = ${common.lib_ignore}
  623. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_1CH
  624. monitor_speed = ${common.monitor_speed}
  625. extra_scripts = ${common.extra_scripts}
  626. [env:itead-sonoff-t1-1ch-ota]
  627. platform = ${common.platform}
  628. framework = ${common.framework}
  629. board = ${common.board_1m}
  630. board_build.flash_mode = ${common.flash_mode}
  631. lib_deps = ${common.lib_deps}
  632. lib_ignore = ${common.lib_ignore}
  633. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_1CH
  634. upload_speed = ${common.upload_speed}
  635. upload_port = ${common.upload_port}
  636. upload_flags = ${common.upload_flags}
  637. monitor_speed = ${common.monitor_speed}
  638. extra_scripts = ${common.extra_scripts}
  639. [env:itead-sonoff-t1-2ch]
  640. platform = ${common.platform}
  641. framework = ${common.framework}
  642. board = ${common.board_1m}
  643. board_build.flash_mode = ${common.flash_mode}
  644. lib_deps = ${common.lib_deps}
  645. lib_ignore = ${common.lib_ignore}
  646. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_2CH
  647. monitor_speed = ${common.monitor_speed}
  648. extra_scripts = ${common.extra_scripts}
  649. [env:itead-sonoff-t1-2ch-ota]
  650. platform = ${common.platform}
  651. framework = ${common.framework}
  652. board = ${common.board_1m}
  653. board_build.flash_mode = ${common.flash_mode}
  654. lib_deps = ${common.lib_deps}
  655. lib_ignore = ${common.lib_ignore}
  656. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_2CH
  657. upload_speed = ${common.upload_speed}
  658. upload_port = ${common.upload_port}
  659. upload_flags = ${common.upload_flags}
  660. monitor_speed = ${common.monitor_speed}
  661. extra_scripts = ${common.extra_scripts}
  662. [env:itead-sonoff-t1-3ch]
  663. platform = ${common.platform}
  664. framework = ${common.framework}
  665. board = ${common.board_1m}
  666. board_build.flash_mode = ${common.flash_mode}
  667. lib_deps = ${common.lib_deps}
  668. lib_ignore = ${common.lib_ignore}
  669. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_3CH
  670. monitor_speed = ${common.monitor_speed}
  671. extra_scripts = ${common.extra_scripts}
  672. [env:itead-sonoff-t1-3ch-ota]
  673. platform = ${common.platform}
  674. framework = ${common.framework}
  675. board = ${common.board_1m}
  676. board_build.flash_mode = ${common.flash_mode}
  677. lib_deps = ${common.lib_deps}
  678. lib_ignore = ${common.lib_ignore}
  679. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_3CH
  680. upload_speed = ${common.upload_speed}
  681. upload_port = ${common.upload_port}
  682. upload_flags = ${common.upload_flags}
  683. monitor_speed = ${common.monitor_speed}
  684. extra_scripts = ${common.extra_scripts}
  685. [env:itead-sonoff-led]
  686. platform = ${common.platform}
  687. framework = ${common.framework}
  688. board = ${common.board_1m}
  689. board_build.flash_mode = ${common.flash_mode}
  690. lib_deps = ${common.lib_deps}
  691. lib_ignore = ${common.lib_ignore}
  692. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_LED
  693. monitor_speed = ${common.monitor_speed}
  694. extra_scripts = ${common.extra_scripts}
  695. [env:itead-sonoff-led-ota]
  696. platform = ${common.platform}
  697. framework = ${common.framework}
  698. board = ${common.board_1m}
  699. board_build.flash_mode = ${common.flash_mode}
  700. lib_deps = ${common.lib_deps}
  701. lib_ignore = ${common.lib_ignore}
  702. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_LED
  703. upload_speed = ${common.upload_speed}
  704. upload_port = ${common.upload_port}
  705. upload_flags = ${common.upload_flags}
  706. monitor_speed = ${common.monitor_speed}
  707. extra_scripts = ${common.extra_scripts}
  708. [env:itead-sonoff-rfbridge]
  709. platform = ${common.platform}
  710. framework = ${common.framework}
  711. board = ${common.board_1m}
  712. board_build.flash_mode = ${common.flash_mode}
  713. lib_deps = ${common.lib_deps}
  714. lib_ignore = ${common.lib_ignore}
  715. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE
  716. monitor_speed = 19200
  717. extra_scripts = ${common.extra_scripts}
  718. [env:itead-sonoff-rfbridge-ota]
  719. platform = ${common.platform}
  720. framework = ${common.framework}
  721. board = ${common.board_1m}
  722. board_build.flash_mode = ${common.flash_mode}
  723. lib_deps = ${common.lib_deps}
  724. lib_ignore = ${common.lib_ignore}
  725. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE
  726. upload_speed = ${common.upload_speed}
  727. upload_port = ${common.upload_port}
  728. upload_flags = ${common.upload_flags}
  729. monitor_speed = 19200
  730. extra_scripts = ${common.extra_scripts}
  731. [env:itead-sonoff-rfbridge-direct]
  732. platform = ${common.platform}
  733. framework = ${common.framework}
  734. board = ${common.board_1m}
  735. board_build.flash_mode = ${common.flash_mode}
  736. lib_deps = ${common.lib_deps}
  737. lib_ignore = ${common.lib_ignore}
  738. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT
  739. monitor_speed = 19200
  740. extra_scripts = ${common.extra_scripts}
  741. [env:itead-sonoff-rfbridge-direct-ota]
  742. platform = ${common.platform}
  743. framework = ${common.framework}
  744. board = ${common.board_1m}
  745. board_build.flash_mode = ${common.flash_mode}
  746. lib_deps = ${common.lib_deps}
  747. lib_ignore = ${common.lib_ignore}
  748. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT
  749. upload_speed = ${common.upload_speed}
  750. upload_port = ${common.upload_port}
  751. upload_flags = ${common.upload_flags}
  752. monitor_speed = 19200
  753. extra_scripts = ${common.extra_scripts}
  754. # ------------------------------------------------------------------------------
  755. [env:itead-slampher]
  756. platform = ${common.platform}
  757. framework = ${common.framework}
  758. board = ${common.board_1m}
  759. board_build.flash_mode = ${common.flash_mode}
  760. lib_deps = ${common.lib_deps}
  761. lib_ignore = ${common.lib_ignore}
  762. build_flags = ${common.build_flags_1m0m} -DITEAD_SLAMPHER
  763. monitor_speed = ${common.monitor_speed}
  764. extra_scripts = ${common.extra_scripts}
  765. [env:itead-slampher-ota]
  766. platform = ${common.platform}
  767. framework = ${common.framework}
  768. board = ${common.board_1m}
  769. board_build.flash_mode = ${common.flash_mode}
  770. lib_deps = ${common.lib_deps}
  771. lib_ignore = ${common.lib_ignore}
  772. build_flags = ${common.build_flags_1m0m} -DITEAD_SLAMPHER
  773. upload_speed = ${common.upload_speed}
  774. upload_port = ${common.upload_port}
  775. upload_flags = ${common.upload_flags}
  776. monitor_speed = ${common.monitor_speed}
  777. extra_scripts = ${common.extra_scripts}
  778. [env:itead-s20]
  779. platform = ${common.platform}
  780. framework = ${common.framework}
  781. board = ${common.board_1m}
  782. board_build.flash_mode = ${common.flash_mode}
  783. lib_deps = ${common.lib_deps}
  784. lib_ignore = ${common.lib_ignore}
  785. build_flags = ${common.build_flags_1m0m} -DITEAD_S20
  786. monitor_speed = ${common.monitor_speed}
  787. extra_scripts = ${common.extra_scripts}
  788. [env:itead-s20-ota]
  789. platform = ${common.platform}
  790. framework = ${common.framework}
  791. board = ${common.board_1m}
  792. board_build.flash_mode = ${common.flash_mode}
  793. lib_deps = ${common.lib_deps}
  794. lib_ignore = ${common.lib_ignore}
  795. build_flags = ${common.build_flags_1m0m} -DITEAD_S20
  796. upload_speed = ${common.upload_speed}
  797. upload_port = ${common.upload_port}
  798. upload_flags = ${common.upload_flags}
  799. monitor_speed = ${common.monitor_speed}
  800. extra_scripts = ${common.extra_scripts}
  801. [env:itead-1ch-inching]
  802. platform = ${common.platform}
  803. framework = ${common.framework}
  804. board = ${common.board_1m}
  805. board_build.flash_mode = ${common.flash_mode}
  806. lib_deps = ${common.lib_deps}
  807. lib_ignore = ${common.lib_ignore}
  808. build_flags = ${common.build_flags_1m0m} -DITEAD_1CH_INCHING
  809. monitor_speed = ${common.monitor_speed}
  810. extra_scripts = ${common.extra_scripts}
  811. [env:itead-1ch-inching-ota]
  812. platform = ${common.platform}
  813. framework = ${common.framework}
  814. board = ${common.board_1m}
  815. board_build.flash_mode = ${common.flash_mode}
  816. lib_deps = ${common.lib_deps}
  817. lib_ignore = ${common.lib_ignore}
  818. build_flags = ${common.build_flags_1m0m} -DITEAD_1CH_INCHING
  819. upload_speed = ${common.upload_speed}
  820. upload_port = ${common.upload_port}
  821. upload_flags = ${common.upload_flags}
  822. monitor_speed = ${common.monitor_speed}
  823. extra_scripts = ${common.extra_scripts}
  824. [env:itead-motor]
  825. platform = ${common.platform}
  826. framework = ${common.framework}
  827. board = ${common.board_1m}
  828. board_build.flash_mode = ${common.flash_mode}
  829. lib_deps = ${common.lib_deps}
  830. lib_ignore = ${common.lib_ignore}
  831. build_flags = ${common.build_flags_1m0m} -DITEAD_MOTOR
  832. monitor_speed = ${common.monitor_speed}
  833. extra_scripts = ${common.extra_scripts}
  834. [env:itead-motor-ota]
  835. platform = ${common.platform}
  836. framework = ${common.framework}
  837. board = ${common.board_1m}
  838. board_build.flash_mode = ${common.flash_mode}
  839. lib_deps = ${common.lib_deps}
  840. lib_ignore = ${common.lib_ignore}
  841. build_flags = ${common.build_flags_1m0m} -DITEAD_MOTOR
  842. upload_speed = ${common.upload_speed}
  843. upload_port = ${common.upload_port}
  844. upload_flags = ${common.upload_flags}
  845. monitor_speed = ${common.monitor_speed}
  846. extra_scripts = ${common.extra_scripts}
  847. [env:itead-sonoff-sv]
  848. platform = ${common.platform}
  849. framework = ${common.framework}
  850. board = ${common.board_1m}
  851. board_build.flash_mode = ${common.flash_mode}
  852. lib_deps = ${common.lib_deps}
  853. lib_ignore = ${common.lib_ignore}
  854. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_SV
  855. monitor_speed = ${common.monitor_speed}
  856. extra_scripts = ${common.extra_scripts}
  857. [env:itead-sonoff-sv-ota]
  858. platform = ${common.platform}
  859. framework = ${common.framework}
  860. board = ${common.board_1m}
  861. board_build.flash_mode = ${common.flash_mode}
  862. lib_deps = ${common.lib_deps}
  863. lib_ignore = ${common.lib_ignore}
  864. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_SV
  865. upload_port = ${common.upload_port}
  866. upload_flags = ${common.upload_flags}
  867. monitor_speed = ${common.monitor_speed}
  868. extra_scripts = ${common.extra_scripts}
  869. [env:itead-sonoff-s31]
  870. platform = ${common.platform}
  871. framework = ${common.framework}
  872. board = ${common.board_1m}
  873. board_build.flash_mode = ${common.flash_mode}
  874. lib_deps = ${common.lib_deps}
  875. lib_ignore = ${common.lib_ignore}
  876. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_S31
  877. monitor_speed = ${common.monitor_speed}
  878. extra_scripts = ${common.extra_scripts}
  879. [env:itead-sonoff-s31-ota]
  880. platform = ${common.platform}
  881. framework = ${common.framework}
  882. board = ${common.board_1m}
  883. board_build.flash_mode = ${common.flash_mode}
  884. lib_deps = ${common.lib_deps}
  885. lib_ignore = ${common.lib_ignore}
  886. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_S31
  887. upload_port = ${common.upload_port}
  888. upload_flags = ${common.upload_flags}
  889. monitor_speed = ${common.monitor_speed}
  890. extra_scripts = ${common.extra_scripts}
  891. [env:itead-sonoff-ifan02]
  892. platform = ${common.platform}
  893. framework = ${common.framework}
  894. board = ${common.board_1m}
  895. board_build.flash_mode = ${common.flash_mode}
  896. lib_deps = ${common.lib_deps}
  897. lib_ignore = ${common.lib_ignore}
  898. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_IFAN02
  899. monitor_speed = ${common.monitor_speed}
  900. extra_scripts = ${common.extra_scripts}
  901. [env:itead-sonoff-ifan02-ota]
  902. platform = ${common.platform}
  903. framework = ${common.framework}
  904. board = ${common.board_1m}
  905. board_build.flash_mode = ${common.flash_mode}
  906. lib_deps = ${common.lib_deps}
  907. lib_ignore = ${common.lib_ignore}
  908. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_IFAN02
  909. upload_port = ${common.upload_port}
  910. upload_flags = ${common.upload_flags}
  911. monitor_speed = ${common.monitor_speed}
  912. extra_scripts = ${common.extra_scripts}
  913. # ------------------------------------------------------------------------------
  914. [env:electrodragon-wifi-iot]
  915. platform = ${common.platform}
  916. framework = ${common.framework}
  917. board = ${common.board_4m}
  918. board_build.flash_mode = ${common.flash_mode}
  919. lib_deps = ${common.lib_deps}
  920. lib_ignore = ${common.lib_ignore}
  921. build_flags = ${common.build_flags_4m1m} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  922. monitor_speed = ${common.monitor_speed}
  923. extra_scripts = ${common.extra_scripts}
  924. [env:electrodragon-wifi-iot-ota]
  925. platform = ${common.platform}
  926. framework = ${common.framework}
  927. board = ${common.board_4m}
  928. board_build.flash_mode = ${common.flash_mode}
  929. lib_deps = ${common.lib_deps}
  930. lib_ignore = ${common.lib_ignore}
  931. build_flags = ${common.build_flags_4m1m} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  932. upload_speed = ${common.upload_speed}
  933. upload_port = ${common.upload_port}
  934. upload_flags = ${common.upload_flags}
  935. monitor_speed = ${common.monitor_speed}
  936. extra_scripts = ${common.extra_scripts}
  937. [env:workchoice-ecoplug]
  938. platform = ${common.platform}
  939. framework = ${common.framework}
  940. board = ${common.board_1m}
  941. board_build.flash_mode = ${common.flash_mode}
  942. lib_deps = ${common.lib_deps}
  943. lib_ignore = ${common.lib_ignore}
  944. build_flags = ${common.build_flags_1m0m} -DWORKCHOICE_ECOPLUG
  945. monitor_speed = ${common.monitor_speed}
  946. extra_scripts = ${common.extra_scripts}
  947. [env:workchoice-ecoplug-ota]
  948. platform = ${common.platform}
  949. framework = ${common.framework}
  950. board = ${common.board_1m}
  951. board_build.flash_mode = ${common.flash_mode}
  952. lib_deps = ${common.lib_deps}
  953. lib_ignore = ${common.lib_ignore}
  954. build_flags = ${common.build_flags_1m0m} -DWORKCHOICE_ECOPLUG
  955. upload_speed = ${common.upload_speed}
  956. upload_port = ${common.upload_port}
  957. upload_flags = ${common.upload_flags}
  958. monitor_speed = ${common.monitor_speed}
  959. extra_scripts = ${common.extra_scripts}
  960. [env:jangoe-wifi-relay-nc]
  961. platform = ${common.platform}
  962. framework = ${common.framework}
  963. board = ${common.board_4m}
  964. board_build.flash_mode = ${common.flash_mode}
  965. lib_deps = ${common.lib_deps}
  966. lib_ignore = ${common.lib_ignore}
  967. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NC
  968. monitor_speed = ${common.monitor_speed}
  969. extra_scripts = ${common.extra_scripts}
  970. [env:jangoe-wifi-relay-nc-ota]
  971. platform = ${common.platform}
  972. framework = ${common.framework}
  973. board = ${common.board_4m}
  974. board_build.flash_mode = ${common.flash_mode}
  975. lib_deps = ${common.lib_deps}
  976. lib_ignore = ${common.lib_ignore}
  977. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NC
  978. upload_speed = ${common.upload_speed}
  979. upload_port = ${common.upload_port}
  980. upload_flags = ${common.upload_flags}
  981. monitor_speed = ${common.monitor_speed}
  982. extra_scripts = ${common.extra_scripts}
  983. [env:jangoe-wifi-relay-no]
  984. platform = ${common.platform}
  985. framework = ${common.framework}
  986. board = ${common.board_4m}
  987. board_build.flash_mode = ${common.flash_mode}
  988. lib_deps = ${common.lib_deps}
  989. lib_ignore = ${common.lib_ignore}
  990. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NO
  991. monitor_speed = ${common.monitor_speed}
  992. extra_scripts = ${common.extra_scripts}
  993. [env:jangoe-wifi-relay-no-ota]
  994. platform = ${common.platform}
  995. framework = ${common.framework}
  996. board = ${common.board_4m}
  997. board_build.flash_mode = ${common.flash_mode}
  998. lib_deps = ${common.lib_deps}
  999. lib_ignore = ${common.lib_ignore}
  1000. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NO
  1001. upload_speed = ${common.upload_speed}
  1002. upload_port = ${common.upload_port}
  1003. upload_flags = ${common.upload_flags}
  1004. monitor_speed = ${common.monitor_speed}
  1005. extra_scripts = ${common.extra_scripts}
  1006. [env:openenergymonitor-mqtt-relay]
  1007. platform = ${common.platform}
  1008. framework = ${common.framework}
  1009. board = ${common.board_4m}
  1010. board_build.flash_mode = ${common.flash_mode}
  1011. lib_deps = ${common.lib_deps}
  1012. lib_ignore = ${common.lib_ignore}
  1013. build_flags = ${common.build_flags_4m1m} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  1014. monitor_speed = ${common.monitor_speed}
  1015. extra_scripts = ${common.extra_scripts}
  1016. [env:openenergymonitor-mqtt-relay-ota]
  1017. platform = ${common.platform}
  1018. framework = ${common.framework}
  1019. board = ${common.board_4m}
  1020. board_build.flash_mode = ${common.flash_mode}
  1021. lib_deps = ${common.lib_deps}
  1022. lib_ignore = ${common.lib_ignore}
  1023. build_flags = ${common.build_flags_4m1m} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  1024. upload_speed = ${common.upload_speed}
  1025. upload_port = ${common.upload_port}
  1026. upload_flags = ${common.upload_flags}
  1027. monitor_speed = ${common.monitor_speed}
  1028. extra_scripts = ${common.extra_scripts}
  1029. [env:jorgegarcia-wifi-relays]
  1030. platform = ${common.platform}
  1031. framework = ${common.framework}
  1032. board = ${common.board_1m}
  1033. board_build.flash_mode = ${common.flash_mode}
  1034. lib_deps = ${common.lib_deps}
  1035. lib_ignore = ${common.lib_ignore}
  1036. build_flags = ${common.build_flags_1m0m} -DJORGEGARCIA_WIFI_RELAYS
  1037. monitor_speed = ${common.monitor_speed}
  1038. extra_scripts = ${common.extra_scripts}
  1039. [env:jorgegarcia-wifi-relays-ota]
  1040. platform = ${common.platform}
  1041. framework = ${common.framework}
  1042. board = ${common.board_1m}
  1043. board_build.flash_mode = ${common.flash_mode}
  1044. lib_deps = ${common.lib_deps}
  1045. lib_ignore = ${common.lib_ignore}
  1046. build_flags = ${common.build_flags_1m0m} -DJORGEGARCIA_WIFI_RELAYS
  1047. upload_speed = ${common.upload_speed}
  1048. upload_port = ${common.upload_port}
  1049. upload_flags = ${common.upload_flags}
  1050. monitor_speed = ${common.monitor_speed}
  1051. extra_scripts = ${common.extra_scripts}
  1052. [env:aithinker-ai-light]
  1053. platform = ${common.platform}
  1054. framework = ${common.framework}
  1055. board = ${common.board_1m}
  1056. board_build.flash_mode = ${common.flash_mode}
  1057. lib_deps = ${common.lib_deps}
  1058. lib_ignore = ${common.lib_ignore}
  1059. build_flags = ${common.build_flags_1m0m} -DAITHINKER_AI_LIGHT
  1060. monitor_speed = ${common.monitor_speed}
  1061. extra_scripts = ${common.extra_scripts}
  1062. [env:aithinker-ai-light-ota]
  1063. platform = ${common.platform}
  1064. framework = ${common.framework}
  1065. board = ${common.board_1m}
  1066. board_build.flash_mode = ${common.flash_mode}
  1067. lib_deps = ${common.lib_deps}
  1068. lib_ignore = ${common.lib_ignore}
  1069. build_flags = ${common.build_flags_1m0m} -DAITHINKER_AI_LIGHT
  1070. upload_speed = ${common.upload_speed}
  1071. upload_port = ${common.upload_port}
  1072. upload_flags = ${common.upload_flags}
  1073. monitor_speed = ${common.monitor_speed}
  1074. extra_scripts = ${common.extra_scripts}
  1075. [env:magichome-led-controller]
  1076. platform = ${common.platform}
  1077. framework = ${common.framework}
  1078. board = ${common.board_1m}
  1079. board_build.flash_mode = ${common.flash_mode}
  1080. lib_deps = ${common.lib_deps}
  1081. lib_ignore = ${common.lib_ignore}
  1082. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER
  1083. monitor_speed = ${common.monitor_speed}
  1084. extra_scripts = ${common.extra_scripts}
  1085. [env:magichome-led-controller-ota]
  1086. platform = ${common.platform}
  1087. framework = ${common.framework}
  1088. board = ${common.board_1m}
  1089. board_build.flash_mode = ${common.flash_mode}
  1090. lib_deps = ${common.lib_deps}
  1091. lib_ignore = ${common.lib_ignore}
  1092. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER
  1093. upload_speed = ${common.upload_speed}
  1094. upload_port = ${common.upload_port}
  1095. upload_flags = ${common.upload_flags}
  1096. monitor_speed = ${common.monitor_speed}
  1097. extra_scripts = ${common.extra_scripts}
  1098. [env:magichome-led-controller-20]
  1099. platform = ${common.platform}
  1100. framework = ${common.framework}
  1101. board = ${common.board_1m}
  1102. board_build.flash_mode = ${common.flash_mode}
  1103. lib_deps = ${common.lib_deps}
  1104. lib_ignore = ${common.lib_ignore}
  1105. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER_20
  1106. monitor_speed = ${common.monitor_speed}
  1107. extra_scripts = ${common.extra_scripts}
  1108. [env:magichome-led-controller-20-ota]
  1109. platform = ${common.platform}
  1110. framework = ${common.framework}
  1111. board = ${common.board_1m}
  1112. board_build.flash_mode = ${common.flash_mode}
  1113. lib_deps = ${common.lib_deps}
  1114. lib_ignore = ${common.lib_ignore}
  1115. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER_20
  1116. upload_port = ${common.upload_port}
  1117. upload_flags = ${common.upload_flags}
  1118. monitor_speed = ${common.monitor_speed}
  1119. extra_scripts = ${common.extra_scripts}
  1120. [env:huacanxing-h801]
  1121. platform = ${common.platform}
  1122. framework = ${common.framework}
  1123. board = ${common.board_1m}
  1124. board_build.flash_mode = ${common.flash_mode}
  1125. lib_deps = ${common.lib_deps}
  1126. lib_ignore = ${common.lib_ignore}
  1127. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H801
  1128. monitor_speed = ${common.monitor_speed}
  1129. extra_scripts = ${common.extra_scripts}
  1130. [env:huacanxing-h801-ota]
  1131. platform = ${common.platform}
  1132. framework = ${common.framework}
  1133. board = ${common.board_1m}
  1134. board_build.flash_mode = ${common.flash_mode}
  1135. lib_deps = ${common.lib_deps}
  1136. lib_ignore = ${common.lib_ignore}
  1137. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H801
  1138. upload_speed = ${common.upload_speed}
  1139. upload_port = ${common.upload_port}
  1140. upload_flags = ${common.upload_flags}
  1141. monitor_speed = ${common.monitor_speed}
  1142. extra_scripts = ${common.extra_scripts}
  1143. [env:huacanxing-h802]
  1144. platform = ${common.platform}
  1145. framework = ${common.framework}
  1146. board = ${common.board_1m}
  1147. board_build.flash_mode = ${common.flash_mode}
  1148. lib_deps = ${common.lib_deps}
  1149. lib_ignore = ${common.lib_ignore}
  1150. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H802
  1151. monitor_speed = ${common.monitor_speed}
  1152. extra_scripts = ${common.extra_scripts}
  1153. [env:huacanxing-h802-ota]
  1154. platform = ${common.platform}
  1155. framework = ${common.framework}
  1156. board = ${common.board_1m}
  1157. board_build.flash_mode = ${common.flash_mode}
  1158. lib_deps = ${common.lib_deps}
  1159. lib_ignore = ${common.lib_ignore}
  1160. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H802
  1161. upload_speed = ${common.upload_speed}
  1162. upload_port = ${common.upload_port}
  1163. upload_flags = ${common.upload_flags}
  1164. monitor_speed = ${common.monitor_speed}
  1165. extra_scripts = ${common.extra_scripts}
  1166. [env:arilux-al-lc01]
  1167. platform = ${common.platform}
  1168. framework = ${common.framework}
  1169. board = ${common.board_1m}
  1170. board_build.flash_mode = ${common.flash_mode}
  1171. lib_deps = ${common.lib_deps}
  1172. lib_ignore = ${common.lib_ignore}
  1173. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC01
  1174. monitor_speed = ${common.monitor_speed}
  1175. extra_scripts = ${common.extra_scripts}
  1176. [env:arilux-al-lc01-ota]
  1177. platform = ${common.platform}
  1178. framework = ${common.framework}
  1179. board = ${common.board_1m}
  1180. board_build.flash_mode = ${common.flash_mode}
  1181. lib_deps = ${common.lib_deps}
  1182. lib_ignore = ${common.lib_ignore}
  1183. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC01
  1184. upload_speed = ${common.upload_speed}
  1185. upload_port = ${common.upload_port}
  1186. upload_flags = ${common.upload_flags}
  1187. monitor_speed = ${common.monitor_speed}
  1188. extra_scripts = ${common.extra_scripts}
  1189. [env:arilux-al-lc02]
  1190. platform = ${common.platform}
  1191. framework = ${common.framework}
  1192. board = ${common.board_1m}
  1193. board_build.flash_mode = ${common.flash_mode}
  1194. lib_deps = ${common.lib_deps}
  1195. lib_ignore = ${common.lib_ignore}
  1196. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02
  1197. monitor_speed = ${common.monitor_speed}
  1198. extra_scripts = ${common.extra_scripts}
  1199. [env:arilux-al-lc02-ota]
  1200. platform = ${common.platform}
  1201. framework = ${common.framework}
  1202. board = ${common.board_1m}
  1203. board_build.flash_mode = ${common.flash_mode}
  1204. lib_deps = ${common.lib_deps}
  1205. lib_ignore = ${common.lib_ignore}
  1206. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02
  1207. upload_speed = ${common.upload_speed}
  1208. upload_port = ${common.upload_port}
  1209. upload_flags = ${common.upload_flags}
  1210. monitor_speed = ${common.monitor_speed}
  1211. extra_scripts = ${common.extra_scripts}
  1212. [env:arilux-al-lc06]
  1213. platform = ${common.platform}
  1214. framework = ${common.framework}
  1215. board = ${common.board_1m}
  1216. board_build.flash_mode = ${common.flash_mode}
  1217. lib_deps = ${common.lib_deps}
  1218. lib_ignore = ${common.lib_ignore}
  1219. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC06
  1220. monitor_speed = ${common.monitor_speed}
  1221. extra_scripts = ${common.extra_scripts}
  1222. [env:arilux-al-lc06-ota]
  1223. platform = ${common.platform}
  1224. framework = ${common.framework}
  1225. board = ${common.board_1m}
  1226. board_build.flash_mode = ${common.flash_mode}
  1227. lib_deps = ${common.lib_deps}
  1228. lib_ignore = ${common.lib_ignore}
  1229. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC06
  1230. upload_speed = ${common.upload_speed}
  1231. upload_port = ${common.upload_port}
  1232. upload_flags = ${common.upload_flags}
  1233. monitor_speed = ${common.monitor_speed}
  1234. extra_scripts = ${common.extra_scripts}
  1235. [env:arilux-al-lc11]
  1236. platform = ${common.platform}
  1237. framework = ${common.framework}
  1238. board = ${common.board_1m}
  1239. board_build.flash_mode = ${common.flash_mode}
  1240. lib_deps = ${common.lib_deps}
  1241. lib_ignore = ${common.lib_ignore}
  1242. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC11
  1243. monitor_speed = ${common.monitor_speed}
  1244. extra_scripts = ${common.extra_scripts}
  1245. [env:arilux-al-lc11-ota]
  1246. platform = ${common.platform}
  1247. framework = ${common.framework}
  1248. board = ${common.board_1m}
  1249. board_build.flash_mode = ${common.flash_mode}
  1250. lib_deps = ${common.lib_deps}
  1251. lib_ignore = ${common.lib_ignore}
  1252. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC11
  1253. upload_speed = ${common.upload_speed}
  1254. upload_port = ${common.upload_port}
  1255. upload_flags = ${common.upload_flags}
  1256. monitor_speed = ${common.monitor_speed}
  1257. extra_scripts = ${common.extra_scripts}
  1258. [env:arilux-e27]
  1259. platform = ${common.platform}
  1260. framework = ${common.framework}
  1261. board = ${common.board_1m}
  1262. board_build.flash_mode = ${common.flash_mode}
  1263. lib_deps = ${common.lib_deps}
  1264. lib_ignore = ${common.lib_ignore}
  1265. build_flags = ${common.build_flags_1m0m} -DARILUX_E27
  1266. monitor_speed = ${common.monitor_speed}
  1267. extra_scripts = ${common.extra_scripts}
  1268. [env:arilux-e27-ota]
  1269. platform = ${common.platform}
  1270. framework = ${common.framework}
  1271. board = ${common.board_1m}
  1272. board_build.flash_mode = ${common.flash_mode}
  1273. lib_deps = ${common.lib_deps}
  1274. lib_ignore = ${common.lib_ignore}
  1275. build_flags = ${common.build_flags_1m0m} -DARILUX_E27
  1276. upload_speed = ${common.upload_speed}
  1277. upload_port = ${common.upload_port}
  1278. upload_flags = ${common.upload_flags}
  1279. monitor_speed = ${common.monitor_speed}
  1280. extra_scripts = ${common.extra_scripts}
  1281. [env:itead-bnsz01]
  1282. platform = ${common.platform}
  1283. framework = ${common.framework}
  1284. board = ${common.board_1m}
  1285. board_build.flash_mode = ${common.flash_mode}
  1286. lib_deps = ${common.lib_deps}
  1287. lib_ignore = ${common.lib_ignore}
  1288. build_flags = ${common.build_flags_1m0m} -DITEAD_BNSZ01
  1289. monitor_speed = ${common.monitor_speed}
  1290. extra_scripts = ${common.extra_scripts}
  1291. [env:itead-bnsz01-ota]
  1292. platform = ${common.platform}
  1293. framework = ${common.framework}
  1294. board = ${common.board_1m}
  1295. board_build.flash_mode = ${common.flash_mode}
  1296. lib_deps = ${common.lib_deps}
  1297. lib_ignore = ${common.lib_ignore}
  1298. build_flags = ${common.build_flags_1m0m} -DITEAD_BNSZ01
  1299. upload_speed = ${common.upload_speed}
  1300. upload_port = ${common.upload_port}
  1301. upload_flags = ${common.upload_flags}
  1302. monitor_speed = ${common.monitor_speed}
  1303. extra_scripts = ${common.extra_scripts}
  1304. [env:wion-50055]
  1305. platform = ${common.platform}
  1306. framework = ${common.framework}
  1307. board = ${common.board_1m}
  1308. board_build.flash_mode = ${common.flash_mode}
  1309. lib_deps = ${common.lib_deps}
  1310. lib_ignore = ${common.lib_ignore}
  1311. build_flags = ${common.build_flags_1m0m} -DWION_50055
  1312. monitor_speed = ${common.monitor_speed}
  1313. extra_scripts = ${common.extra_scripts}
  1314. [env:wion-50055-ota]
  1315. platform = ${common.platform}
  1316. framework = ${common.framework}
  1317. board = ${common.board_1m}
  1318. board_build.flash_mode = ${common.flash_mode}
  1319. lib_deps = ${common.lib_deps}
  1320. lib_ignore = ${common.lib_ignore}
  1321. build_flags = ${common.build_flags_1m0m} -DWION_50055
  1322. upload_speed = ${common.upload_speed}
  1323. upload_port = ${common.upload_port}
  1324. upload_flags = ${common.upload_flags}
  1325. monitor_speed = ${common.monitor_speed}
  1326. extra_scripts = ${common.extra_scripts}
  1327. [env:exs-wifi-relay-v31]
  1328. platform = ${common.platform}
  1329. framework = ${common.framework}
  1330. board = ${common.board_4m}
  1331. board_build.flash_mode = ${common.flash_mode}
  1332. lib_deps = ${common.lib_deps}
  1333. lib_ignore = ${common.lib_ignore}
  1334. build_flags = ${common.build_flags_4m1m} -DEXS_WIFI_RELAY_V31
  1335. monitor_speed = ${common.monitor_speed}
  1336. extra_scripts = ${common.extra_scripts}
  1337. [env:exs-wifi-relay-v31-ota]
  1338. platform = ${common.platform}
  1339. framework = ${common.framework}
  1340. board = ${common.board_4m}
  1341. board_build.flash_mode = ${common.flash_mode}
  1342. lib_deps = ${common.lib_deps}
  1343. lib_ignore = ${common.lib_ignore}
  1344. build_flags = ${common.build_flags_4m1m} -DEXS_WIFI_RELAY_V31
  1345. upload_speed = ${common.upload_speed}
  1346. upload_port = ${common.upload_port}
  1347. upload_flags = ${common.upload_flags}
  1348. monitor_speed = ${common.monitor_speed}
  1349. extra_scripts = ${common.extra_scripts}
  1350. [env:wemos-v9261f]
  1351. platform = ${common.platform}
  1352. framework = ${common.framework}
  1353. board = ${common.board_4m}
  1354. board_build.flash_mode = ${common.flash_mode}
  1355. lib_deps = ${common.lib_deps}
  1356. lib_ignore = ${common.lib_ignore}
  1357. build_flags = ${common.build_flags_4m1m} -DGENERIC_V9261F
  1358. upload_speed = ${common.upload_speed_fast}
  1359. monitor_speed = ${common.monitor_speed}
  1360. extra_scripts = ${common.extra_scripts}
  1361. [env:wemos-v9261f-ota]
  1362. platform = ${common.platform}
  1363. framework = ${common.framework}
  1364. board = ${common.board_4m}
  1365. board_build.flash_mode = ${common.flash_mode}
  1366. lib_deps = ${common.lib_deps}
  1367. lib_ignore = ${common.lib_ignore}
  1368. build_flags = ${common.build_flags_4m1m} -DGENERIC_V9261F
  1369. upload_speed = ${common.upload_speed}
  1370. upload_port = ${common.upload_port}
  1371. upload_flags = ${common.upload_flags}
  1372. monitor_speed = ${common.monitor_speed}
  1373. extra_scripts = ${common.extra_scripts}
  1374. [env:esp01-v9261f]
  1375. platform = ${common.platform}
  1376. framework = ${common.framework}
  1377. board = ${common.board_1m}
  1378. board_build.flash_mode = ${common.flash_mode}
  1379. lib_deps = ${common.lib_deps}
  1380. lib_ignore = ${common.lib_ignore}
  1381. build_flags = ${common.build_flags_1m0m} -DGENERIC_V9261F
  1382. monitor_speed = ${common.monitor_speed}
  1383. extra_scripts = ${common.extra_scripts}
  1384. [env:esp01-v9261f-ota]
  1385. platform = ${common.platform}
  1386. framework = ${common.framework}
  1387. board = ${common.board_1m}
  1388. board_build.flash_mode = ${common.flash_mode}
  1389. lib_deps = ${common.lib_deps}
  1390. lib_ignore = ${common.lib_ignore}
  1391. build_flags = ${common.build_flags_1m0m} -DGENERIC_V9261F
  1392. upload_speed = ${common.upload_speed}
  1393. upload_port = ${common.upload_port}
  1394. upload_flags = ${common.upload_flags}
  1395. monitor_speed = ${common.monitor_speed}
  1396. extra_scripts = ${common.extra_scripts}
  1397. [env:wemos-ech1560]
  1398. platform = ${common.platform}
  1399. framework = ${common.framework}
  1400. board = ${common.board_4m}
  1401. board_build.flash_mode = ${common.flash_mode}
  1402. lib_deps = ${common.lib_deps}
  1403. lib_ignore = ${common.lib_ignore}
  1404. build_flags = ${common.build_flags_4m1m} -DGENERIC_ECH1560
  1405. upload_speed = ${common.upload_speed_fast}
  1406. monitor_speed = ${common.monitor_speed}
  1407. extra_scripts = ${common.extra_scripts}
  1408. [env:wemos-ech1560-ota]
  1409. platform = ${common.platform}
  1410. framework = ${common.framework}
  1411. board = ${common.board_4m}
  1412. board_build.flash_mode = ${common.flash_mode}
  1413. lib_deps = ${common.lib_deps}
  1414. lib_ignore = ${common.lib_ignore}
  1415. build_flags = ${common.build_flags_4m1m} -DGENERIC_ECH1560
  1416. upload_speed = ${common.upload_speed}
  1417. upload_port = ${common.upload_port}
  1418. upload_flags = ${common.upload_flags}
  1419. monitor_speed = ${common.monitor_speed}
  1420. extra_scripts = ${common.extra_scripts}
  1421. [env:esp01-ech1560]
  1422. platform = ${common.platform}
  1423. framework = ${common.framework}
  1424. board = ${common.board_1m}
  1425. board_build.flash_mode = ${common.flash_mode}
  1426. lib_deps = ${common.lib_deps}
  1427. lib_ignore = ${common.lib_ignore}
  1428. build_flags = ${common.build_flags_1m0m} -DGENERIC_ECH1560
  1429. monitor_speed = ${common.monitor_speed}
  1430. extra_scripts = ${common.extra_scripts}
  1431. [env:esp01-ech1560-ota]
  1432. platform = ${common.platform}
  1433. framework = ${common.framework}
  1434. board = ${common.board_1m}
  1435. board_build.flash_mode = ${common.flash_mode}
  1436. lib_deps = ${common.lib_deps}
  1437. lib_ignore = ${common.lib_ignore}
  1438. build_flags = ${common.build_flags_1m0m} -DGENERIC_ECH1560
  1439. upload_speed = ${common.upload_speed}
  1440. upload_port = ${common.upload_port}
  1441. upload_flags = ${common.upload_flags}
  1442. monitor_speed = ${common.monitor_speed}
  1443. extra_scripts = ${common.extra_scripts}
  1444. [env:mancavemade-esplive]
  1445. platform = ${common.platform}
  1446. framework = ${common.framework}
  1447. board = ${common.board_4m}
  1448. board_build.flash_mode = ${common.flash_mode}
  1449. lib_deps = ${common.lib_deps}
  1450. lib_ignore = ${common.lib_ignore}
  1451. build_flags = ${common.build_flags_4m1m} -DMANCAVEMADE_ESPLIVE
  1452. upload_speed = ${common.upload_speed_fast}
  1453. monitor_speed = ${common.monitor_speed}
  1454. extra_scripts = ${common.extra_scripts}
  1455. [env:mancavemade-esplive-ota]
  1456. platform = ${common.platform}
  1457. framework = ${common.framework}
  1458. board = ${common.board_4m}
  1459. board_build.flash_mode = ${common.flash_mode}
  1460. lib_deps = ${common.lib_deps}
  1461. lib_ignore = ${common.lib_ignore}
  1462. build_flags = ${common.build_flags_4m1m} -DMANCAVEMADE_ESPLIVE
  1463. upload_speed = ${common.upload_speed_fast}
  1464. upload_port = ${common.upload_port}
  1465. upload_flags = ${common.upload_flags}
  1466. monitor_speed = ${common.monitor_speed}
  1467. extra_scripts = ${common.extra_scripts}
  1468. [env:intermittech-quinled]
  1469. platform = ${common.platform}
  1470. framework = ${common.framework}
  1471. board = ${common.board_1m}
  1472. board_build.flash_mode = ${common.flash_mode}
  1473. lib_deps = ${common.lib_deps}
  1474. lib_ignore = ${common.lib_ignore}
  1475. build_flags = ${common.build_flags_1m0m} -DINTERMITTECH_QUINLED
  1476. monitor_speed = ${common.monitor_speed}
  1477. extra_scripts = ${common.extra_scripts}
  1478. [env:intermittech-quinled-ota]
  1479. platform = ${common.platform}
  1480. framework = ${common.framework}
  1481. board = ${common.board_1m}
  1482. board_build.flash_mode = ${common.flash_mode}
  1483. lib_deps = ${common.lib_deps}
  1484. lib_ignore = ${common.lib_ignore}
  1485. build_flags = ${common.build_flags_1m0m} -DINTERMITTECH_QUINLED
  1486. upload_speed = ${common.upload_speed}
  1487. upload_port = ${common.upload_port}
  1488. upload_flags = ${common.upload_flags}
  1489. monitor_speed = ${common.monitor_speed}
  1490. extra_scripts = ${common.extra_scripts}
  1491. [env:xenon-sm-pw702u]
  1492. platform = ${common.platform}
  1493. framework = ${common.framework}
  1494. board = ${common.board_1m}
  1495. board_build.flash_mode = ${common.flash_mode}
  1496. lib_deps = ${common.lib_deps}
  1497. lib_ignore = ${common.lib_ignore}
  1498. build_flags = ${common.build_flags_1m0m} -DXENON_SM_PW702U
  1499. monitor_speed = ${common.monitor_speed}
  1500. extra_scripts = ${common.extra_scripts}
  1501. [env:xenon-sm-pw702u-ota]
  1502. platform = ${common.platform}
  1503. framework = ${common.framework}
  1504. board = ${common.board_1m}
  1505. board_build.flash_mode = ${common.flash_mode}
  1506. lib_deps = ${common.lib_deps}
  1507. lib_ignore = ${common.lib_ignore}
  1508. build_flags = ${common.build_flags_1m0m} -DXENON_SM_PW702U
  1509. upload_speed = ${common.upload_speed}
  1510. upload_port = ${common.upload_port}
  1511. upload_flags = ${common.upload_flags}
  1512. monitor_speed = ${common.monitor_speed}
  1513. extra_scripts = ${common.extra_scripts}
  1514. [env:authometion-lyt8266]
  1515. platform = ${common.platform}
  1516. framework = ${common.framework}
  1517. board = ${common.board_1m}
  1518. board_build.flash_mode = ${common.flash_mode}
  1519. lib_deps = ${common.lib_deps}
  1520. lib_ignore = ${common.lib_ignore}
  1521. build_flags = ${common.build_flags_1m0m} -DAUTHOMETION_LYT8266
  1522. monitor_speed = ${common.monitor_speed}
  1523. extra_scripts = ${common.extra_scripts}
  1524. [env:authometion-lyt8266-ota]
  1525. platform = ${common.platform}
  1526. framework = ${common.framework}
  1527. board = ${common.board_1m}
  1528. board_build.flash_mode = ${common.flash_mode}
  1529. lib_deps = ${common.lib_deps}
  1530. lib_ignore = ${common.lib_ignore}
  1531. build_flags = ${common.build_flags_1m0m} -DAUTHOMETION_LYT8266
  1532. upload_speed = ${common.upload_speed}
  1533. upload_port = ${common.upload_port}
  1534. upload_flags = ${common.upload_flags}
  1535. monitor_speed = ${common.monitor_speed}
  1536. extra_scripts = ${common.extra_scripts}
  1537. [env:kmc-70011]
  1538. platform = ${common.platform}
  1539. framework = ${common.framework}
  1540. board = ${common.board_1m}
  1541. board_build.flash_mode = ${common.flash_mode}
  1542. lib_deps = ${common.lib_deps}
  1543. lib_ignore = ${common.lib_ignore}
  1544. build_flags = ${common.build_flags_1m0m} -DKMC_70011
  1545. monitor_speed = ${common.monitor_speed}
  1546. extra_scripts = ${common.extra_scripts}
  1547. [env:kmc-70011-ota]
  1548. platform = ${common.platform}
  1549. framework = ${common.framework}
  1550. board = ${common.board_1m}
  1551. board_build.flash_mode = ${common.flash_mode}
  1552. lib_deps = ${common.lib_deps}
  1553. lib_ignore = ${common.lib_ignore}
  1554. build_flags = ${common.build_flags_1m0m} -DKMC_70011
  1555. upload_speed = ${common.upload_speed}
  1556. upload_port = ${common.upload_port}
  1557. upload_flags = ${common.upload_flags}
  1558. monitor_speed = ${common.monitor_speed}
  1559. extra_scripts = ${common.extra_scripts}
  1560. [env:yjzk-switch-2ch]
  1561. platform = ${common.platform}
  1562. framework = ${common.framework}
  1563. board = ${common.board_1m}
  1564. board_build.flash_mode = ${common.flash_mode}
  1565. lib_deps = ${common.lib_deps}
  1566. lib_ignore = ${common.lib_ignore}
  1567. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_2CH
  1568. monitor_speed = ${common.monitor_speed}
  1569. extra_scripts = ${common.extra_scripts}
  1570. [env:yjzk-switch-2ch-ota]
  1571. platform = ${common.platform}
  1572. framework = ${common.framework}
  1573. board = ${common.board_1m}
  1574. board_build.flash_mode = ${common.flash_mode}
  1575. lib_deps = ${common.lib_deps}
  1576. lib_ignore = ${common.lib_ignore}
  1577. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_2CH
  1578. upload_speed = ${common.upload_speed}
  1579. upload_port = ${common.upload_port}
  1580. upload_flags = ${common.upload_flags}
  1581. monitor_speed = ${common.monitor_speed}
  1582. extra_scripts = ${common.extra_scripts}
  1583. [env:generic-8ch]
  1584. platform = ${common.platform}
  1585. framework = ${common.framework}
  1586. board = ${common.board_4m}
  1587. board_build.flash_mode = ${common.flash_mode}
  1588. lib_deps = ${common.lib_deps}
  1589. lib_ignore = ${common.lib_ignore}
  1590. build_flags = ${common.build_flags_4m1m} -DGENERIC_8CH
  1591. upload_speed = ${common.upload_speed_fast}
  1592. monitor_speed = ${common.monitor_speed}
  1593. extra_scripts = ${common.extra_scripts}
  1594. [env:gizwits-witty-cloud]
  1595. platform = ${common.platform}
  1596. framework = ${common.framework}
  1597. board = ${common.board_4m}
  1598. board_build.flash_mode = ${common.flash_mode}
  1599. lib_deps = ${common.lib_deps}
  1600. lib_ignore = ${common.lib_ignore}
  1601. build_flags = ${common.build_flags_4m1m} -DGIZWITS_WITTY_CLOUD
  1602. monitor_speed = ${common.monitor_speed}
  1603. extra_scripts = ${common.extra_scripts}
  1604. [env:gizwits-witty-cloud-ota]
  1605. platform = ${common.platform}
  1606. framework = ${common.framework}
  1607. board = ${common.board_4m}
  1608. board_build.flash_mode = ${common.flash_mode}
  1609. lib_deps = ${common.lib_deps}
  1610. lib_ignore = ${common.lib_ignore}
  1611. build_flags = ${common.build_flags_4m1m} -DGIZWITS_WITTY_CLOUD
  1612. upload_speed = ${common.upload_speed}
  1613. upload_port = ${common.upload_port}
  1614. upload_flags = ${common.upload_flags}
  1615. extra_scripts = ${common.extra_scripts}
  1616. [env:euromate-wifi-stecker-shuko]
  1617. platform = ${common.platform}
  1618. framework = ${common.framework}
  1619. board = ${common.board_1m}
  1620. board_build.flash_mode = ${common.flash_mode}
  1621. lib_deps = ${common.lib_deps}
  1622. lib_ignore = ${common.lib_ignore}
  1623. build_flags = ${common.build_flags_1m0m} -DEUROMATE_WIFI_STECKER_SCHUKO
  1624. monitor_speed = ${common.monitor_speed}
  1625. extra_scripts = ${common.extra_scripts}
  1626. [env:euromate-wifi-stecker-shuko-ota]
  1627. platform = ${common.platform}
  1628. framework = ${common.framework}
  1629. board = ${common.board_1m}
  1630. board_build.flash_mode = ${common.flash_mode}
  1631. lib_deps = ${common.lib_deps}
  1632. lib_ignore = ${common.lib_ignore}
  1633. build_flags = ${common.build_flags_1m0m} -DEUROMATE_WIFI_STECKER_SCHUKO
  1634. upload_speed = ${common.upload_speed}
  1635. upload_port = ${common.upload_port}
  1636. upload_flags = ${common.upload_flags}
  1637. extra_scripts = ${common.extra_scripts}
  1638. [env:tonbux-powerstrip02]
  1639. platform = ${common.platform}
  1640. framework = ${common.framework}
  1641. board = ${common.board_1m}
  1642. board_build.flash_mode = ${common.flash_mode}
  1643. lib_deps = ${common.lib_deps}
  1644. lib_ignore = ${common.lib_ignore}
  1645. build_flags = ${common.build_flags_1m0m} -DTONBUX_POWERSTRIP02
  1646. monitor_speed = ${common.monitor_speed}
  1647. extra_scripts = ${common.extra_scripts}
  1648. [env:tonbux-powerstrip02-ota]
  1649. platform = ${common.platform}
  1650. framework = ${common.framework}
  1651. board = ${common.board_1m}
  1652. board_build.flash_mode = ${common.flash_mode}
  1653. lib_deps = ${common.lib_deps}
  1654. lib_ignore = ${common.lib_ignore}
  1655. build_flags = ${common.build_flags_1m0m} -DTONBUX_POWERSTRIP02
  1656. upload_speed = ${common.upload_speed}
  1657. upload_port = ${common.upload_port}
  1658. upload_flags = ${common.upload_flags}
  1659. extra_scripts = ${common.extra_scripts}
  1660. [env:lingan-swa1]
  1661. platform = ${common.platform}
  1662. framework = ${common.framework}
  1663. board = ${common.board_1m}
  1664. board_build.flash_mode = ${common.flash_mode}
  1665. lib_deps = ${common.lib_deps}
  1666. lib_ignore = ${common.lib_ignore}
  1667. build_flags = ${common.build_flags_1m0m} -DLINGAN_SWA1
  1668. monitor_speed = ${common.monitor_speed}
  1669. extra_scripts = ${common.extra_scripts}
  1670. [env:lingan-swa1-ota]
  1671. platform = ${common.platform}
  1672. framework = ${common.framework}
  1673. board = ${common.board_1m}
  1674. board_build.flash_mode = ${common.flash_mode}
  1675. lib_deps = ${common.lib_deps}
  1676. lib_ignore = ${common.lib_ignore}
  1677. build_flags = ${common.build_flags_1m0m} -DLINGAN_SWA1
  1678. upload_speed = ${common.upload_speed}
  1679. upload_port = ${common.upload_port}
  1680. upload_flags = ${common.upload_flags}
  1681. extra_scripts = ${common.extra_scripts}
  1682. [env:stm-relay]
  1683. platform = ${common.platform}
  1684. framework = ${common.framework}
  1685. board = ${common.board_1m}
  1686. board_build.flash_mode = ${common.flash_mode}
  1687. lib_deps = ${common.lib_deps}
  1688. lib_ignore = ${common.lib_ignore}
  1689. build_flags = ${common.build_flags_1m0m} -DSTM_RELAY
  1690. monitor_speed = ${common.monitor_speed}
  1691. extra_scripts = ${common.extra_scripts}
  1692. [env:stm-relay-ota]
  1693. platform = ${common.platform}
  1694. framework = ${common.framework}
  1695. board = ${common.board_1m}
  1696. board_build.flash_mode = ${common.flash_mode}
  1697. lib_deps = ${common.lib_deps}
  1698. lib_ignore = ${common.lib_ignore}
  1699. build_flags = ${common.build_flags_1m0m} -DSTM_RELAY
  1700. upload_speed = ${common.upload_speed}
  1701. upload_port = ${common.upload_port}
  1702. upload_flags = ${common.upload_flags}
  1703. monitor_speed = ${common.monitor_speed}
  1704. extra_scripts = ${common.extra_scripts}
  1705. [env:heygo-hy02]
  1706. platform = ${common.platform}
  1707. framework = ${common.framework}
  1708. board = ${common.board_1m}
  1709. board_build.flash_mode = ${common.flash_mode}
  1710. lib_deps = ${common.lib_deps}
  1711. lib_ignore = ${common.lib_ignore}
  1712. build_flags = ${common.build_flags_1m0m} -DHEYGO_HY02
  1713. monitor_speed = ${common.monitor_speed}
  1714. extra_scripts = ${common.extra_scripts}
  1715. [env:heygo-hy02-ota]
  1716. platform = ${common.platform}
  1717. framework = ${common.framework}
  1718. board = ${common.board_1m}
  1719. board_build.flash_mode = ${common.flash_mode}
  1720. lib_deps = ${common.lib_deps}
  1721. lib_ignore = ${common.lib_ignore}
  1722. build_flags = ${common.build_flags_1m0m} -DHEYGO_HY02
  1723. upload_speed = ${common.upload_speed}
  1724. upload_port = ${common.upload_port}
  1725. upload_flags = ${common.upload_flags}
  1726. extra_scripts = ${common.extra_scripts}
  1727. [env:maxcio-wus002s]
  1728. platform = ${common.platform}
  1729. framework = ${common.framework}
  1730. board = ${common.board_1m}
  1731. board_build.flash_mode = ${common.flash_mode}
  1732. lib_deps = ${common.lib_deps}
  1733. lib_ignore = ${common.lib_ignore}
  1734. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WUS002S
  1735. monitor_speed = ${common.monitor_speed}
  1736. extra_scripts = ${common.extra_scripts}
  1737. [env:maxcio-wus002s-ota]
  1738. platform = ${common.platform}
  1739. framework = ${common.framework}
  1740. board = ${common.board_1m}
  1741. board_build.flash_mode = ${common.flash_mode}
  1742. lib_deps = ${common.lib_deps}
  1743. lib_ignore = ${common.lib_ignore}
  1744. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WUS002S
  1745. upload_speed = ${common.upload_speed}
  1746. upload_port = ${common.upload_port}
  1747. upload_flags = ${common.upload_flags}
  1748. extra_scripts = ${common.extra_scripts}
  1749. [env:yidian-xsssa05]
  1750. platform = ${common.platform}
  1751. framework = ${common.framework}
  1752. board = ${common.board_1m}
  1753. board_build.flash_mode = ${common.flash_mode}
  1754. lib_deps = ${common.lib_deps}
  1755. lib_ignore = ${common.lib_ignore}
  1756. build_flags = ${common.build_flags_1m0m} -DYIDIAN_XSSSA05
  1757. monitor_speed = ${common.monitor_speed}
  1758. extra_scripts = ${common.extra_scripts}
  1759. [env:yidian-xsssa05-ota]
  1760. platform = ${common.platform}
  1761. framework = ${common.framework}
  1762. board = ${common.board_1m}
  1763. board_build.flash_mode = ${common.flash_mode}
  1764. lib_deps = ${common.lib_deps}
  1765. lib_ignore = ${common.lib_ignore}
  1766. build_flags = ${common.build_flags_1m0m} -DYIDIAN_XSSSA05
  1767. upload_speed = ${common.upload_speed}
  1768. upload_port = ${common.upload_port}
  1769. upload_flags = ${common.upload_flags}
  1770. extra_scripts = ${common.extra_scripts}
  1771. [env:tonbux-xsssa06]
  1772. platform = ${common.platform}
  1773. framework = ${common.framework}
  1774. board = ${common.board_1m}
  1775. board_build.flash_mode = ${common.flash_mode}
  1776. lib_deps = ${common.lib_deps}
  1777. lib_ignore = ${common.lib_ignore}
  1778. build_flags = ${common.build_flags_1m0m} -DTONBUX_XSSSA06
  1779. monitor_speed = ${common.monitor_speed}
  1780. extra_scripts = ${common.extra_scripts}
  1781. [env:tonbux-xsssa06-ota]
  1782. platform = ${common.platform}
  1783. framework = ${common.framework}
  1784. board = ${common.board_1m}
  1785. board_build.flash_mode = ${common.flash_mode}
  1786. lib_deps = ${common.lib_deps}
  1787. lib_ignore = ${common.lib_ignore}
  1788. build_flags = ${common.build_flags_1m0m} -DTONBUX_XSSSA06
  1789. upload_speed = ${common.upload_speed}
  1790. upload_port = ${common.upload_port}
  1791. upload_flags = ${common.upload_flags}
  1792. extra_scripts = ${common.extra_scripts}
  1793. [env:green-esp8266relay]
  1794. platform = ${common.platform}
  1795. framework = ${common.framework}
  1796. board = ${common.board_4m}
  1797. board_build.flash_mode = ${common.flash_mode}
  1798. lib_deps = ${common.lib_deps}
  1799. lib_ignore = ${common.lib_ignore}
  1800. build_flags = ${common.build_flags_4m1m} -DGREEN_ESP8266RELAY
  1801. monitor_speed = ${common.monitor_speed}
  1802. extra_scripts = ${common.extra_scripts}
  1803. [env:green-esp8266relay-ota]
  1804. platform = ${common.platform}
  1805. framework = ${common.framework}
  1806. board = ${common.board_4m}
  1807. board_build.flash_mode = ${common.flash_mode}
  1808. lib_deps = ${common.lib_deps}
  1809. lib_ignore = ${common.lib_ignore}
  1810. build_flags = ${common.build_flags_4m1m} -DGREEN_ESP8266RELAY
  1811. upload_speed = ${common.upload_speed}
  1812. upload_port = ${common.upload_port}
  1813. upload_flags = ${common.upload_flags}
  1814. extra_scripts = ${common.extra_scripts}
  1815. [env:ike-espike]
  1816. platform = ${common.platform}
  1817. framework = ${common.framework}
  1818. board = ${common.board_4m}
  1819. board_build.flash_mode = ${common.flash_mode}
  1820. lib_deps = ${common.lib_deps}
  1821. lib_ignore = ${common.lib_ignore}
  1822. build_flags = ${common.build_flags_4m1m} -DIKE_ESPIKE
  1823. monitor_speed = ${common.monitor_speed}
  1824. extra_scripts = ${common.extra_scripts}
  1825. [env:ike-espike-ota]
  1826. platform = ${common.platform}
  1827. framework = ${common.framework}
  1828. board = ${common.board_4m}
  1829. board_build.flash_mode = ${common.flash_mode}
  1830. lib_deps = ${common.lib_deps}
  1831. lib_ignore = ${common.lib_ignore}
  1832. build_flags = ${common.build_flags_4m1m} -DIKE_ESPIKE
  1833. upload_speed = ${common.upload_speed}
  1834. upload_port = ${common.upload_port}
  1835. upload_flags = ${common.upload_flags}
  1836. extra_scripts = ${common.extra_scripts}
  1837. [env:arniex-swifitch]
  1838. platform = ${common.platform}
  1839. framework = ${common.framework}
  1840. board = ${common.board_4m}
  1841. board_build.flash_mode = ${common.flash_mode}
  1842. lib_deps = ${common.lib_deps}
  1843. lib_ignore = ${common.lib_ignore}
  1844. build_flags = ${common.build_flags_4m1m} -DARNIEX_SWIFITCH
  1845. extra_scripts = ${common.extra_scripts}
  1846. monitor_speed = ${common.monitor_speed}
  1847. [env:arniex-swifitch-ota]
  1848. platform = ${common.platform}
  1849. framework = ${common.framework}
  1850. board = ${common.board_4m}
  1851. board_build.flash_mode = ${common.flash_mode}
  1852. lib_deps = ${common.lib_deps}
  1853. lib_ignore = ${common.lib_ignore}
  1854. build_flags = ${common.build_flags_4m1m} -DARNIEX_SWIFITCH
  1855. upload_speed = ${common.upload_speed}
  1856. upload_port = ${common.upload_port}
  1857. upload_flags = ${common.upload_flags}
  1858. extra_scripts = ${common.extra_scripts}
  1859. [env:zhilde-eu44-w]
  1860. platform = ${common.platform}
  1861. framework = ${common.framework}
  1862. board = ${common.board_1m}
  1863. board_build.flash_mode = ${common.flash_mode}
  1864. lib_deps = ${common.lib_deps}
  1865. lib_ignore = ${common.lib_ignore}
  1866. build_flags = ${common.build_flags_1m0m} -DZHILDE_EU44_W
  1867. monitor_speed = ${common.monitor_speed}
  1868. extra_scripts = ${common.extra_scripts}
  1869. [env:zhilde-eu44-w-ota]
  1870. platform = ${common.platform}
  1871. framework = ${common.framework}
  1872. board = ${common.board_1m}
  1873. board_build.flash_mode = ${common.flash_mode}
  1874. lib_deps = ${common.lib_deps}
  1875. lib_ignore = ${common.lib_ignore}
  1876. build_flags = ${common.build_flags_1m0m} -DZHILDE_EU44_W
  1877. upload_speed = ${common.upload_speed}
  1878. upload_port = ${common.upload_port}
  1879. upload_flags = ${common.upload_flags}
  1880. monitor_speed = ${common.monitor_speed}
  1881. extra_scripts = ${common.extra_scripts}
  1882. [env:luani-hvio]
  1883. platform = ${common.platform}
  1884. framework = ${common.framework}
  1885. board = ${common.board_1m}
  1886. board_build.flash_mode = ${common.flash_mode}
  1887. lib_deps = ${common.lib_deps}
  1888. lib_ignore = ${common.lib_ignore}
  1889. build_flags = ${common.build_flags_1m0m} -DLUANI_HVIO
  1890. monitor_speed = ${common.monitor_speed}
  1891. extra_scripts = ${common.extra_scripts}
  1892. [env:luani-hvio-ota]
  1893. platform = ${common.platform}
  1894. framework = ${common.framework}
  1895. board = ${common.board_1m}
  1896. board_build.flash_mode = ${common.flash_mode}
  1897. lib_deps = ${common.lib_deps}
  1898. lib_ignore = ${common.lib_ignore}
  1899. build_flags = ${common.build_flags_1m0m} -DLUANI_HVIO
  1900. upload_speed = ${common.upload_speed}
  1901. upload_port = ${common.upload_port}
  1902. upload_flags = ${common.upload_flags}
  1903. monitor_speed = ${common.monitor_speed}
  1904. extra_scripts = ${common.extra_scripts}
  1905. [env:neo-coolcam-power-plug-wifi]
  1906. platform = ${common.platform}
  1907. framework = ${common.framework}
  1908. board = ${common.board_1m}
  1909. board_build.flash_mode = ${common.flash_mode}
  1910. lib_deps = ${common.lib_deps}
  1911. lib_ignore = ${common.lib_ignore}
  1912. build_flags = ${common.build_flags_1m0m} -DNEO_COOLCAM_NAS_WR01W
  1913. monitor_speed = ${common.monitor_speed}
  1914. extra_scripts = ${common.extra_scripts}
  1915. [env:neo-coolcam-power-plug-wifi-ota]
  1916. platform = ${common.platform}
  1917. framework = ${common.framework}
  1918. board = ${common.board_1m}
  1919. board_build.flash_mode = ${common.flash_mode}
  1920. lib_deps = ${common.lib_deps}
  1921. lib_ignore = ${common.lib_ignore}
  1922. build_flags = ${common.build_flags_1m0m} -DNEO_COOLCAM_NAS_WR01W
  1923. upload_speed = ${common.upload_speed}
  1924. upload_port = ${common.upload_port}
  1925. upload_flags = ${common.upload_flags}
  1926. extra_scripts = ${common.extra_scripts}
  1927. [env:estink-wifi-power-strip]
  1928. platform = ${common.platform}
  1929. framework = ${common.framework}
  1930. board = ${common.board_1m}
  1931. board_build.flash_mode = ${common.flash_mode}
  1932. lib_deps = ${common.lib_deps}
  1933. lib_ignore = ${common.lib_ignore}
  1934. build_flags = ${common.build_flags_1m0m} -DESTINK_WIFI_POWER_STRIP
  1935. monitor_speed = ${common.monitor_speed}
  1936. extra_scripts = ${common.extra_scripts}
  1937. [env:estink-wifi-power-strip-ota]
  1938. platform = ${common.platform}
  1939. framework = ${common.framework}
  1940. board = ${common.board_1m}
  1941. board_build.flash_mode = ${common.flash_mode}
  1942. lib_deps = ${common.lib_deps}
  1943. lib_ignore = ${common.lib_ignore}
  1944. build_flags = ${common.build_flags_1m0m} -DESTINK_WIFI_POWER_STRIP
  1945. upload_speed = ${common.upload_speed}
  1946. upload_port = ${common.upload_port}
  1947. upload_flags = ${common.upload_flags}
  1948. extra_scripts = ${common.extra_scripts}
  1949. # ------------------------------------------------------------------------------
  1950. # GENERIC OTA ENVIRONMENTS
  1951. # ------------------------------------------------------------------------------
  1952. [env:generic-esp01s-relay-40]
  1953. platform = ${common.platform}
  1954. framework = ${common.framework}
  1955. board = ${common.board_1m}
  1956. board_build.flash_mode = ${common.flash_mode}
  1957. lib_deps = ${common.lib_deps}
  1958. lib_ignore = ${common.lib_ignore}
  1959. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40
  1960. monitor_speed = ${common.monitor_speed}
  1961. extra_scripts = ${common.extra_scripts}
  1962. [env:generic-esp01s-relay-40-ota]
  1963. platform = ${common.platform}
  1964. framework = ${common.framework}
  1965. board = ${common.board_1m}
  1966. board_build.flash_mode = ${common.flash_mode}
  1967. lib_deps = ${common.lib_deps}
  1968. lib_ignore = ${common.lib_ignore}
  1969. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40
  1970. upload_speed = ${common.upload_speed}
  1971. upload_port = ${common.upload_port}
  1972. upload_flags = ${common.upload_flags}
  1973. extra_scripts = ${common.extra_scripts}
  1974. [env:generic-esp01s-rgbled-10]
  1975. platform = ${common.platform}
  1976. framework = ${common.framework}
  1977. board = ${common.board_1m}
  1978. board_build.flash_mode = ${common.flash_mode}
  1979. lib_deps = ${common.lib_deps}
  1980. lib_ignore = ${common.lib_ignore}
  1981. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RGBLED_V10
  1982. monitor_speed = ${common.monitor_speed}
  1983. extra_scripts = ${common.extra_scripts}
  1984. [env:generic-esp01s-rgbled-10-ota]
  1985. platform = ${common.platform}
  1986. framework = ${common.framework}
  1987. board = ${common.board_1m}
  1988. board_build.flash_mode = ${common.flash_mode}
  1989. lib_deps = ${common.lib_deps}
  1990. lib_ignore = ${common.lib_ignore}
  1991. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RGBLED_V10
  1992. upload_speed = ${common.upload_speed}
  1993. upload_port = ${common.upload_port}
  1994. upload_flags = ${common.upload_flags}
  1995. extra_scripts = ${common.extra_scripts}
  1996. [env:generic-esp01s-dht11-10]
  1997. platform = ${common.platform}
  1998. framework = ${common.framework}
  1999. board = ${common.board_1m}
  2000. board_build.flash_mode = ${common.flash_mode}
  2001. lib_deps = ${common.lib_deps}
  2002. lib_ignore = ${common.lib_ignore}
  2003. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DHT11_V10
  2004. monitor_speed = ${common.monitor_speed}
  2005. extra_scripts = ${common.extra_scripts}
  2006. [env:generic-esp01s-dht11-10-ota]
  2007. platform = ${common.platform}
  2008. framework = ${common.framework}
  2009. board = ${common.board_1m}
  2010. board_build.flash_mode = ${common.flash_mode}
  2011. lib_deps = ${common.lib_deps}
  2012. lib_ignore = ${common.lib_ignore}
  2013. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DHT11_V10
  2014. upload_speed = ${common.upload_speed}
  2015. upload_port = ${common.upload_port}
  2016. upload_flags = ${common.upload_flags}
  2017. extra_scripts = ${common.extra_scripts}
  2018. [env:generic-esp01s-ds18b20-10]
  2019. platform = ${common.platform}
  2020. framework = ${common.framework}
  2021. board = ${common.board_1m}
  2022. board_build.flash_mode = ${common.flash_mode}
  2023. lib_deps = ${common.lib_deps}
  2024. lib_ignore = ${common.lib_ignore}
  2025. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DS18B20_V10
  2026. monitor_speed = ${common.monitor_speed}
  2027. extra_scripts = ${common.extra_scripts}
  2028. [env:generic-esp01s-ds18b20-10-ota]
  2029. platform = ${common.platform}
  2030. framework = ${common.framework}
  2031. board = ${common.board_1m}
  2032. board_build.flash_mode = ${common.flash_mode}
  2033. lib_deps = ${common.lib_deps}
  2034. lib_ignore = ${common.lib_ignore}
  2035. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DS18B20_V10
  2036. upload_speed = ${common.upload_speed}
  2037. upload_port = ${common.upload_port}
  2038. upload_flags = ${common.upload_flags}
  2039. extra_scripts = ${common.extra_scripts}
  2040. [env:heltec-touch-relay]
  2041. platform = ${common.platform}
  2042. framework = ${common.framework}
  2043. board = ${common.board_1m}
  2044. board_build.flash_mode = ${common.flash_mode}
  2045. lib_deps = ${common.lib_deps}
  2046. lib_ignore = ${common.lib_ignore}
  2047. build_flags = ${common.build_flags_1m0m} -DHELTEC_TOUCHRELAY
  2048. monitor_speed = ${common.monitor_speed}
  2049. extra_scripts = ${common.extra_scripts}
  2050. [env:heltec-touch-relay-ota]
  2051. platform = ${common.platform}
  2052. framework = ${common.framework}
  2053. board = ${common.board_1m}
  2054. board_build.flash_mode = ${common.flash_mode}
  2055. lib_deps = ${common.lib_deps}
  2056. lib_ignore = ${common.lib_ignore}
  2057. build_flags = ${common.build_flags_1m0m} -DHELTEC_TOUCHRELAY
  2058. upload_speed = ${common.upload_speed}
  2059. upload_port = ${common.upload_port}
  2060. upload_flags = ${common.upload_flags}
  2061. extra_scripts = ${common.extra_scripts}
  2062. [env:allnet-4duino-iot-wlan-relais]
  2063. platform = ${common.platform}
  2064. framework = ${common.framework}
  2065. board = ${common.board_4m}
  2066. board_build.flash_mode = ${common.flash_mode}
  2067. lib_deps = ${common.lib_deps}
  2068. lib_ignore = ${common.lib_ignore}
  2069. build_flags = ${common.build_flags_4m1m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  2070. monitor_speed = ${common.monitor_speed}
  2071. extra_scripts = ${common.extra_scripts}
  2072. [env:allnet-4duino-iot-wlan-relais-ota]
  2073. platform = ${common.platform}
  2074. framework = ${common.framework}
  2075. board = ${common.board_4m}
  2076. board_build.flash_mode = ${common.flash_mode}
  2077. lib_deps = ${common.lib_deps}
  2078. lib_ignore = ${common.lib_ignore}
  2079. build_flags = ${common.build_flags_4m1m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  2080. upload_speed = ${common.upload_speed}
  2081. upload_port = ${common.upload_port}
  2082. upload_flags = ${common.upload_flags}
  2083. extra_scripts = ${common.extra_scripts}
  2084. [env:tonbux-mosquito-killer]
  2085. platform = ${common.platform}
  2086. framework = ${common.framework}
  2087. board = ${common.board_1m}
  2088. board_build.flash_mode = ${common.flash_mode}
  2089. lib_deps = ${common.lib_deps}
  2090. lib_ignore = ${common.lib_ignore}
  2091. build_flags = ${common.build_flags_1m0m} -DTONBUX_MOSQUITO_KILLER
  2092. monitor_speed = ${common.monitor_speed}
  2093. extra_scripts = ${common.extra_scripts}
  2094. [env:tonbux-mosquito-killer-ota]
  2095. platform = ${common.platform}
  2096. framework = ${common.framework}
  2097. board = ${common.board_1m}
  2098. board_build.flash_mode = ${common.flash_mode}
  2099. lib_deps = ${common.lib_deps}
  2100. lib_ignore = ${common.lib_ignore}
  2101. build_flags = ${common.build_flags_1m0m} -DTONBUX_MOSQUITO_KILLER
  2102. upload_speed = ${common.upload_speed}
  2103. upload_port = ${common.upload_port}
  2104. upload_flags = ${common.upload_flags}
  2105. extra_scripts = ${common.extra_scripts}
  2106. [env:pilotak-esp-din-v1]
  2107. platform = ${common.platform}
  2108. framework = ${common.framework}
  2109. board = ${common.board_1m}
  2110. board_build.flash_mode = ${common.flash_mode}
  2111. lib_deps = ${common.lib_deps}
  2112. lib_ignore = ${common.lib_ignore}
  2113. build_flags = ${common.build_flags_1m0m} -DPILOTAK_ESP_DIN_V1
  2114. monitor_speed = ${common.monitor_speed}
  2115. extra_scripts = ${common.extra_scripts}
  2116. [env:pilotak-esp-din-v1-ota]
  2117. platform = ${common.platform}
  2118. framework = ${common.framework}
  2119. board = ${common.board_1m}
  2120. board_build.flash_mode = ${common.flash_mode}
  2121. lib_deps = ${common.lib_deps}
  2122. lib_ignore = ${common.lib_ignore}
  2123. build_flags = ${common.build_flags_1m0m} -DPILOTAK_ESP_DIN_V1
  2124. upload_speed = ${common.upload_speed}
  2125. upload_port = ${common.upload_port}
  2126. upload_flags = ${common.upload_flags}
  2127. extra_scripts = ${common.extra_scripts}
  2128. [env:nodemcu-geiger]
  2129. platform = ${common.platform}
  2130. framework = ${common.framework}
  2131. board = ${common.board_4m}
  2132. board_build.flash_mode = ${common.flash_mode}
  2133. lib_deps = ${common.lib_deps}
  2134. lib_ignore = ${common.lib_ignore}
  2135. build_flags = ${common.build_flags_4m1m} -DNODEMCU_BASIC -DGEIGER_SUPPORT=1 -DEVENTS_SUPPORT=0 -DINFLUXDB_SUPPORT=1 -DALEXA_SUPPORT=0 -DALEXA_ENABLED=0
  2136. upload_speed = ${common.upload_speed_fast}
  2137. monitor_speed = ${common.monitor_speed}
  2138. extra_scripts = ${common.extra_scripts}
  2139. [env:nodemcu-geiger-ota]
  2140. platform = ${common.platform}
  2141. framework = ${common.framework}
  2142. board = ${common.board_4m}
  2143. board_build.flash_mode = ${common.flash_mode}
  2144. lib_deps = ${common.lib_deps}
  2145. lib_ignore = ${common.lib_ignore}
  2146. build_flags = ${common.build_flags_4m1m} -DNODEMCU_BASIC -DGEIGER_SUPPORT=1 -DEVENTS_SUPPORT=0 -DINFLUXDB_SUPPORT=1 -DALEXA_SUPPORT=0 -DALEXA_ENABLED=0
  2147. upload_speed = ${common.upload_speed_fast}
  2148. monitor_speed = ${common.monitor_speed}
  2149. upload_port = ${common.upload_port}
  2150. upload_flags = ${common.upload_flags}
  2151. extra_scripts = ${common.extra_scripts}
  2152. [env:blitzwolf-bwshp2]
  2153. platform = ${common.platform}
  2154. framework = ${common.framework}
  2155. board = ${common.board_1m}
  2156. board_build.flash_mode = ${common.flash_mode}
  2157. lib_deps = ${common.lib_deps}
  2158. lib_ignore = ${common.lib_ignore}
  2159. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHP2
  2160. upload_speed = ${common.upload_speed}
  2161. monitor_speed = ${common.monitor_speed}
  2162. extra_scripts = ${common.extra_scripts}
  2163. [env:blitzwolf-bwshp2-ota]
  2164. platform = ${common.platform}
  2165. framework = ${common.framework}
  2166. board = ${common.board_1m}
  2167. board_build.flash_mode = ${common.flash_mode}
  2168. lib_deps = ${common.lib_deps}
  2169. lib_ignore = ${common.lib_ignore}
  2170. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHP2
  2171. upload_speed = ${common.upload_speed}
  2172. monitor_speed = ${common.monitor_speed}
  2173. upload_port = ${common.upload_port}
  2174. upload_flags = ${common.upload_flags}
  2175. extra_scripts = ${common.extra_scripts}
  2176. [env:homecube-16a]
  2177. platform = ${common.platform}
  2178. framework = ${common.framework}
  2179. board = ${common.board_1m}
  2180. board_build.flash_mode = ${common.flash_mode}
  2181. lib_deps = ${common.lib_deps}
  2182. lib_ignore = ${common.lib_ignore}
  2183. build_flags = ${common.build_flags_1m0m} -DHOMECUBE_16A
  2184. upload_speed = ${common.upload_speed}
  2185. monitor_speed = ${common.monitor_speed}
  2186. extra_scripts = ${common.extra_scripts}
  2187. [env:homecube-16a-ota]
  2188. platform = ${common.platform}
  2189. framework = ${common.framework}
  2190. board = ${common.board_1m}
  2191. board_build.flash_mode = ${common.flash_mode}
  2192. lib_deps = ${common.lib_deps}
  2193. lib_ignore = ${common.lib_ignore}
  2194. build_flags = ${common.build_flags_1m0m} -DHOMECUBE_16A
  2195. upload_speed = ${common.upload_speed}
  2196. monitor_speed = ${common.monitor_speed}
  2197. upload_port = ${common.upload_port}
  2198. upload_flags = ${common.upload_flags}
  2199. extra_scripts = ${common.extra_scripts}
  2200. [env:bh-onofre]
  2201. platform = ${common.platform}
  2202. framework = ${common.framework}
  2203. board = ${common.board_4m}
  2204. board_build.flash_mode = ${common.flash_mode}
  2205. lib_deps = ${common.lib_deps}
  2206. lib_ignore = ${common.lib_ignore}
  2207. build_flags = ${common.build_flags_4m1m} -DBH_ONOFRE
  2208. upload_speed = ${common.upload_speed_fast}
  2209. monitor_speed = ${common.monitor_speed}
  2210. extra_scripts = ${common.extra_scripts}
  2211. [env:bh-onofre-ota]
  2212. platform = ${common.platform}
  2213. framework = ${common.framework}
  2214. board = ${common.board_4m}
  2215. board_build.flash_mode = ${common.flash_mode}
  2216. lib_deps = ${common.lib_deps}
  2217. lib_ignore = ${common.lib_ignore}
  2218. build_flags = ${common.build_flags_4m1m} -DBH_ONOFRE
  2219. upload_speed = ${common.upload_speed_fast}
  2220. monitor_speed = ${common.monitor_speed}
  2221. upload_port = ${common.upload_port}
  2222. upload_flags = ${common.upload_flags}
  2223. extra_scripts = ${common.extra_scripts}
  2224. [env:generic-ag-l4]
  2225. platform = ${common.platform}
  2226. framework = ${common.framework}
  2227. board = ${common.board_1m}
  2228. board_build.flash_mode = ${common.flash_mode}
  2229. lib_deps = ${common.lib_deps}
  2230. lib_ignore = ${common.lib_ignore}
  2231. build_flags = ${common.build_flags_1m0m} -DGENERIC_AG_L4
  2232. monitor_speed = ${common.monitor_speed}
  2233. extra_scripts = ${common.extra_scripts}
  2234. [env:generic-ag-l4-ota]
  2235. platform = ${common.platform}
  2236. framework = ${common.framework}
  2237. board = ${common.board_1m}
  2238. board_build.flash_mode = ${common.flash_mode}
  2239. lib_deps = ${common.lib_deps}
  2240. lib_ignore = ${common.lib_ignore}
  2241. build_flags = ${common.build_flags_1m0m} -DGENERIC_AG_L4
  2242. upload_speed = ${common.upload_speed}
  2243. upload_port = ${common.upload_port}
  2244. upload_flags = ${common.upload_flags}
  2245. extra_scripts = ${common.extra_scripts}