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.

2375 lines
80 KiB

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