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.

2704 lines
91 KiB

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