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.

2678 lines
90 KiB

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