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.

2730 lines
92 KiB

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