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.

2600 lines
88 KiB

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