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.

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