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.

3007 lines
102 KiB

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