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.

2574 lines
87 KiB

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