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.

2642 lines
89 KiB

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