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.

2488 lines
84 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 ${sysenv.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 = "${sysenv.ESPURNA_IP}"
  47. upload_flags = --auth="${sysenv.ESPURNA_AUTH}"
  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${sysenv.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${sysenv.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:tinkerman-rfm69gw]
  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} -DTINKERMAN_RFM69GW
  322. monitor_speed = ${common.monitor_speed}
  323. extra_scripts = ${common.extra_scripts}
  324. # ------------------------------------------------------------------------------
  325. [env:itead-sonoff-basic]
  326. platform = ${common.platform}
  327. framework = ${common.framework}
  328. board = ${common.board_1m}
  329. board_build.flash_mode = ${common.flash_mode}
  330. lib_deps = ${common.lib_deps}
  331. lib_ignore = ${common.lib_ignore}
  332. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC
  333. monitor_speed = ${common.monitor_speed}
  334. extra_scripts = ${common.extra_scripts}
  335. [env:itead-sonoff-basic-ota]
  336. platform = ${common.platform}
  337. framework = ${common.framework}
  338. board = ${common.board_1m}
  339. board_build.flash_mode = ${common.flash_mode}
  340. lib_deps = ${common.lib_deps}
  341. lib_ignore = ${common.lib_ignore}
  342. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC
  343. upload_speed = ${common.upload_speed}
  344. upload_port = ${common.upload_port}
  345. upload_flags = ${common.upload_flags}
  346. monitor_speed = ${common.monitor_speed}
  347. extra_scripts = ${common.extra_scripts}
  348. [env:itead-sonoff-basic-dht]
  349. platform = ${common.platform}
  350. framework = ${common.framework}
  351. board = ${common.board_1m}
  352. board_build.flash_mode = ${common.flash_mode}
  353. lib_deps = ${common.lib_deps}
  354. lib_ignore = ${common.lib_ignore}
  355. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  356. monitor_speed = ${common.monitor_speed}
  357. extra_scripts = ${common.extra_scripts}
  358. [env:itead-sonoff-basic-dht-ota]
  359. platform = ${common.platform}
  360. framework = ${common.framework}
  361. board = ${common.board_1m}
  362. board_build.flash_mode = ${common.flash_mode}
  363. lib_deps = ${common.lib_deps}
  364. lib_ignore = ${common.lib_ignore}
  365. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  366. upload_speed = ${common.upload_speed}
  367. upload_port = ${common.upload_port}
  368. upload_flags = ${common.upload_flags}
  369. monitor_speed = ${common.monitor_speed}
  370. extra_scripts = ${common.extra_scripts}
  371. [env:itead-sonoff-basic-dallas]
  372. platform = ${common.platform}
  373. framework = ${common.framework}
  374. board = ${common.board_1m}
  375. board_build.flash_mode = ${common.flash_mode}
  376. lib_deps = ${common.lib_deps}
  377. lib_ignore = ${common.lib_ignore}
  378. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDALLAS_SUPPORT=1
  379. monitor_speed = ${common.monitor_speed}
  380. extra_scripts = ${common.extra_scripts}
  381. [env:itead-sonoff-rf]
  382. platform = ${common.platform}
  383. framework = ${common.framework}
  384. board = ${common.board_1m}
  385. board_build.flash_mode = ${common.flash_mode}
  386. lib_deps = ${common.lib_deps}
  387. lib_ignore = ${common.lib_ignore}
  388. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RF
  389. monitor_speed = ${common.monitor_speed}
  390. extra_scripts = ${common.extra_scripts}
  391. [env:itead-sonoff-rf-ota]
  392. platform = ${common.platform}
  393. framework = ${common.framework}
  394. board = ${common.board_1m}
  395. board_build.flash_mode = ${common.flash_mode}
  396. lib_deps = ${common.lib_deps}
  397. lib_ignore = ${common.lib_ignore}
  398. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RF
  399. upload_speed = ${common.upload_speed}
  400. upload_port = ${common.upload_port}
  401. upload_flags = ${common.upload_flags}
  402. monitor_speed = ${common.monitor_speed}
  403. extra_scripts = ${common.extra_scripts}
  404. [env:itead-sonoff-th]
  405. platform = ${common.platform}
  406. framework = ${common.framework}
  407. board = ${common.board_1m}
  408. board_build.flash_mode = ${common.flash_mode}
  409. lib_deps = ${common.lib_deps}
  410. lib_ignore = ${common.lib_ignore}
  411. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TH
  412. monitor_speed = ${common.monitor_speed}
  413. extra_scripts = ${common.extra_scripts}
  414. [env:itead-sonoff-th-ota]
  415. platform = ${common.platform}
  416. framework = ${common.framework}
  417. board = ${common.board_1m}
  418. board_build.flash_mode = ${common.flash_mode}
  419. lib_deps = ${common.lib_deps}
  420. lib_ignore = ${common.lib_ignore}
  421. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TH
  422. upload_speed = ${common.upload_speed}
  423. upload_port = ${common.upload_port}
  424. upload_flags = ${common.upload_flags}
  425. monitor_speed = ${common.monitor_speed}
  426. extra_scripts = ${common.extra_scripts}
  427. [env:itead-sonoff-pow]
  428. platform = ${common.platform}
  429. framework = ${common.framework}
  430. board = ${common.board_1m}
  431. board_build.flash_mode = ${common.flash_mode}
  432. lib_deps = ${common.lib_deps}
  433. lib_ignore = ${common.lib_ignore}
  434. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW
  435. monitor_speed = ${common.monitor_speed}
  436. extra_scripts = ${common.extra_scripts}
  437. [env:itead-sonoff-pow-ota]
  438. platform = ${common.platform}
  439. framework = ${common.framework}
  440. board = ${common.board_1m}
  441. board_build.flash_mode = ${common.flash_mode}
  442. lib_deps = ${common.lib_deps}
  443. lib_ignore = ${common.lib_ignore}
  444. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW
  445. upload_speed = ${common.upload_speed}
  446. upload_port = ${common.upload_port}
  447. upload_flags = ${common.upload_flags}
  448. monitor_speed = ${common.monitor_speed}
  449. extra_scripts = ${common.extra_scripts}
  450. [env:itead-sonoff-pow-r2]
  451. platform = ${common.platform}
  452. framework = ${common.framework}
  453. board = ${common.board_1m}
  454. board_build.flash_mode = ${common.flash_mode}
  455. lib_deps = ${common.lib_deps}
  456. lib_ignore = ${common.lib_ignore}
  457. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW_R2
  458. monitor_speed = ${common.monitor_speed}
  459. extra_scripts = ${common.extra_scripts}
  460. [env:itead-sonoff-pow-r2-ota]
  461. platform = ${common.platform}
  462. framework = ${common.framework}
  463. board = ${common.board_1m}
  464. board_build.flash_mode = ${common.flash_mode}
  465. lib_deps = ${common.lib_deps}
  466. lib_ignore = ${common.lib_ignore}
  467. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW_R2
  468. upload_speed = ${common.upload_speed}
  469. upload_port = ${common.upload_port}
  470. upload_flags = ${common.upload_flags}
  471. monitor_speed = ${common.monitor_speed}
  472. extra_scripts = ${common.extra_scripts}
  473. [env:itead-sonoff-dual]
  474. platform = ${common.platform}
  475. framework = ${common.framework}
  476. board = ${common.board_1m}
  477. board_build.flash_mode = ${common.flash_mode}
  478. lib_deps = ${common.lib_deps}
  479. lib_ignore = ${common.lib_ignore}
  480. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL
  481. extra_scripts = ${common.extra_scripts}
  482. [env:itead-sonoff-dual-ota]
  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. upload_speed = ${common.upload_speed}
  491. upload_port = ${common.upload_port}
  492. upload_flags = ${common.upload_flags}
  493. extra_scripts = ${common.extra_scripts}
  494. [env:itead-sonoff-dual-r2]
  495. platform = ${common.platform}
  496. framework = ${common.framework}
  497. board = ${common.board_1m}
  498. board_build.flash_mode = ${common.flash_mode}
  499. lib_deps = ${common.lib_deps}
  500. lib_ignore = ${common.lib_ignore}
  501. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL_R2
  502. extra_scripts = ${common.extra_scripts}
  503. [env:itead-sonoff-dual-r2-ota]
  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. upload_speed = ${common.upload_speed}
  512. upload_port = ${common.upload_port}
  513. upload_flags = ${common.upload_flags}
  514. extra_scripts = ${common.extra_scripts}
  515. [env:itead-sonoff-4ch]
  516. platform = ${common.platform}
  517. framework = ${common.framework}
  518. board = ${common.board_1m}
  519. board_build.flash_mode = ${common.flash_mode}
  520. lib_deps = ${common.lib_deps}
  521. lib_ignore = ${common.lib_ignore}
  522. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH
  523. monitor_speed = ${common.monitor_speed}
  524. extra_scripts = ${common.extra_scripts}
  525. [env:itead-sonoff-4ch-ota]
  526. platform = ${common.platform}
  527. framework = ${common.framework}
  528. board = ${common.board_1m}
  529. board_build.flash_mode = ${common.flash_mode}
  530. lib_deps = ${common.lib_deps}
  531. lib_ignore = ${common.lib_ignore}
  532. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH
  533. upload_speed = ${common.upload_speed}
  534. upload_port = ${common.upload_port}
  535. upload_flags = ${common.upload_flags}
  536. monitor_speed = ${common.monitor_speed}
  537. extra_scripts = ${common.extra_scripts}
  538. [env:itead-sonoff-4ch-pro]
  539. platform = ${common.platform}
  540. framework = ${common.framework}
  541. board = ${common.board_1m}
  542. board_build.flash_mode = ${common.flash_mode}
  543. lib_deps = ${common.lib_deps}
  544. lib_ignore = ${common.lib_ignore}
  545. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH_PRO
  546. monitor_speed = ${common.monitor_speed}
  547. extra_scripts = ${common.extra_scripts}
  548. [env:itead-sonoff-4ch-pro-ota]
  549. platform = ${common.platform}
  550. framework = ${common.framework}
  551. board = ${common.board_1m}
  552. board_build.flash_mode = ${common.flash_mode}
  553. lib_deps = ${common.lib_deps}
  554. lib_ignore = ${common.lib_ignore}
  555. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH_PRO
  556. upload_speed = ${common.upload_speed}
  557. upload_port = ${common.upload_port}
  558. upload_flags = ${common.upload_flags}
  559. monitor_speed = ${common.monitor_speed}
  560. extra_scripts = ${common.extra_scripts}
  561. [env:itead-sonoff-touch]
  562. platform = ${common.platform}
  563. framework = ${common.framework}
  564. board = ${common.board_1m}
  565. board_build.flash_mode = ${common.flash_mode}
  566. lib_deps = ${common.lib_deps}
  567. lib_ignore = ${common.lib_ignore}
  568. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TOUCH
  569. monitor_speed = ${common.monitor_speed}
  570. extra_scripts = ${common.extra_scripts}
  571. [env:itead-sonoff-touch-ota]
  572. platform = ${common.platform}
  573. framework = ${common.framework}
  574. board = ${common.board_1m}
  575. board_build.flash_mode = ${common.flash_mode}
  576. lib_deps = ${common.lib_deps}
  577. lib_ignore = ${common.lib_ignore}
  578. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TOUCH
  579. upload_speed = ${common.upload_speed}
  580. upload_port = ${common.upload_port}
  581. upload_flags = ${common.upload_flags}
  582. monitor_speed = ${common.monitor_speed}
  583. extra_scripts = ${common.extra_scripts}
  584. [env:itead-sonoff-b1]
  585. platform = ${common.platform}
  586. framework = ${common.framework}
  587. board = ${common.board_1m}
  588. board_build.flash_mode = ${common.flash_mode}
  589. lib_deps = ${common.lib_deps}
  590. lib_ignore = ${common.lib_ignore}
  591. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_B1
  592. monitor_speed = ${common.monitor_speed}
  593. extra_scripts = ${common.extra_scripts}
  594. [env:itead-sonoff-b1-ota]
  595. platform = ${common.platform}
  596. framework = ${common.framework}
  597. board = ${common.board_1m}
  598. board_build.flash_mode = ${common.flash_mode}
  599. lib_deps = ${common.lib_deps}
  600. lib_ignore = ${common.lib_ignore}
  601. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_B1
  602. upload_speed = ${common.upload_speed}
  603. upload_port = ${common.upload_port}
  604. upload_flags = ${common.upload_flags}
  605. monitor_speed = ${common.monitor_speed}
  606. extra_scripts = ${common.extra_scripts}
  607. [env:itead-sonoff-t1-1ch]
  608. platform = ${common.platform}
  609. framework = ${common.framework}
  610. board = ${common.board_1m}
  611. board_build.flash_mode = ${common.flash_mode}
  612. lib_deps = ${common.lib_deps}
  613. lib_ignore = ${common.lib_ignore}
  614. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_1CH
  615. monitor_speed = ${common.monitor_speed}
  616. extra_scripts = ${common.extra_scripts}
  617. [env:itead-sonoff-t1-1ch-ota]
  618. platform = ${common.platform}
  619. framework = ${common.framework}
  620. board = ${common.board_1m}
  621. board_build.flash_mode = ${common.flash_mode}
  622. lib_deps = ${common.lib_deps}
  623. lib_ignore = ${common.lib_ignore}
  624. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_1CH
  625. upload_speed = ${common.upload_speed}
  626. upload_port = ${common.upload_port}
  627. upload_flags = ${common.upload_flags}
  628. monitor_speed = ${common.monitor_speed}
  629. extra_scripts = ${common.extra_scripts}
  630. [env:itead-sonoff-t1-2ch]
  631. platform = ${common.platform}
  632. framework = ${common.framework}
  633. board = ${common.board_1m}
  634. board_build.flash_mode = ${common.flash_mode}
  635. lib_deps = ${common.lib_deps}
  636. lib_ignore = ${common.lib_ignore}
  637. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_2CH
  638. monitor_speed = ${common.monitor_speed}
  639. extra_scripts = ${common.extra_scripts}
  640. [env:itead-sonoff-t1-2ch-ota]
  641. platform = ${common.platform}
  642. framework = ${common.framework}
  643. board = ${common.board_1m}
  644. board_build.flash_mode = ${common.flash_mode}
  645. lib_deps = ${common.lib_deps}
  646. lib_ignore = ${common.lib_ignore}
  647. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_2CH
  648. upload_speed = ${common.upload_speed}
  649. upload_port = ${common.upload_port}
  650. upload_flags = ${common.upload_flags}
  651. monitor_speed = ${common.monitor_speed}
  652. extra_scripts = ${common.extra_scripts}
  653. [env:itead-sonoff-t1-3ch]
  654. platform = ${common.platform}
  655. framework = ${common.framework}
  656. board = ${common.board_1m}
  657. board_build.flash_mode = ${common.flash_mode}
  658. lib_deps = ${common.lib_deps}
  659. lib_ignore = ${common.lib_ignore}
  660. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_3CH
  661. monitor_speed = ${common.monitor_speed}
  662. extra_scripts = ${common.extra_scripts}
  663. [env:itead-sonoff-t1-3ch-ota]
  664. platform = ${common.platform}
  665. framework = ${common.framework}
  666. board = ${common.board_1m}
  667. board_build.flash_mode = ${common.flash_mode}
  668. lib_deps = ${common.lib_deps}
  669. lib_ignore = ${common.lib_ignore}
  670. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_3CH
  671. upload_speed = ${common.upload_speed}
  672. upload_port = ${common.upload_port}
  673. upload_flags = ${common.upload_flags}
  674. monitor_speed = ${common.monitor_speed}
  675. extra_scripts = ${common.extra_scripts}
  676. [env:itead-sonoff-led]
  677. platform = ${common.platform}
  678. framework = ${common.framework}
  679. board = ${common.board_1m}
  680. board_build.flash_mode = ${common.flash_mode}
  681. lib_deps = ${common.lib_deps}
  682. lib_ignore = ${common.lib_ignore}
  683. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_LED
  684. monitor_speed = ${common.monitor_speed}
  685. extra_scripts = ${common.extra_scripts}
  686. [env:itead-sonoff-led-ota]
  687. platform = ${common.platform}
  688. framework = ${common.framework}
  689. board = ${common.board_1m}
  690. board_build.flash_mode = ${common.flash_mode}
  691. lib_deps = ${common.lib_deps}
  692. lib_ignore = ${common.lib_ignore}
  693. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_LED
  694. upload_speed = ${common.upload_speed}
  695. upload_port = ${common.upload_port}
  696. upload_flags = ${common.upload_flags}
  697. monitor_speed = ${common.monitor_speed}
  698. extra_scripts = ${common.extra_scripts}
  699. [env:itead-sonoff-rfbridge]
  700. platform = ${common.platform}
  701. framework = ${common.framework}
  702. board = ${common.board_1m}
  703. board_build.flash_mode = ${common.flash_mode}
  704. lib_deps = ${common.lib_deps}
  705. lib_ignore = ${common.lib_ignore}
  706. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE
  707. monitor_speed = 19200
  708. extra_scripts = ${common.extra_scripts}
  709. [env:itead-sonoff-rfbridge-ota]
  710. platform = ${common.platform}
  711. framework = ${common.framework}
  712. board = ${common.board_1m}
  713. board_build.flash_mode = ${common.flash_mode}
  714. lib_deps = ${common.lib_deps}
  715. lib_ignore = ${common.lib_ignore}
  716. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE
  717. upload_speed = ${common.upload_speed}
  718. upload_port = ${common.upload_port}
  719. upload_flags = ${common.upload_flags}
  720. monitor_speed = 19200
  721. extra_scripts = ${common.extra_scripts}
  722. [env:itead-sonoff-rfbridge-direct]
  723. platform = ${common.platform}
  724. framework = ${common.framework}
  725. board = ${common.board_1m}
  726. board_build.flash_mode = ${common.flash_mode}
  727. lib_deps = ${common.lib_deps}
  728. lib_ignore = ${common.lib_ignore}
  729. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT
  730. monitor_speed = 19200
  731. extra_scripts = ${common.extra_scripts}
  732. [env:itead-sonoff-rfbridge-direct-ota]
  733. platform = ${common.platform}
  734. framework = ${common.framework}
  735. board = ${common.board_1m}
  736. board_build.flash_mode = ${common.flash_mode}
  737. lib_deps = ${common.lib_deps}
  738. lib_ignore = ${common.lib_ignore}
  739. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT
  740. upload_speed = ${common.upload_speed}
  741. upload_port = ${common.upload_port}
  742. upload_flags = ${common.upload_flags}
  743. monitor_speed = 19200
  744. extra_scripts = ${common.extra_scripts}
  745. # ------------------------------------------------------------------------------
  746. [env:itead-slampher]
  747. platform = ${common.platform}
  748. framework = ${common.framework}
  749. board = ${common.board_1m}
  750. board_build.flash_mode = ${common.flash_mode}
  751. lib_deps = ${common.lib_deps}
  752. lib_ignore = ${common.lib_ignore}
  753. build_flags = ${common.build_flags_1m0m} -DITEAD_SLAMPHER
  754. monitor_speed = ${common.monitor_speed}
  755. extra_scripts = ${common.extra_scripts}
  756. [env:itead-slampher-ota]
  757. platform = ${common.platform}
  758. framework = ${common.framework}
  759. board = ${common.board_1m}
  760. board_build.flash_mode = ${common.flash_mode}
  761. lib_deps = ${common.lib_deps}
  762. lib_ignore = ${common.lib_ignore}
  763. build_flags = ${common.build_flags_1m0m} -DITEAD_SLAMPHER
  764. upload_speed = ${common.upload_speed}
  765. upload_port = ${common.upload_port}
  766. upload_flags = ${common.upload_flags}
  767. monitor_speed = ${common.monitor_speed}
  768. extra_scripts = ${common.extra_scripts}
  769. [env:itead-s20]
  770. platform = ${common.platform}
  771. framework = ${common.framework}
  772. board = ${common.board_1m}
  773. board_build.flash_mode = ${common.flash_mode}
  774. lib_deps = ${common.lib_deps}
  775. lib_ignore = ${common.lib_ignore}
  776. build_flags = ${common.build_flags_1m0m} -DITEAD_S20
  777. monitor_speed = ${common.monitor_speed}
  778. extra_scripts = ${common.extra_scripts}
  779. [env:itead-s20-ota]
  780. platform = ${common.platform}
  781. framework = ${common.framework}
  782. board = ${common.board_1m}
  783. board_build.flash_mode = ${common.flash_mode}
  784. lib_deps = ${common.lib_deps}
  785. lib_ignore = ${common.lib_ignore}
  786. build_flags = ${common.build_flags_1m0m} -DITEAD_S20
  787. upload_speed = ${common.upload_speed}
  788. upload_port = ${common.upload_port}
  789. upload_flags = ${common.upload_flags}
  790. monitor_speed = ${common.monitor_speed}
  791. extra_scripts = ${common.extra_scripts}
  792. [env:itead-1ch-inching]
  793. platform = ${common.platform}
  794. framework = ${common.framework}
  795. board = ${common.board_1m}
  796. board_build.flash_mode = ${common.flash_mode}
  797. lib_deps = ${common.lib_deps}
  798. lib_ignore = ${common.lib_ignore}
  799. build_flags = ${common.build_flags_1m0m} -DITEAD_1CH_INCHING
  800. monitor_speed = ${common.monitor_speed}
  801. extra_scripts = ${common.extra_scripts}
  802. [env:itead-1ch-inching-ota]
  803. platform = ${common.platform}
  804. framework = ${common.framework}
  805. board = ${common.board_1m}
  806. board_build.flash_mode = ${common.flash_mode}
  807. lib_deps = ${common.lib_deps}
  808. lib_ignore = ${common.lib_ignore}
  809. build_flags = ${common.build_flags_1m0m} -DITEAD_1CH_INCHING
  810. upload_speed = ${common.upload_speed}
  811. upload_port = ${common.upload_port}
  812. upload_flags = ${common.upload_flags}
  813. monitor_speed = ${common.monitor_speed}
  814. extra_scripts = ${common.extra_scripts}
  815. [env:itead-motor]
  816. platform = ${common.platform}
  817. framework = ${common.framework}
  818. board = ${common.board_1m}
  819. board_build.flash_mode = ${common.flash_mode}
  820. lib_deps = ${common.lib_deps}
  821. lib_ignore = ${common.lib_ignore}
  822. build_flags = ${common.build_flags_1m0m} -DITEAD_MOTOR
  823. monitor_speed = ${common.monitor_speed}
  824. extra_scripts = ${common.extra_scripts}
  825. [env:itead-motor-ota]
  826. platform = ${common.platform}
  827. framework = ${common.framework}
  828. board = ${common.board_1m}
  829. board_build.flash_mode = ${common.flash_mode}
  830. lib_deps = ${common.lib_deps}
  831. lib_ignore = ${common.lib_ignore}
  832. build_flags = ${common.build_flags_1m0m} -DITEAD_MOTOR
  833. upload_speed = ${common.upload_speed}
  834. upload_port = ${common.upload_port}
  835. upload_flags = ${common.upload_flags}
  836. monitor_speed = ${common.monitor_speed}
  837. extra_scripts = ${common.extra_scripts}
  838. [env:itead-sonoff-sv]
  839. platform = ${common.platform}
  840. framework = ${common.framework}
  841. board = ${common.board_1m}
  842. board_build.flash_mode = ${common.flash_mode}
  843. lib_deps = ${common.lib_deps}
  844. lib_ignore = ${common.lib_ignore}
  845. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_SV
  846. monitor_speed = ${common.monitor_speed}
  847. extra_scripts = ${common.extra_scripts}
  848. [env:itead-sonoff-sv-ota]
  849. platform = ${common.platform}
  850. framework = ${common.framework}
  851. board = ${common.board_1m}
  852. board_build.flash_mode = ${common.flash_mode}
  853. lib_deps = ${common.lib_deps}
  854. lib_ignore = ${common.lib_ignore}
  855. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_SV
  856. upload_port = ${common.upload_port}
  857. upload_flags = ${common.upload_flags}
  858. monitor_speed = ${common.monitor_speed}
  859. extra_scripts = ${common.extra_scripts}
  860. [env:itead-sonoff-s31]
  861. platform = ${common.platform}
  862. framework = ${common.framework}
  863. board = ${common.board_1m}
  864. board_build.flash_mode = ${common.flash_mode}
  865. lib_deps = ${common.lib_deps}
  866. lib_ignore = ${common.lib_ignore}
  867. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_S31
  868. monitor_speed = ${common.monitor_speed}
  869. extra_scripts = ${common.extra_scripts}
  870. [env:itead-sonoff-s31-ota]
  871. platform = ${common.platform}
  872. framework = ${common.framework}
  873. board = ${common.board_1m}
  874. board_build.flash_mode = ${common.flash_mode}
  875. lib_deps = ${common.lib_deps}
  876. lib_ignore = ${common.lib_ignore}
  877. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_S31
  878. upload_port = ${common.upload_port}
  879. upload_flags = ${common.upload_flags}
  880. monitor_speed = ${common.monitor_speed}
  881. extra_scripts = ${common.extra_scripts}
  882. [env:itead-sonoff-ifan02]
  883. platform = ${common.platform}
  884. framework = ${common.framework}
  885. board = ${common.board_1m}
  886. board_build.flash_mode = ${common.flash_mode}
  887. lib_deps = ${common.lib_deps}
  888. lib_ignore = ${common.lib_ignore}
  889. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_IFAN02
  890. monitor_speed = ${common.monitor_speed}
  891. extra_scripts = ${common.extra_scripts}
  892. [env:itead-sonoff-ifan02-ota]
  893. platform = ${common.platform}
  894. framework = ${common.framework}
  895. board = ${common.board_1m}
  896. board_build.flash_mode = ${common.flash_mode}
  897. lib_deps = ${common.lib_deps}
  898. lib_ignore = ${common.lib_ignore}
  899. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_IFAN02
  900. upload_port = ${common.upload_port}
  901. upload_flags = ${common.upload_flags}
  902. monitor_speed = ${common.monitor_speed}
  903. extra_scripts = ${common.extra_scripts}
  904. # ------------------------------------------------------------------------------
  905. [env:electrodragon-wifi-iot]
  906. platform = ${common.platform}
  907. framework = ${common.framework}
  908. board = ${common.board_4m}
  909. board_build.flash_mode = ${common.flash_mode}
  910. lib_deps = ${common.lib_deps}
  911. lib_ignore = ${common.lib_ignore}
  912. build_flags = ${common.build_flags_4m1m} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  913. monitor_speed = ${common.monitor_speed}
  914. extra_scripts = ${common.extra_scripts}
  915. [env:electrodragon-wifi-iot-ota]
  916. platform = ${common.platform}
  917. framework = ${common.framework}
  918. board = ${common.board_4m}
  919. board_build.flash_mode = ${common.flash_mode}
  920. lib_deps = ${common.lib_deps}
  921. lib_ignore = ${common.lib_ignore}
  922. build_flags = ${common.build_flags_4m1m} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  923. upload_speed = ${common.upload_speed}
  924. upload_port = ${common.upload_port}
  925. upload_flags = ${common.upload_flags}
  926. monitor_speed = ${common.monitor_speed}
  927. extra_scripts = ${common.extra_scripts}
  928. [env:workchoice-ecoplug]
  929. platform = ${common.platform}
  930. framework = ${common.framework}
  931. board = ${common.board_1m}
  932. board_build.flash_mode = ${common.flash_mode}
  933. lib_deps = ${common.lib_deps}
  934. lib_ignore = ${common.lib_ignore}
  935. build_flags = ${common.build_flags_1m0m} -DWORKCHOICE_ECOPLUG
  936. monitor_speed = ${common.monitor_speed}
  937. extra_scripts = ${common.extra_scripts}
  938. [env:workchoice-ecoplug-ota]
  939. platform = ${common.platform}
  940. framework = ${common.framework}
  941. board = ${common.board_1m}
  942. board_build.flash_mode = ${common.flash_mode}
  943. lib_deps = ${common.lib_deps}
  944. lib_ignore = ${common.lib_ignore}
  945. build_flags = ${common.build_flags_1m0m} -DWORKCHOICE_ECOPLUG
  946. upload_speed = ${common.upload_speed}
  947. upload_port = ${common.upload_port}
  948. upload_flags = ${common.upload_flags}
  949. monitor_speed = ${common.monitor_speed}
  950. extra_scripts = ${common.extra_scripts}
  951. [env:jangoe-wifi-relay-nc]
  952. platform = ${common.platform}
  953. framework = ${common.framework}
  954. board = ${common.board_4m}
  955. board_build.flash_mode = ${common.flash_mode}
  956. lib_deps = ${common.lib_deps}
  957. lib_ignore = ${common.lib_ignore}
  958. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NC
  959. monitor_speed = ${common.monitor_speed}
  960. extra_scripts = ${common.extra_scripts}
  961. [env:jangoe-wifi-relay-nc-ota]
  962. platform = ${common.platform}
  963. framework = ${common.framework}
  964. board = ${common.board_4m}
  965. board_build.flash_mode = ${common.flash_mode}
  966. lib_deps = ${common.lib_deps}
  967. lib_ignore = ${common.lib_ignore}
  968. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NC
  969. upload_speed = ${common.upload_speed}
  970. upload_port = ${common.upload_port}
  971. upload_flags = ${common.upload_flags}
  972. monitor_speed = ${common.monitor_speed}
  973. extra_scripts = ${common.extra_scripts}
  974. [env:jangoe-wifi-relay-no]
  975. platform = ${common.platform}
  976. framework = ${common.framework}
  977. board = ${common.board_4m}
  978. board_build.flash_mode = ${common.flash_mode}
  979. lib_deps = ${common.lib_deps}
  980. lib_ignore = ${common.lib_ignore}
  981. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NO
  982. monitor_speed = ${common.monitor_speed}
  983. extra_scripts = ${common.extra_scripts}
  984. [env:jangoe-wifi-relay-no-ota]
  985. platform = ${common.platform}
  986. framework = ${common.framework}
  987. board = ${common.board_4m}
  988. board_build.flash_mode = ${common.flash_mode}
  989. lib_deps = ${common.lib_deps}
  990. lib_ignore = ${common.lib_ignore}
  991. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NO
  992. upload_speed = ${common.upload_speed}
  993. upload_port = ${common.upload_port}
  994. upload_flags = ${common.upload_flags}
  995. monitor_speed = ${common.monitor_speed}
  996. extra_scripts = ${common.extra_scripts}
  997. [env:openenergymonitor-mqtt-relay]
  998. platform = ${common.platform}
  999. framework = ${common.framework}
  1000. board = ${common.board_4m}
  1001. board_build.flash_mode = ${common.flash_mode}
  1002. lib_deps = ${common.lib_deps}
  1003. lib_ignore = ${common.lib_ignore}
  1004. build_flags = ${common.build_flags_4m1m} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  1005. monitor_speed = ${common.monitor_speed}
  1006. extra_scripts = ${common.extra_scripts}
  1007. [env:openenergymonitor-mqtt-relay-ota]
  1008. platform = ${common.platform}
  1009. framework = ${common.framework}
  1010. board = ${common.board_4m}
  1011. board_build.flash_mode = ${common.flash_mode}
  1012. lib_deps = ${common.lib_deps}
  1013. lib_ignore = ${common.lib_ignore}
  1014. build_flags = ${common.build_flags_4m1m} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  1015. upload_speed = ${common.upload_speed}
  1016. upload_port = ${common.upload_port}
  1017. upload_flags = ${common.upload_flags}
  1018. monitor_speed = ${common.monitor_speed}
  1019. extra_scripts = ${common.extra_scripts}
  1020. [env:jorgegarcia-wifi-relays]
  1021. platform = ${common.platform}
  1022. framework = ${common.framework}
  1023. board = ${common.board_1m}
  1024. board_build.flash_mode = ${common.flash_mode}
  1025. lib_deps = ${common.lib_deps}
  1026. lib_ignore = ${common.lib_ignore}
  1027. build_flags = ${common.build_flags_1m0m} -DJORGEGARCIA_WIFI_RELAYS
  1028. monitor_speed = ${common.monitor_speed}
  1029. extra_scripts = ${common.extra_scripts}
  1030. [env:jorgegarcia-wifi-relays-ota]
  1031. platform = ${common.platform}
  1032. framework = ${common.framework}
  1033. board = ${common.board_1m}
  1034. board_build.flash_mode = ${common.flash_mode}
  1035. lib_deps = ${common.lib_deps}
  1036. lib_ignore = ${common.lib_ignore}
  1037. build_flags = ${common.build_flags_1m0m} -DJORGEGARCIA_WIFI_RELAYS
  1038. upload_speed = ${common.upload_speed}
  1039. upload_port = ${common.upload_port}
  1040. upload_flags = ${common.upload_flags}
  1041. monitor_speed = ${common.monitor_speed}
  1042. extra_scripts = ${common.extra_scripts}
  1043. [env:aithinker-ai-light]
  1044. platform = ${common.platform}
  1045. framework = ${common.framework}
  1046. board = ${common.board_1m}
  1047. board_build.flash_mode = ${common.flash_mode}
  1048. lib_deps = ${common.lib_deps}
  1049. lib_ignore = ${common.lib_ignore}
  1050. build_flags = ${common.build_flags_1m0m} -DAITHINKER_AI_LIGHT
  1051. monitor_speed = ${common.monitor_speed}
  1052. extra_scripts = ${common.extra_scripts}
  1053. [env:aithinker-ai-light-ota]
  1054. platform = ${common.platform}
  1055. framework = ${common.framework}
  1056. board = ${common.board_1m}
  1057. board_build.flash_mode = ${common.flash_mode}
  1058. lib_deps = ${common.lib_deps}
  1059. lib_ignore = ${common.lib_ignore}
  1060. build_flags = ${common.build_flags_1m0m} -DAITHINKER_AI_LIGHT
  1061. upload_speed = ${common.upload_speed}
  1062. upload_port = ${common.upload_port}
  1063. upload_flags = ${common.upload_flags}
  1064. monitor_speed = ${common.monitor_speed}
  1065. extra_scripts = ${common.extra_scripts}
  1066. [env:magichome-led-controller]
  1067. platform = ${common.platform}
  1068. framework = ${common.framework}
  1069. board = ${common.board_1m}
  1070. board_build.flash_mode = ${common.flash_mode}
  1071. lib_deps = ${common.lib_deps}
  1072. lib_ignore = ${common.lib_ignore}
  1073. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER
  1074. monitor_speed = ${common.monitor_speed}
  1075. extra_scripts = ${common.extra_scripts}
  1076. [env:magichome-led-controller-ota]
  1077. platform = ${common.platform}
  1078. framework = ${common.framework}
  1079. board = ${common.board_1m}
  1080. board_build.flash_mode = ${common.flash_mode}
  1081. lib_deps = ${common.lib_deps}
  1082. lib_ignore = ${common.lib_ignore}
  1083. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER
  1084. upload_speed = ${common.upload_speed}
  1085. upload_port = ${common.upload_port}
  1086. upload_flags = ${common.upload_flags}
  1087. monitor_speed = ${common.monitor_speed}
  1088. extra_scripts = ${common.extra_scripts}
  1089. [env:magichome-led-controller-20]
  1090. platform = ${common.platform}
  1091. framework = ${common.framework}
  1092. board = ${common.board_1m}
  1093. board_build.flash_mode = ${common.flash_mode}
  1094. lib_deps = ${common.lib_deps}
  1095. lib_ignore = ${common.lib_ignore}
  1096. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER_20
  1097. monitor_speed = ${common.monitor_speed}
  1098. extra_scripts = ${common.extra_scripts}
  1099. [env:magichome-led-controller-20-ota]
  1100. platform = ${common.platform}
  1101. framework = ${common.framework}
  1102. board = ${common.board_1m}
  1103. board_build.flash_mode = ${common.flash_mode}
  1104. lib_deps = ${common.lib_deps}
  1105. lib_ignore = ${common.lib_ignore}
  1106. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER_20
  1107. upload_port = ${common.upload_port}
  1108. upload_flags = ${common.upload_flags}
  1109. monitor_speed = ${common.monitor_speed}
  1110. extra_scripts = ${common.extra_scripts}
  1111. [env:huacanxing-h801]
  1112. platform = ${common.platform}
  1113. framework = ${common.framework}
  1114. board = ${common.board_1m}
  1115. board_build.flash_mode = ${common.flash_mode}
  1116. lib_deps = ${common.lib_deps}
  1117. lib_ignore = ${common.lib_ignore}
  1118. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H801
  1119. monitor_speed = ${common.monitor_speed}
  1120. extra_scripts = ${common.extra_scripts}
  1121. [env:huacanxing-h801-ota]
  1122. platform = ${common.platform}
  1123. framework = ${common.framework}
  1124. board = ${common.board_1m}
  1125. board_build.flash_mode = ${common.flash_mode}
  1126. lib_deps = ${common.lib_deps}
  1127. lib_ignore = ${common.lib_ignore}
  1128. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H801
  1129. upload_speed = ${common.upload_speed}
  1130. upload_port = ${common.upload_port}
  1131. upload_flags = ${common.upload_flags}
  1132. monitor_speed = ${common.monitor_speed}
  1133. extra_scripts = ${common.extra_scripts}
  1134. [env:huacanxing-h802]
  1135. platform = ${common.platform}
  1136. framework = ${common.framework}
  1137. board = ${common.board_1m}
  1138. board_build.flash_mode = ${common.flash_mode}
  1139. lib_deps = ${common.lib_deps}
  1140. lib_ignore = ${common.lib_ignore}
  1141. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H802
  1142. monitor_speed = ${common.monitor_speed}
  1143. extra_scripts = ${common.extra_scripts}
  1144. [env:huacanxing-h802-ota]
  1145. platform = ${common.platform}
  1146. framework = ${common.framework}
  1147. board = ${common.board_1m}
  1148. board_build.flash_mode = ${common.flash_mode}
  1149. lib_deps = ${common.lib_deps}
  1150. lib_ignore = ${common.lib_ignore}
  1151. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H802
  1152. upload_speed = ${common.upload_speed}
  1153. upload_port = ${common.upload_port}
  1154. upload_flags = ${common.upload_flags}
  1155. monitor_speed = ${common.monitor_speed}
  1156. extra_scripts = ${common.extra_scripts}
  1157. [env:arilux-al-lc01]
  1158. platform = ${common.platform}
  1159. framework = ${common.framework}
  1160. board = ${common.board_1m}
  1161. board_build.flash_mode = ${common.flash_mode}
  1162. lib_deps = ${common.lib_deps}
  1163. lib_ignore = ${common.lib_ignore}
  1164. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC01
  1165. monitor_speed = ${common.monitor_speed}
  1166. extra_scripts = ${common.extra_scripts}
  1167. [env:arilux-al-lc01-ota]
  1168. platform = ${common.platform}
  1169. framework = ${common.framework}
  1170. board = ${common.board_1m}
  1171. board_build.flash_mode = ${common.flash_mode}
  1172. lib_deps = ${common.lib_deps}
  1173. lib_ignore = ${common.lib_ignore}
  1174. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC01
  1175. upload_speed = ${common.upload_speed}
  1176. upload_port = ${common.upload_port}
  1177. upload_flags = ${common.upload_flags}
  1178. monitor_speed = ${common.monitor_speed}
  1179. extra_scripts = ${common.extra_scripts}
  1180. [env:arilux-al-lc02]
  1181. platform = ${common.platform}
  1182. framework = ${common.framework}
  1183. board = ${common.board_1m}
  1184. board_build.flash_mode = ${common.flash_mode}
  1185. lib_deps = ${common.lib_deps}
  1186. lib_ignore = ${common.lib_ignore}
  1187. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02
  1188. monitor_speed = ${common.monitor_speed}
  1189. extra_scripts = ${common.extra_scripts}
  1190. [env:arilux-al-lc02-ota]
  1191. platform = ${common.platform}
  1192. framework = ${common.framework}
  1193. board = ${common.board_1m}
  1194. board_build.flash_mode = ${common.flash_mode}
  1195. lib_deps = ${common.lib_deps}
  1196. lib_ignore = ${common.lib_ignore}
  1197. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02
  1198. upload_speed = ${common.upload_speed}
  1199. upload_port = ${common.upload_port}
  1200. upload_flags = ${common.upload_flags}
  1201. monitor_speed = ${common.monitor_speed}
  1202. extra_scripts = ${common.extra_scripts}
  1203. [env:arilux-al-lc06]
  1204. platform = ${common.platform}
  1205. framework = ${common.framework}
  1206. board = ${common.board_1m}
  1207. board_build.flash_mode = ${common.flash_mode}
  1208. lib_deps = ${common.lib_deps}
  1209. lib_ignore = ${common.lib_ignore}
  1210. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC06
  1211. monitor_speed = ${common.monitor_speed}
  1212. extra_scripts = ${common.extra_scripts}
  1213. [env:arilux-al-lc06-ota]
  1214. platform = ${common.platform}
  1215. framework = ${common.framework}
  1216. board = ${common.board_1m}
  1217. board_build.flash_mode = ${common.flash_mode}
  1218. lib_deps = ${common.lib_deps}
  1219. lib_ignore = ${common.lib_ignore}
  1220. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC06
  1221. upload_speed = ${common.upload_speed}
  1222. upload_port = ${common.upload_port}
  1223. upload_flags = ${common.upload_flags}
  1224. monitor_speed = ${common.monitor_speed}
  1225. extra_scripts = ${common.extra_scripts}
  1226. [env:arilux-al-lc11]
  1227. platform = ${common.platform}
  1228. framework = ${common.framework}
  1229. board = ${common.board_1m}
  1230. board_build.flash_mode = ${common.flash_mode}
  1231. lib_deps = ${common.lib_deps}
  1232. lib_ignore = ${common.lib_ignore}
  1233. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC11
  1234. monitor_speed = ${common.monitor_speed}
  1235. extra_scripts = ${common.extra_scripts}
  1236. [env:arilux-al-lc11-ota]
  1237. platform = ${common.platform}
  1238. framework = ${common.framework}
  1239. board = ${common.board_1m}
  1240. board_build.flash_mode = ${common.flash_mode}
  1241. lib_deps = ${common.lib_deps}
  1242. lib_ignore = ${common.lib_ignore}
  1243. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC11
  1244. upload_speed = ${common.upload_speed}
  1245. upload_port = ${common.upload_port}
  1246. upload_flags = ${common.upload_flags}
  1247. monitor_speed = ${common.monitor_speed}
  1248. extra_scripts = ${common.extra_scripts}
  1249. [env:arilux-e27]
  1250. platform = ${common.platform}
  1251. framework = ${common.framework}
  1252. board = ${common.board_1m}
  1253. board_build.flash_mode = ${common.flash_mode}
  1254. lib_deps = ${common.lib_deps}
  1255. lib_ignore = ${common.lib_ignore}
  1256. build_flags = ${common.build_flags_1m0m} -DARILUX_E27
  1257. monitor_speed = ${common.monitor_speed}
  1258. extra_scripts = ${common.extra_scripts}
  1259. [env:arilux-e27-ota]
  1260. platform = ${common.platform}
  1261. framework = ${common.framework}
  1262. board = ${common.board_1m}
  1263. board_build.flash_mode = ${common.flash_mode}
  1264. lib_deps = ${common.lib_deps}
  1265. lib_ignore = ${common.lib_ignore}
  1266. build_flags = ${common.build_flags_1m0m} -DARILUX_E27
  1267. upload_speed = ${common.upload_speed}
  1268. upload_port = ${common.upload_port}
  1269. upload_flags = ${common.upload_flags}
  1270. monitor_speed = ${common.monitor_speed}
  1271. extra_scripts = ${common.extra_scripts}
  1272. [env:itead-bnsz01]
  1273. platform = ${common.platform}
  1274. framework = ${common.framework}
  1275. board = ${common.board_1m}
  1276. board_build.flash_mode = ${common.flash_mode}
  1277. lib_deps = ${common.lib_deps}
  1278. lib_ignore = ${common.lib_ignore}
  1279. build_flags = ${common.build_flags_1m0m} -DITEAD_BNSZ01
  1280. monitor_speed = ${common.monitor_speed}
  1281. extra_scripts = ${common.extra_scripts}
  1282. [env:itead-bnsz01-ota]
  1283. platform = ${common.platform}
  1284. framework = ${common.framework}
  1285. board = ${common.board_1m}
  1286. board_build.flash_mode = ${common.flash_mode}
  1287. lib_deps = ${common.lib_deps}
  1288. lib_ignore = ${common.lib_ignore}
  1289. build_flags = ${common.build_flags_1m0m} -DITEAD_BNSZ01
  1290. upload_speed = ${common.upload_speed}
  1291. upload_port = ${common.upload_port}
  1292. upload_flags = ${common.upload_flags}
  1293. monitor_speed = ${common.monitor_speed}
  1294. extra_scripts = ${common.extra_scripts}
  1295. [env:wion-50055]
  1296. platform = ${common.platform}
  1297. framework = ${common.framework}
  1298. board = ${common.board_1m}
  1299. board_build.flash_mode = ${common.flash_mode}
  1300. lib_deps = ${common.lib_deps}
  1301. lib_ignore = ${common.lib_ignore}
  1302. build_flags = ${common.build_flags_1m0m} -DWION_50055
  1303. monitor_speed = ${common.monitor_speed}
  1304. extra_scripts = ${common.extra_scripts}
  1305. [env:wion-50055-ota]
  1306. platform = ${common.platform}
  1307. framework = ${common.framework}
  1308. board = ${common.board_1m}
  1309. board_build.flash_mode = ${common.flash_mode}
  1310. lib_deps = ${common.lib_deps}
  1311. lib_ignore = ${common.lib_ignore}
  1312. build_flags = ${common.build_flags_1m0m} -DWION_50055
  1313. upload_speed = ${common.upload_speed}
  1314. upload_port = ${common.upload_port}
  1315. upload_flags = ${common.upload_flags}
  1316. monitor_speed = ${common.monitor_speed}
  1317. extra_scripts = ${common.extra_scripts}
  1318. [env:exs-wifi-relay-v31]
  1319. platform = ${common.platform}
  1320. framework = ${common.framework}
  1321. board = ${common.board_4m}
  1322. board_build.flash_mode = ${common.flash_mode}
  1323. lib_deps = ${common.lib_deps}
  1324. lib_ignore = ${common.lib_ignore}
  1325. build_flags = ${common.build_flags_4m1m} -DEXS_WIFI_RELAY_V31
  1326. monitor_speed = ${common.monitor_speed}
  1327. extra_scripts = ${common.extra_scripts}
  1328. [env:exs-wifi-relay-v31-ota]
  1329. platform = ${common.platform}
  1330. framework = ${common.framework}
  1331. board = ${common.board_4m}
  1332. board_build.flash_mode = ${common.flash_mode}
  1333. lib_deps = ${common.lib_deps}
  1334. lib_ignore = ${common.lib_ignore}
  1335. build_flags = ${common.build_flags_4m1m} -DEXS_WIFI_RELAY_V31
  1336. upload_speed = ${common.upload_speed}
  1337. upload_port = ${common.upload_port}
  1338. upload_flags = ${common.upload_flags}
  1339. monitor_speed = ${common.monitor_speed}
  1340. extra_scripts = ${common.extra_scripts}
  1341. [env:wemos-v9261f]
  1342. platform = ${common.platform}
  1343. framework = ${common.framework}
  1344. board = ${common.board_4m}
  1345. board_build.flash_mode = ${common.flash_mode}
  1346. lib_deps = ${common.lib_deps}
  1347. lib_ignore = ${common.lib_ignore}
  1348. build_flags = ${common.build_flags_4m1m} -DGENERIC_V9261F
  1349. upload_speed = ${common.upload_speed_fast}
  1350. monitor_speed = ${common.monitor_speed}
  1351. extra_scripts = ${common.extra_scripts}
  1352. [env:wemos-v9261f-ota]
  1353. platform = ${common.platform}
  1354. framework = ${common.framework}
  1355. board = ${common.board_4m}
  1356. board_build.flash_mode = ${common.flash_mode}
  1357. lib_deps = ${common.lib_deps}
  1358. lib_ignore = ${common.lib_ignore}
  1359. build_flags = ${common.build_flags_4m1m} -DGENERIC_V9261F
  1360. upload_speed = ${common.upload_speed}
  1361. upload_port = ${common.upload_port}
  1362. upload_flags = ${common.upload_flags}
  1363. monitor_speed = ${common.monitor_speed}
  1364. extra_scripts = ${common.extra_scripts}
  1365. [env:esp01-v9261f]
  1366. platform = ${common.platform}
  1367. framework = ${common.framework}
  1368. board = ${common.board_1m}
  1369. board_build.flash_mode = ${common.flash_mode}
  1370. lib_deps = ${common.lib_deps}
  1371. lib_ignore = ${common.lib_ignore}
  1372. build_flags = ${common.build_flags_1m0m} -DGENERIC_V9261F
  1373. monitor_speed = ${common.monitor_speed}
  1374. extra_scripts = ${common.extra_scripts}
  1375. [env:esp01-v9261f-ota]
  1376. platform = ${common.platform}
  1377. framework = ${common.framework}
  1378. board = ${common.board_1m}
  1379. board_build.flash_mode = ${common.flash_mode}
  1380. lib_deps = ${common.lib_deps}
  1381. lib_ignore = ${common.lib_ignore}
  1382. build_flags = ${common.build_flags_1m0m} -DGENERIC_V9261F
  1383. upload_speed = ${common.upload_speed}
  1384. upload_port = ${common.upload_port}
  1385. upload_flags = ${common.upload_flags}
  1386. monitor_speed = ${common.monitor_speed}
  1387. extra_scripts = ${common.extra_scripts}
  1388. [env:wemos-ech1560]
  1389. platform = ${common.platform}
  1390. framework = ${common.framework}
  1391. board = ${common.board_4m}
  1392. board_build.flash_mode = ${common.flash_mode}
  1393. lib_deps = ${common.lib_deps}
  1394. lib_ignore = ${common.lib_ignore}
  1395. build_flags = ${common.build_flags_4m1m} -DGENERIC_ECH1560
  1396. upload_speed = ${common.upload_speed_fast}
  1397. monitor_speed = ${common.monitor_speed}
  1398. extra_scripts = ${common.extra_scripts}
  1399. [env:wemos-ech1560-ota]
  1400. platform = ${common.platform}
  1401. framework = ${common.framework}
  1402. board = ${common.board_4m}
  1403. board_build.flash_mode = ${common.flash_mode}
  1404. lib_deps = ${common.lib_deps}
  1405. lib_ignore = ${common.lib_ignore}
  1406. build_flags = ${common.build_flags_4m1m} -DGENERIC_ECH1560
  1407. upload_speed = ${common.upload_speed}
  1408. upload_port = ${common.upload_port}
  1409. upload_flags = ${common.upload_flags}
  1410. monitor_speed = ${common.monitor_speed}
  1411. extra_scripts = ${common.extra_scripts}
  1412. [env:esp01-ech1560]
  1413. platform = ${common.platform}
  1414. framework = ${common.framework}
  1415. board = ${common.board_1m}
  1416. board_build.flash_mode = ${common.flash_mode}
  1417. lib_deps = ${common.lib_deps}
  1418. lib_ignore = ${common.lib_ignore}
  1419. build_flags = ${common.build_flags_1m0m} -DGENERIC_ECH1560
  1420. monitor_speed = ${common.monitor_speed}
  1421. extra_scripts = ${common.extra_scripts}
  1422. [env:esp01-ech1560-ota]
  1423. platform = ${common.platform}
  1424. framework = ${common.framework}
  1425. board = ${common.board_1m}
  1426. board_build.flash_mode = ${common.flash_mode}
  1427. lib_deps = ${common.lib_deps}
  1428. lib_ignore = ${common.lib_ignore}
  1429. build_flags = ${common.build_flags_1m0m} -DGENERIC_ECH1560
  1430. upload_speed = ${common.upload_speed}
  1431. upload_port = ${common.upload_port}
  1432. upload_flags = ${common.upload_flags}
  1433. monitor_speed = ${common.monitor_speed}
  1434. extra_scripts = ${common.extra_scripts}
  1435. [env:mancavemade-esplive]
  1436. platform = ${common.platform}
  1437. framework = ${common.framework}
  1438. board = ${common.board_4m}
  1439. board_build.flash_mode = ${common.flash_mode}
  1440. lib_deps = ${common.lib_deps}
  1441. lib_ignore = ${common.lib_ignore}
  1442. build_flags = ${common.build_flags_4m1m} -DMANCAVEMADE_ESPLIVE
  1443. upload_speed = ${common.upload_speed_fast}
  1444. monitor_speed = ${common.monitor_speed}
  1445. extra_scripts = ${common.extra_scripts}
  1446. [env:mancavemade-esplive-ota]
  1447. platform = ${common.platform}
  1448. framework = ${common.framework}
  1449. board = ${common.board_4m}
  1450. board_build.flash_mode = ${common.flash_mode}
  1451. lib_deps = ${common.lib_deps}
  1452. lib_ignore = ${common.lib_ignore}
  1453. build_flags = ${common.build_flags_4m1m} -DMANCAVEMADE_ESPLIVE
  1454. upload_speed = ${common.upload_speed_fast}
  1455. upload_port = ${common.upload_port}
  1456. upload_flags = ${common.upload_flags}
  1457. monitor_speed = ${common.monitor_speed}
  1458. extra_scripts = ${common.extra_scripts}
  1459. [env:intermittech-quinled]
  1460. platform = ${common.platform}
  1461. framework = ${common.framework}
  1462. board = ${common.board_1m}
  1463. board_build.flash_mode = ${common.flash_mode}
  1464. lib_deps = ${common.lib_deps}
  1465. lib_ignore = ${common.lib_ignore}
  1466. build_flags = ${common.build_flags_1m0m} -DINTERMITTECH_QUINLED
  1467. monitor_speed = ${common.monitor_speed}
  1468. extra_scripts = ${common.extra_scripts}
  1469. [env:intermittech-quinled-ota]
  1470. platform = ${common.platform}
  1471. framework = ${common.framework}
  1472. board = ${common.board_1m}
  1473. board_build.flash_mode = ${common.flash_mode}
  1474. lib_deps = ${common.lib_deps}
  1475. lib_ignore = ${common.lib_ignore}
  1476. build_flags = ${common.build_flags_1m0m} -DINTERMITTECH_QUINLED
  1477. upload_speed = ${common.upload_speed}
  1478. upload_port = ${common.upload_port}
  1479. upload_flags = ${common.upload_flags}
  1480. monitor_speed = ${common.monitor_speed}
  1481. extra_scripts = ${common.extra_scripts}
  1482. [env:xenon-sm-pw702u]
  1483. platform = ${common.platform}
  1484. framework = ${common.framework}
  1485. board = ${common.board_1m}
  1486. board_build.flash_mode = ${common.flash_mode}
  1487. lib_deps = ${common.lib_deps}
  1488. lib_ignore = ${common.lib_ignore}
  1489. build_flags = ${common.build_flags_1m0m} -DXENON_SM_PW702U
  1490. monitor_speed = ${common.monitor_speed}
  1491. extra_scripts = ${common.extra_scripts}
  1492. [env:xenon-sm-pw702u-ota]
  1493. platform = ${common.platform}
  1494. framework = ${common.framework}
  1495. board = ${common.board_1m}
  1496. board_build.flash_mode = ${common.flash_mode}
  1497. lib_deps = ${common.lib_deps}
  1498. lib_ignore = ${common.lib_ignore}
  1499. build_flags = ${common.build_flags_1m0m} -DXENON_SM_PW702U
  1500. upload_speed = ${common.upload_speed}
  1501. upload_port = ${common.upload_port}
  1502. upload_flags = ${common.upload_flags}
  1503. monitor_speed = ${common.monitor_speed}
  1504. extra_scripts = ${common.extra_scripts}
  1505. [env:authometion-lyt8266]
  1506. platform = ${common.platform}
  1507. framework = ${common.framework}
  1508. board = ${common.board_1m}
  1509. board_build.flash_mode = ${common.flash_mode}
  1510. lib_deps = ${common.lib_deps}
  1511. lib_ignore = ${common.lib_ignore}
  1512. build_flags = ${common.build_flags_1m0m} -DAUTHOMETION_LYT8266
  1513. monitor_speed = ${common.monitor_speed}
  1514. extra_scripts = ${common.extra_scripts}
  1515. [env:authometion-lyt8266-ota]
  1516. platform = ${common.platform}
  1517. framework = ${common.framework}
  1518. board = ${common.board_1m}
  1519. board_build.flash_mode = ${common.flash_mode}
  1520. lib_deps = ${common.lib_deps}
  1521. lib_ignore = ${common.lib_ignore}
  1522. build_flags = ${common.build_flags_1m0m} -DAUTHOMETION_LYT8266
  1523. upload_speed = ${common.upload_speed}
  1524. upload_port = ${common.upload_port}
  1525. upload_flags = ${common.upload_flags}
  1526. monitor_speed = ${common.monitor_speed}
  1527. extra_scripts = ${common.extra_scripts}
  1528. [env:kmc-70011]
  1529. platform = ${common.platform}
  1530. framework = ${common.framework}
  1531. board = ${common.board_1m}
  1532. board_build.flash_mode = ${common.flash_mode}
  1533. lib_deps = ${common.lib_deps}
  1534. lib_ignore = ${common.lib_ignore}
  1535. build_flags = ${common.build_flags_1m0m} -DKMC_70011
  1536. monitor_speed = ${common.monitor_speed}
  1537. extra_scripts = ${common.extra_scripts}
  1538. [env:kmc-70011-ota]
  1539. platform = ${common.platform}
  1540. framework = ${common.framework}
  1541. board = ${common.board_1m}
  1542. board_build.flash_mode = ${common.flash_mode}
  1543. lib_deps = ${common.lib_deps}
  1544. lib_ignore = ${common.lib_ignore}
  1545. build_flags = ${common.build_flags_1m0m} -DKMC_70011
  1546. upload_speed = ${common.upload_speed}
  1547. upload_port = ${common.upload_port}
  1548. upload_flags = ${common.upload_flags}
  1549. monitor_speed = ${common.monitor_speed}
  1550. extra_scripts = ${common.extra_scripts}
  1551. [env:yjzk-switch-2ch]
  1552. platform = ${common.platform}
  1553. framework = ${common.framework}
  1554. board = ${common.board_1m}
  1555. board_build.flash_mode = ${common.flash_mode}
  1556. lib_deps = ${common.lib_deps}
  1557. lib_ignore = ${common.lib_ignore}
  1558. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_2CH
  1559. monitor_speed = ${common.monitor_speed}
  1560. extra_scripts = ${common.extra_scripts}
  1561. [env:yjzk-switch-2ch-ota]
  1562. platform = ${common.platform}
  1563. framework = ${common.framework}
  1564. board = ${common.board_1m}
  1565. board_build.flash_mode = ${common.flash_mode}
  1566. lib_deps = ${common.lib_deps}
  1567. lib_ignore = ${common.lib_ignore}
  1568. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_2CH
  1569. upload_speed = ${common.upload_speed}
  1570. upload_port = ${common.upload_port}
  1571. upload_flags = ${common.upload_flags}
  1572. monitor_speed = ${common.monitor_speed}
  1573. extra_scripts = ${common.extra_scripts}
  1574. [env:generic-8ch]
  1575. platform = ${common.platform}
  1576. framework = ${common.framework}
  1577. board = ${common.board_4m}
  1578. board_build.flash_mode = ${common.flash_mode}
  1579. lib_deps = ${common.lib_deps}
  1580. lib_ignore = ${common.lib_ignore}
  1581. build_flags = ${common.build_flags_4m1m} -DGENERIC_8CH
  1582. upload_speed = ${common.upload_speed_fast}
  1583. monitor_speed = ${common.monitor_speed}
  1584. extra_scripts = ${common.extra_scripts}
  1585. [env:gizwits-witty-cloud]
  1586. platform = ${common.platform}
  1587. framework = ${common.framework}
  1588. board = ${common.board_4m}
  1589. board_build.flash_mode = ${common.flash_mode}
  1590. lib_deps = ${common.lib_deps}
  1591. lib_ignore = ${common.lib_ignore}
  1592. build_flags = ${common.build_flags_4m1m} -DGIZWITS_WITTY_CLOUD
  1593. monitor_speed = ${common.monitor_speed}
  1594. extra_scripts = ${common.extra_scripts}
  1595. [env:gizwits-witty-cloud-ota]
  1596. platform = ${common.platform}
  1597. framework = ${common.framework}
  1598. board = ${common.board_4m}
  1599. board_build.flash_mode = ${common.flash_mode}
  1600. lib_deps = ${common.lib_deps}
  1601. lib_ignore = ${common.lib_ignore}
  1602. build_flags = ${common.build_flags_4m1m} -DGIZWITS_WITTY_CLOUD
  1603. upload_speed = ${common.upload_speed}
  1604. upload_port = ${common.upload_port}
  1605. upload_flags = ${common.upload_flags}
  1606. extra_scripts = ${common.extra_scripts}
  1607. [env:euromate-wifi-stecker-shuko]
  1608. platform = ${common.platform}
  1609. framework = ${common.framework}
  1610. board = ${common.board_1m}
  1611. board_build.flash_mode = ${common.flash_mode}
  1612. lib_deps = ${common.lib_deps}
  1613. lib_ignore = ${common.lib_ignore}
  1614. build_flags = ${common.build_flags_1m0m} -DEUROMATE_WIFI_STECKER_SCHUKO
  1615. monitor_speed = ${common.monitor_speed}
  1616. extra_scripts = ${common.extra_scripts}
  1617. [env:euromate-wifi-stecker-shuko-ota]
  1618. platform = ${common.platform}
  1619. framework = ${common.framework}
  1620. board = ${common.board_1m}
  1621. board_build.flash_mode = ${common.flash_mode}
  1622. lib_deps = ${common.lib_deps}
  1623. lib_ignore = ${common.lib_ignore}
  1624. build_flags = ${common.build_flags_1m0m} -DEUROMATE_WIFI_STECKER_SCHUKO
  1625. upload_speed = ${common.upload_speed}
  1626. upload_port = ${common.upload_port}
  1627. upload_flags = ${common.upload_flags}
  1628. extra_scripts = ${common.extra_scripts}
  1629. [env:tonbux-powerstrip02]
  1630. platform = ${common.platform}
  1631. framework = ${common.framework}
  1632. board = ${common.board_1m}
  1633. board_build.flash_mode = ${common.flash_mode}
  1634. lib_deps = ${common.lib_deps}
  1635. lib_ignore = ${common.lib_ignore}
  1636. build_flags = ${common.build_flags_1m0m} -DTONBUX_POWERSTRIP02
  1637. monitor_speed = ${common.monitor_speed}
  1638. extra_scripts = ${common.extra_scripts}
  1639. [env:tonbux-powerstrip02-ota]
  1640. platform = ${common.platform}
  1641. framework = ${common.framework}
  1642. board = ${common.board_1m}
  1643. board_build.flash_mode = ${common.flash_mode}
  1644. lib_deps = ${common.lib_deps}
  1645. lib_ignore = ${common.lib_ignore}
  1646. build_flags = ${common.build_flags_1m0m} -DTONBUX_POWERSTRIP02
  1647. upload_speed = ${common.upload_speed}
  1648. upload_port = ${common.upload_port}
  1649. upload_flags = ${common.upload_flags}
  1650. extra_scripts = ${common.extra_scripts}
  1651. [env:lingan-swa1]
  1652. platform = ${common.platform}
  1653. framework = ${common.framework}
  1654. board = ${common.board_1m}
  1655. board_build.flash_mode = ${common.flash_mode}
  1656. lib_deps = ${common.lib_deps}
  1657. lib_ignore = ${common.lib_ignore}
  1658. build_flags = ${common.build_flags_1m0m} -DLINGAN_SWA1
  1659. monitor_speed = ${common.monitor_speed}
  1660. extra_scripts = ${common.extra_scripts}
  1661. [env:lingan-swa1-ota]
  1662. platform = ${common.platform}
  1663. framework = ${common.framework}
  1664. board = ${common.board_1m}
  1665. board_build.flash_mode = ${common.flash_mode}
  1666. lib_deps = ${common.lib_deps}
  1667. lib_ignore = ${common.lib_ignore}
  1668. build_flags = ${common.build_flags_1m0m} -DLINGAN_SWA1
  1669. upload_speed = ${common.upload_speed}
  1670. upload_port = ${common.upload_port}
  1671. upload_flags = ${common.upload_flags}
  1672. extra_scripts = ${common.extra_scripts}
  1673. [env:stm-relay]
  1674. platform = ${common.platform}
  1675. framework = ${common.framework}
  1676. board = ${common.board_1m}
  1677. board_build.flash_mode = ${common.flash_mode}
  1678. lib_deps = ${common.lib_deps}
  1679. lib_ignore = ${common.lib_ignore}
  1680. build_flags = ${common.build_flags_1m0m} -DSTM_RELAY
  1681. monitor_speed = ${common.monitor_speed}
  1682. extra_scripts = ${common.extra_scripts}
  1683. [env:stm-relay-ota]
  1684. platform = ${common.platform}
  1685. framework = ${common.framework}
  1686. board = ${common.board_1m}
  1687. board_build.flash_mode = ${common.flash_mode}
  1688. lib_deps = ${common.lib_deps}
  1689. lib_ignore = ${common.lib_ignore}
  1690. build_flags = ${common.build_flags_1m0m} -DSTM_RELAY
  1691. upload_speed = ${common.upload_speed}
  1692. upload_port = ${common.upload_port}
  1693. upload_flags = ${common.upload_flags}
  1694. monitor_speed = ${common.monitor_speed}
  1695. extra_scripts = ${common.extra_scripts}
  1696. [env:heygo-hy02]
  1697. platform = ${common.platform}
  1698. framework = ${common.framework}
  1699. board = ${common.board_1m}
  1700. board_build.flash_mode = ${common.flash_mode}
  1701. lib_deps = ${common.lib_deps}
  1702. lib_ignore = ${common.lib_ignore}
  1703. build_flags = ${common.build_flags_1m0m} -DHEYGO_HY02
  1704. monitor_speed = ${common.monitor_speed}
  1705. extra_scripts = ${common.extra_scripts}
  1706. [env:heygo-hy02-ota]
  1707. platform = ${common.platform}
  1708. framework = ${common.framework}
  1709. board = ${common.board_1m}
  1710. board_build.flash_mode = ${common.flash_mode}
  1711. lib_deps = ${common.lib_deps}
  1712. lib_ignore = ${common.lib_ignore}
  1713. build_flags = ${common.build_flags_1m0m} -DHEYGO_HY02
  1714. upload_speed = ${common.upload_speed}
  1715. upload_port = ${common.upload_port}
  1716. upload_flags = ${common.upload_flags}
  1717. extra_scripts = ${common.extra_scripts}
  1718. [env:maxcio-wus002s]
  1719. platform = ${common.platform}
  1720. framework = ${common.framework}
  1721. board = ${common.board_1m}
  1722. board_build.flash_mode = ${common.flash_mode}
  1723. lib_deps = ${common.lib_deps}
  1724. lib_ignore = ${common.lib_ignore}
  1725. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WUS002S
  1726. monitor_speed = ${common.monitor_speed}
  1727. extra_scripts = ${common.extra_scripts}
  1728. [env:maxcio-wus002s-ota]
  1729. platform = ${common.platform}
  1730. framework = ${common.framework}
  1731. board = ${common.board_1m}
  1732. board_build.flash_mode = ${common.flash_mode}
  1733. lib_deps = ${common.lib_deps}
  1734. lib_ignore = ${common.lib_ignore}
  1735. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WUS002S
  1736. upload_speed = ${common.upload_speed}
  1737. upload_port = ${common.upload_port}
  1738. upload_flags = ${common.upload_flags}
  1739. extra_scripts = ${common.extra_scripts}
  1740. [env:yidian-xsssa05]
  1741. platform = ${common.platform}
  1742. framework = ${common.framework}
  1743. board = ${common.board_1m}
  1744. board_build.flash_mode = ${common.flash_mode}
  1745. lib_deps = ${common.lib_deps}
  1746. lib_ignore = ${common.lib_ignore}
  1747. build_flags = ${common.build_flags_1m0m} -DYIDIAN_XSSSA05
  1748. monitor_speed = ${common.monitor_speed}
  1749. extra_scripts = ${common.extra_scripts}
  1750. [env:yidian-xsssa05-ota]
  1751. platform = ${common.platform}
  1752. framework = ${common.framework}
  1753. board = ${common.board_1m}
  1754. board_build.flash_mode = ${common.flash_mode}
  1755. lib_deps = ${common.lib_deps}
  1756. lib_ignore = ${common.lib_ignore}
  1757. build_flags = ${common.build_flags_1m0m} -DYIDIAN_XSSSA05
  1758. upload_speed = ${common.upload_speed}
  1759. upload_port = ${common.upload_port}
  1760. upload_flags = ${common.upload_flags}
  1761. extra_scripts = ${common.extra_scripts}
  1762. [env:tonbux-xsssa06]
  1763. platform = ${common.platform}
  1764. framework = ${common.framework}
  1765. board = ${common.board_1m}
  1766. board_build.flash_mode = ${common.flash_mode}
  1767. lib_deps = ${common.lib_deps}
  1768. lib_ignore = ${common.lib_ignore}
  1769. build_flags = ${common.build_flags_1m0m} -DTONBUX_XSSSA06
  1770. monitor_speed = ${common.monitor_speed}
  1771. extra_scripts = ${common.extra_scripts}
  1772. [env:tonbux-xsssa06-ota]
  1773. platform = ${common.platform}
  1774. framework = ${common.framework}
  1775. board = ${common.board_1m}
  1776. board_build.flash_mode = ${common.flash_mode}
  1777. lib_deps = ${common.lib_deps}
  1778. lib_ignore = ${common.lib_ignore}
  1779. build_flags = ${common.build_flags_1m0m} -DTONBUX_XSSSA06
  1780. upload_speed = ${common.upload_speed}
  1781. upload_port = ${common.upload_port}
  1782. upload_flags = ${common.upload_flags}
  1783. extra_scripts = ${common.extra_scripts}
  1784. [env:green-esp8266relay]
  1785. platform = ${common.platform}
  1786. framework = ${common.framework}
  1787. board = ${common.board_4m}
  1788. board_build.flash_mode = ${common.flash_mode}
  1789. lib_deps = ${common.lib_deps}
  1790. lib_ignore = ${common.lib_ignore}
  1791. build_flags = ${common.build_flags_4m1m} -DGREEN_ESP8266RELAY
  1792. monitor_speed = ${common.monitor_speed}
  1793. extra_scripts = ${common.extra_scripts}
  1794. [env:green-esp8266relay-ota]
  1795. platform = ${common.platform}
  1796. framework = ${common.framework}
  1797. board = ${common.board_4m}
  1798. board_build.flash_mode = ${common.flash_mode}
  1799. lib_deps = ${common.lib_deps}
  1800. lib_ignore = ${common.lib_ignore}
  1801. build_flags = ${common.build_flags_4m1m} -DGREEN_ESP8266RELAY
  1802. upload_speed = ${common.upload_speed}
  1803. upload_port = ${common.upload_port}
  1804. upload_flags = ${common.upload_flags}
  1805. extra_scripts = ${common.extra_scripts}
  1806. [env:ike-espike]
  1807. platform = ${common.platform}
  1808. framework = ${common.framework}
  1809. board = ${common.board_4m}
  1810. board_build.flash_mode = ${common.flash_mode}
  1811. lib_deps = ${common.lib_deps}
  1812. lib_ignore = ${common.lib_ignore}
  1813. build_flags = ${common.build_flags_4m1m} -DIKE_ESPIKE
  1814. monitor_speed = ${common.monitor_speed}
  1815. extra_scripts = ${common.extra_scripts}
  1816. [env:ike-espike-ota]
  1817. platform = ${common.platform}
  1818. framework = ${common.framework}
  1819. board = ${common.board_4m}
  1820. board_build.flash_mode = ${common.flash_mode}
  1821. lib_deps = ${common.lib_deps}
  1822. lib_ignore = ${common.lib_ignore}
  1823. build_flags = ${common.build_flags_4m1m} -DIKE_ESPIKE
  1824. upload_speed = ${common.upload_speed}
  1825. upload_port = ${common.upload_port}
  1826. upload_flags = ${common.upload_flags}
  1827. extra_scripts = ${common.extra_scripts}
  1828. [env:arniex-swifitch]
  1829. platform = ${common.platform}
  1830. framework = ${common.framework}
  1831. board = ${common.board_4m}
  1832. board_build.flash_mode = ${common.flash_mode}
  1833. lib_deps = ${common.lib_deps}
  1834. lib_ignore = ${common.lib_ignore}
  1835. build_flags = ${common.build_flags_4m1m} -DARNIEX_SWIFITCH
  1836. extra_scripts = ${common.extra_scripts}
  1837. monitor_speed = ${common.monitor_speed}
  1838. [env:arniex-swifitch-ota]
  1839. platform = ${common.platform}
  1840. framework = ${common.framework}
  1841. board = ${common.board_4m}
  1842. board_build.flash_mode = ${common.flash_mode}
  1843. lib_deps = ${common.lib_deps}
  1844. lib_ignore = ${common.lib_ignore}
  1845. build_flags = ${common.build_flags_4m1m} -DARNIEX_SWIFITCH
  1846. upload_speed = ${common.upload_speed}
  1847. upload_port = ${common.upload_port}
  1848. upload_flags = ${common.upload_flags}
  1849. extra_scripts = ${common.extra_scripts}
  1850. [env:zhilde-eu44-w]
  1851. platform = ${common.platform}
  1852. framework = ${common.framework}
  1853. board = ${common.board_1m}
  1854. board_build.flash_mode = ${common.flash_mode}
  1855. lib_deps = ${common.lib_deps}
  1856. lib_ignore = ${common.lib_ignore}
  1857. build_flags = ${common.build_flags_1m0m} -DZHILDE_EU44_W
  1858. monitor_speed = ${common.monitor_speed}
  1859. extra_scripts = ${common.extra_scripts}
  1860. [env:zhilde-eu44-w-ota]
  1861. platform = ${common.platform}
  1862. framework = ${common.framework}
  1863. board = ${common.board_1m}
  1864. board_build.flash_mode = ${common.flash_mode}
  1865. lib_deps = ${common.lib_deps}
  1866. lib_ignore = ${common.lib_ignore}
  1867. build_flags = ${common.build_flags_1m0m} -DZHILDE_EU44_W
  1868. upload_speed = ${common.upload_speed}
  1869. upload_port = ${common.upload_port}
  1870. upload_flags = ${common.upload_flags}
  1871. monitor_speed = ${common.monitor_speed}
  1872. extra_scripts = ${common.extra_scripts}
  1873. [env:luani-hvio]
  1874. platform = ${common.platform}
  1875. framework = ${common.framework}
  1876. board = ${common.board_1m}
  1877. board_build.flash_mode = ${common.flash_mode}
  1878. lib_deps = ${common.lib_deps}
  1879. lib_ignore = ${common.lib_ignore}
  1880. build_flags = ${common.build_flags_1m0m} -DLUANI_HVIO
  1881. monitor_speed = ${common.monitor_speed}
  1882. extra_scripts = ${common.extra_scripts}
  1883. [env:luani-hvio-ota]
  1884. platform = ${common.platform}
  1885. framework = ${common.framework}
  1886. board = ${common.board_1m}
  1887. board_build.flash_mode = ${common.flash_mode}
  1888. lib_deps = ${common.lib_deps}
  1889. lib_ignore = ${common.lib_ignore}
  1890. build_flags = ${common.build_flags_1m0m} -DLUANI_HVIO
  1891. upload_speed = ${common.upload_speed}
  1892. upload_port = ${common.upload_port}
  1893. upload_flags = ${common.upload_flags}
  1894. monitor_speed = ${common.monitor_speed}
  1895. extra_scripts = ${common.extra_scripts}
  1896. [env:neo-coolcam-power-plug-wifi]
  1897. platform = ${common.platform}
  1898. framework = ${common.framework}
  1899. board = ${common.board_1m}
  1900. board_build.flash_mode = ${common.flash_mode}
  1901. lib_deps = ${common.lib_deps}
  1902. lib_ignore = ${common.lib_ignore}
  1903. build_flags = ${common.build_flags_1m0m} -DNEO_COOLCAM_NAS_WR01W
  1904. monitor_speed = ${common.monitor_speed}
  1905. extra_scripts = ${common.extra_scripts}
  1906. [env:neo-coolcam-power-plug-wifi-ota]
  1907. platform = ${common.platform}
  1908. framework = ${common.framework}
  1909. board = ${common.board_1m}
  1910. board_build.flash_mode = ${common.flash_mode}
  1911. lib_deps = ${common.lib_deps}
  1912. lib_ignore = ${common.lib_ignore}
  1913. build_flags = ${common.build_flags_1m0m} -DNEO_COOLCAM_NAS_WR01W
  1914. upload_speed = ${common.upload_speed}
  1915. upload_port = ${common.upload_port}
  1916. upload_flags = ${common.upload_flags}
  1917. extra_scripts = ${common.extra_scripts}
  1918. [env:estink-wifi-power-strip]
  1919. platform = ${common.platform}
  1920. framework = ${common.framework}
  1921. board = ${common.board_1m}
  1922. board_build.flash_mode = ${common.flash_mode}
  1923. lib_deps = ${common.lib_deps}
  1924. lib_ignore = ${common.lib_ignore}
  1925. build_flags = ${common.build_flags_1m0m} -DESTINK_WIFI_POWER_STRIP
  1926. monitor_speed = ${common.monitor_speed}
  1927. extra_scripts = ${common.extra_scripts}
  1928. [env:estink-wifi-power-strip-ota]
  1929. platform = ${common.platform}
  1930. framework = ${common.framework}
  1931. board = ${common.board_1m}
  1932. board_build.flash_mode = ${common.flash_mode}
  1933. lib_deps = ${common.lib_deps}
  1934. lib_ignore = ${common.lib_ignore}
  1935. build_flags = ${common.build_flags_1m0m} -DESTINK_WIFI_POWER_STRIP
  1936. upload_speed = ${common.upload_speed}
  1937. upload_port = ${common.upload_port}
  1938. upload_flags = ${common.upload_flags}
  1939. extra_scripts = ${common.extra_scripts}
  1940. # ------------------------------------------------------------------------------
  1941. # GENERIC OTA ENVIRONMENTS
  1942. # ------------------------------------------------------------------------------
  1943. [env:generic-esp01s-relay-40]
  1944. platform = ${common.platform}
  1945. framework = ${common.framework}
  1946. board = ${common.board_1m}
  1947. board_build.flash_mode = ${common.flash_mode}
  1948. lib_deps = ${common.lib_deps}
  1949. lib_ignore = ${common.lib_ignore}
  1950. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40
  1951. monitor_speed = ${common.monitor_speed}
  1952. extra_scripts = ${common.extra_scripts}
  1953. [env:generic-esp01s-relay-40-ota]
  1954. platform = ${common.platform}
  1955. framework = ${common.framework}
  1956. board = ${common.board_1m}
  1957. board_build.flash_mode = ${common.flash_mode}
  1958. lib_deps = ${common.lib_deps}
  1959. lib_ignore = ${common.lib_ignore}
  1960. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40
  1961. upload_speed = ${common.upload_speed}
  1962. upload_port = ${common.upload_port}
  1963. upload_flags = ${common.upload_flags}
  1964. extra_scripts = ${common.extra_scripts}
  1965. [env:generic-esp01s-rgbled-10]
  1966. platform = ${common.platform}
  1967. framework = ${common.framework}
  1968. board = ${common.board_1m}
  1969. board_build.flash_mode = ${common.flash_mode}
  1970. lib_deps = ${common.lib_deps}
  1971. lib_ignore = ${common.lib_ignore}
  1972. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RGBLED_V10
  1973. monitor_speed = ${common.monitor_speed}
  1974. extra_scripts = ${common.extra_scripts}
  1975. [env:generic-esp01s-rgbled-10-ota]
  1976. platform = ${common.platform}
  1977. framework = ${common.framework}
  1978. board = ${common.board_1m}
  1979. board_build.flash_mode = ${common.flash_mode}
  1980. lib_deps = ${common.lib_deps}
  1981. lib_ignore = ${common.lib_ignore}
  1982. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RGBLED_V10
  1983. upload_speed = ${common.upload_speed}
  1984. upload_port = ${common.upload_port}
  1985. upload_flags = ${common.upload_flags}
  1986. extra_scripts = ${common.extra_scripts}
  1987. [env:generic-esp01s-dht11-10]
  1988. platform = ${common.platform}
  1989. framework = ${common.framework}
  1990. board = ${common.board_1m}
  1991. board_build.flash_mode = ${common.flash_mode}
  1992. lib_deps = ${common.lib_deps}
  1993. lib_ignore = ${common.lib_ignore}
  1994. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DHT11_V10
  1995. monitor_speed = ${common.monitor_speed}
  1996. extra_scripts = ${common.extra_scripts}
  1997. [env:generic-esp01s-dht11-10-ota]
  1998. platform = ${common.platform}
  1999. framework = ${common.framework}
  2000. board = ${common.board_1m}
  2001. board_build.flash_mode = ${common.flash_mode}
  2002. lib_deps = ${common.lib_deps}
  2003. lib_ignore = ${common.lib_ignore}
  2004. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DHT11_V10
  2005. upload_speed = ${common.upload_speed}
  2006. upload_port = ${common.upload_port}
  2007. upload_flags = ${common.upload_flags}
  2008. extra_scripts = ${common.extra_scripts}
  2009. [env:generic-esp01s-ds18b20-10]
  2010. platform = ${common.platform}
  2011. framework = ${common.framework}
  2012. board = ${common.board_1m}
  2013. board_build.flash_mode = ${common.flash_mode}
  2014. lib_deps = ${common.lib_deps}
  2015. lib_ignore = ${common.lib_ignore}
  2016. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DS18B20_V10
  2017. monitor_speed = ${common.monitor_speed}
  2018. extra_scripts = ${common.extra_scripts}
  2019. [env:generic-esp01s-ds18b20-10-ota]
  2020. platform = ${common.platform}
  2021. framework = ${common.framework}
  2022. board = ${common.board_1m}
  2023. board_build.flash_mode = ${common.flash_mode}
  2024. lib_deps = ${common.lib_deps}
  2025. lib_ignore = ${common.lib_ignore}
  2026. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DS18B20_V10
  2027. upload_speed = ${common.upload_speed}
  2028. upload_port = ${common.upload_port}
  2029. upload_flags = ${common.upload_flags}
  2030. extra_scripts = ${common.extra_scripts}
  2031. [env:heltec-touch-relay]
  2032. platform = ${common.platform}
  2033. framework = ${common.framework}
  2034. board = ${common.board_1m}
  2035. board_build.flash_mode = ${common.flash_mode}
  2036. lib_deps = ${common.lib_deps}
  2037. lib_ignore = ${common.lib_ignore}
  2038. build_flags = ${common.build_flags_1m0m} -DHELTEC_TOUCHRELAY
  2039. monitor_speed = ${common.monitor_speed}
  2040. extra_scripts = ${common.extra_scripts}
  2041. [env:heltec-touch-relay-ota]
  2042. platform = ${common.platform}
  2043. framework = ${common.framework}
  2044. board = ${common.board_1m}
  2045. board_build.flash_mode = ${common.flash_mode}
  2046. lib_deps = ${common.lib_deps}
  2047. lib_ignore = ${common.lib_ignore}
  2048. build_flags = ${common.build_flags_1m0m} -DHELTEC_TOUCHRELAY
  2049. upload_speed = ${common.upload_speed}
  2050. upload_port = ${common.upload_port}
  2051. upload_flags = ${common.upload_flags}
  2052. extra_scripts = ${common.extra_scripts}
  2053. [env:allnet-4duino-iot-wlan-relais]
  2054. platform = ${common.platform}
  2055. framework = ${common.framework}
  2056. board = ${common.board_4m}
  2057. board_build.flash_mode = ${common.flash_mode}
  2058. lib_deps = ${common.lib_deps}
  2059. lib_ignore = ${common.lib_ignore}
  2060. build_flags = ${common.build_flags_4m1m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  2061. monitor_speed = ${common.monitor_speed}
  2062. extra_scripts = ${common.extra_scripts}
  2063. [env:allnet-4duino-iot-wlan-relais-ota]
  2064. platform = ${common.platform}
  2065. framework = ${common.framework}
  2066. board = ${common.board_4m}
  2067. board_build.flash_mode = ${common.flash_mode}
  2068. lib_deps = ${common.lib_deps}
  2069. lib_ignore = ${common.lib_ignore}
  2070. build_flags = ${common.build_flags_4m1m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  2071. upload_speed = ${common.upload_speed}
  2072. upload_port = ${common.upload_port}
  2073. upload_flags = ${common.upload_flags}
  2074. extra_scripts = ${common.extra_scripts}
  2075. [env:tonbux-mosquito-killer]
  2076. platform = ${common.platform}
  2077. framework = ${common.framework}
  2078. board = ${common.board_1m}
  2079. board_build.flash_mode = ${common.flash_mode}
  2080. lib_deps = ${common.lib_deps}
  2081. lib_ignore = ${common.lib_ignore}
  2082. build_flags = ${common.build_flags_1m0m} -DTONBUX_MOSQUITO_KILLER
  2083. monitor_speed = ${common.monitor_speed}
  2084. extra_scripts = ${common.extra_scripts}
  2085. [env:tonbux-mosquito-killer-ota]
  2086. platform = ${common.platform}
  2087. framework = ${common.framework}
  2088. board = ${common.board_1m}
  2089. board_build.flash_mode = ${common.flash_mode}
  2090. lib_deps = ${common.lib_deps}
  2091. lib_ignore = ${common.lib_ignore}
  2092. build_flags = ${common.build_flags_1m0m} -DTONBUX_MOSQUITO_KILLER
  2093. upload_speed = ${common.upload_speed}
  2094. upload_port = ${common.upload_port}
  2095. upload_flags = ${common.upload_flags}
  2096. extra_scripts = ${common.extra_scripts}
  2097. [env:pilotak-esp-din-v1]
  2098. platform = ${common.platform}
  2099. framework = ${common.framework}
  2100. board = ${common.board_1m}
  2101. board_build.flash_mode = ${common.flash_mode}
  2102. lib_deps = ${common.lib_deps}
  2103. lib_ignore = ${common.lib_ignore}
  2104. build_flags = ${common.build_flags_1m0m} -DPILOTAK_ESP_DIN_V1
  2105. monitor_speed = ${common.monitor_speed}
  2106. extra_scripts = ${common.extra_scripts}
  2107. [env:pilotak-esp-din-v1-ota]
  2108. platform = ${common.platform}
  2109. framework = ${common.framework}
  2110. board = ${common.board_1m}
  2111. board_build.flash_mode = ${common.flash_mode}
  2112. lib_deps = ${common.lib_deps}
  2113. lib_ignore = ${common.lib_ignore}
  2114. build_flags = ${common.build_flags_1m0m} -DPILOTAK_ESP_DIN_V1
  2115. upload_speed = ${common.upload_speed}
  2116. upload_port = ${common.upload_port}
  2117. upload_flags = ${common.upload_flags}
  2118. extra_scripts = ${common.extra_scripts}
  2119. [env:nodemcu-geiger]
  2120. platform = ${common.platform}
  2121. framework = ${common.framework}
  2122. board = ${common.board_4m}
  2123. board_build.flash_mode = ${common.flash_mode}
  2124. lib_deps = ${common.lib_deps}
  2125. lib_ignore = ${common.lib_ignore}
  2126. build_flags = ${common.build_flags_4m1m} -DGENERIC_GEIGER_COUNTER
  2127. upload_speed = ${common.upload_speed_fast}
  2128. monitor_speed = ${common.monitor_speed}
  2129. extra_scripts = ${common.extra_scripts}
  2130. [env:nodemcu-geiger-ota]
  2131. platform = ${common.platform}
  2132. framework = ${common.framework}
  2133. board = ${common.board_4m}
  2134. board_build.flash_mode = ${common.flash_mode}
  2135. lib_deps = ${common.lib_deps}
  2136. lib_ignore = ${common.lib_ignore}
  2137. build_flags = ${common.build_flags_4m1m} -DGENERIC_GEIGER_COUNTER
  2138. upload_speed = ${common.upload_speed_fast}
  2139. monitor_speed = ${common.monitor_speed}
  2140. upload_port = ${common.upload_port}
  2141. upload_flags = ${common.upload_flags}
  2142. extra_scripts = ${common.extra_scripts}
  2143. [env:blitzwolf-bwshp2]
  2144. platform = ${common.platform}
  2145. framework = ${common.framework}
  2146. board = ${common.board_1m}
  2147. board_build.flash_mode = ${common.flash_mode}
  2148. lib_deps = ${common.lib_deps}
  2149. lib_ignore = ${common.lib_ignore}
  2150. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHP2
  2151. upload_speed = ${common.upload_speed}
  2152. monitor_speed = ${common.monitor_speed}
  2153. extra_scripts = ${common.extra_scripts}
  2154. [env:blitzwolf-bwshp2-ota]
  2155. platform = ${common.platform}
  2156. framework = ${common.framework}
  2157. board = ${common.board_1m}
  2158. board_build.flash_mode = ${common.flash_mode}
  2159. lib_deps = ${common.lib_deps}
  2160. lib_ignore = ${common.lib_ignore}
  2161. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHP2
  2162. upload_speed = ${common.upload_speed}
  2163. monitor_speed = ${common.monitor_speed}
  2164. upload_port = ${common.upload_port}
  2165. upload_flags = ${common.upload_flags}
  2166. extra_scripts = ${common.extra_scripts}
  2167. [env:homecube-16a]
  2168. platform = ${common.platform}
  2169. framework = ${common.framework}
  2170. board = ${common.board_1m}
  2171. board_build.flash_mode = ${common.flash_mode}
  2172. lib_deps = ${common.lib_deps}
  2173. lib_ignore = ${common.lib_ignore}
  2174. build_flags = ${common.build_flags_1m0m} -DHOMECUBE_16A
  2175. upload_speed = ${common.upload_speed}
  2176. monitor_speed = ${common.monitor_speed}
  2177. extra_scripts = ${common.extra_scripts}
  2178. [env:homecube-16a-ota]
  2179. platform = ${common.platform}
  2180. framework = ${common.framework}
  2181. board = ${common.board_1m}
  2182. board_build.flash_mode = ${common.flash_mode}
  2183. lib_deps = ${common.lib_deps}
  2184. lib_ignore = ${common.lib_ignore}
  2185. build_flags = ${common.build_flags_1m0m} -DHOMECUBE_16A
  2186. upload_speed = ${common.upload_speed}
  2187. monitor_speed = ${common.monitor_speed}
  2188. upload_port = ${common.upload_port}
  2189. upload_flags = ${common.upload_flags}
  2190. extra_scripts = ${common.extra_scripts}
  2191. [env:bh-onofre]
  2192. platform = ${common.platform}
  2193. framework = ${common.framework}
  2194. board = ${common.board_4m}
  2195. board_build.flash_mode = ${common.flash_mode}
  2196. lib_deps = ${common.lib_deps}
  2197. lib_ignore = ${common.lib_ignore}
  2198. build_flags = ${common.build_flags_4m1m} -DBH_ONOFRE
  2199. upload_speed = ${common.upload_speed_fast}
  2200. monitor_speed = ${common.monitor_speed}
  2201. extra_scripts = ${common.extra_scripts}
  2202. [env:bh-onofre-ota]
  2203. platform = ${common.platform}
  2204. framework = ${common.framework}
  2205. board = ${common.board_4m}
  2206. board_build.flash_mode = ${common.flash_mode}
  2207. lib_deps = ${common.lib_deps}
  2208. lib_ignore = ${common.lib_ignore}
  2209. build_flags = ${common.build_flags_4m1m} -DBH_ONOFRE
  2210. upload_speed = ${common.upload_speed_fast}
  2211. monitor_speed = ${common.monitor_speed}
  2212. upload_port = ${common.upload_port}
  2213. upload_flags = ${common.upload_flags}
  2214. extra_scripts = ${common.extra_scripts}
  2215. [env:generic-ag-l4]
  2216. platform = ${common.platform}
  2217. framework = ${common.framework}
  2218. board = ${common.board_1m}
  2219. board_build.flash_mode = ${common.flash_mode}
  2220. lib_deps = ${common.lib_deps}
  2221. lib_ignore = ${common.lib_ignore}
  2222. build_flags = ${common.build_flags_1m0m} -DGENERIC_AG_L4
  2223. monitor_speed = ${common.monitor_speed}
  2224. extra_scripts = ${common.extra_scripts}
  2225. [env:generic-ag-l4-ota]
  2226. platform = ${common.platform}
  2227. framework = ${common.framework}
  2228. board = ${common.board_1m}
  2229. board_build.flash_mode = ${common.flash_mode}
  2230. lib_deps = ${common.lib_deps}
  2231. lib_ignore = ${common.lib_ignore}
  2232. build_flags = ${common.build_flags_1m0m} -DGENERIC_AG_L4
  2233. upload_speed = ${common.upload_speed}
  2234. upload_port = ${common.upload_port}
  2235. upload_flags = ${common.upload_flags}
  2236. extra_scripts = ${common.extra_scripts}
  2237. [env:lohas-e27-9w]
  2238. platform = ${common.platform}
  2239. framework = ${common.framework}
  2240. board = ${common.board_1m}
  2241. board_build.flash_mode = ${common.flash_mode}
  2242. lib_deps = ${common.lib_deps}
  2243. lib_ignore = ${common.lib_ignore}
  2244. build_flags = ${common.build_flags_1m0m} -DLOHAS_9W
  2245. monitor_speed = ${common.monitor_speed}
  2246. extra_scripts = ${common.extra_scripts}
  2247. [env:lohas-e27-9w-ota]
  2248. platform = ${common.platform}
  2249. framework = ${common.framework}
  2250. board = ${common.board_1m}
  2251. board_build.flash_mode = ${common.flash_mode}
  2252. lib_deps = ${common.lib_deps}
  2253. lib_ignore = ${common.lib_ignore}
  2254. build_flags = ${common.build_flags_1m0m} -DLOHAS_9W
  2255. upload_speed = ${common.upload_speed}
  2256. upload_port = ${common.upload_port}
  2257. upload_flags = ${common.upload_flags}
  2258. monitor_speed = ${common.monitor_speed}
  2259. extra_scripts = ${common.extra_scripts}
  2260. [env:allterco-sheely1]
  2261. platform = ${common.platform}
  2262. framework = ${common.framework}
  2263. board = ${common.board_1m}
  2264. board_build.flash_mode = ${common.flash_mode}
  2265. lib_deps = ${common.lib_deps}
  2266. lib_ignore = ${common.lib_ignore}
  2267. build_flags = ${common.build_flags_1m0m} -DALLTERCO_SHELLY1
  2268. monitor_speed = ${common.monitor_speed}
  2269. extra_scripts = ${common.extra_scripts}
  2270. [env:allterco-sheely1-ota]
  2271. platform = ${common.platform}
  2272. framework = ${common.framework}
  2273. board = ${common.board_1m}
  2274. board_build.flash_mode = ${common.flash_mode}
  2275. lib_deps = ${common.lib_deps}
  2276. lib_ignore = ${common.lib_ignore}
  2277. build_flags = ${common.build_flags_1m0m} -DALLTERCO_SHELLY1
  2278. upload_speed = ${common.upload_speed}
  2279. upload_port = ${common.upload_port}
  2280. upload_flags = ${common.upload_flags}
  2281. monitor_speed = ${common.monitor_speed}
  2282. extra_scripts = ${common.extra_scripts}