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.

2754 lines
93 KiB

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