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.

1511 lines
50 KiB

6 years ago
6 years ago
6 years ago
6 years ago
  1. [platformio]
  2. default_envs = wemos-d1mini-relayshield
  3. src_dir = espurna
  4. data_dir = espurna/data
  5. [common]
  6. # ------------------------------------------------------------------------------
  7. # PLATFORM:
  8. # !! DO NOT confuse platformio's ESP8266 development platform with Arduino core for ESP8266
  9. # We use 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. # arduino core 2.5.0 = platformIO 2.0.4
  16. # arduino core 2.5.1 = platformIO 2.1.1
  17. # arduino core 2.5.2 = platformIO 2.2.2
  18. # ------------------------------------------------------------------------------
  19. arduino_core_2_3_0 = espressif8266@1.5.0
  20. arduino_core_2_4_0 = espressif8266@1.6.0
  21. arduino_core_2_4_1 = espressif8266@1.7.3
  22. arduino_core_2_4_2 = espressif8266@1.8.0
  23. arduino_core_2_5_0 = espressif8266@2.0.4
  24. arduino_core_2_5_1 = espressif8266@2.1.1
  25. arduino_core_2_5_2 = espressif8266@2.2.2
  26. # Development platforms
  27. arduino_core_develop = https://github.com/platformio/platform-espressif8266#develop
  28. arduino_core_git = https://github.com/platformio/platform-espressif8266#feature/stage
  29. platform = ${common.arduino_core_2_3_0}
  30. platform_latest = ${common.arduino_core_2_4_2}
  31. # ------------------------------------------------------------------------------
  32. # FLAGS: DEBUG
  33. #
  34. # ------------------------------------------------------------------------------
  35. 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
  36. #if needed (for memleaks etc) also add; -DDEBUG_ESP_OOM -include "umm_malloc/umm_malloc_cfg.h"
  37. # ------------------------------------------------------------------------------
  38. # FLAGS: build flags
  39. # build flags for 512k/1m ESP's are different because we use Linker Scripts to adjust flash split
  40. # build_flags_512k ( 512 KB) = 487 KB sketch, 4 KB eeprom, 16 KB reserved
  41. # build_flags_1m0m (1024 KB) = 999 KB sketch, 4 KB eeprom, 16 KB reserved
  42. # build_flags_2m1m (2048 KB) = 1019 KB sketch, 16 KB eeprom, 992 KB spiffs, 16 KB reserved
  43. # build_flags_4m1m (4096 KB) = 1019 KB sketch, 16 KB eeprom, 992 KB spiffs, 16 KB reserved, 2048 KB empty/ota?
  44. # build_flags_4m3m (4096 KB) = 1019 KB sketch, 16 KB eeprom, 3040 KB spiffs, 16 KB reserved
  45. #
  46. # Available lwIP variants (macros):
  47. # -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH = v1.4 Higher Bandwidth (default)
  48. # -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY = v2 Lower Memory
  49. # -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH = v2 Higher Bandwidth
  50. #
  51. # BearSSL ciphers:
  52. # When building on core >= 2.5, you can add the build flag -DBEARSSL_SSL_BASIC in order to build BearSSL with a limited set of ciphers:
  53. # TLS_RSA_WITH_AES_128_CBC_SHA256 / AES128-SHA256
  54. # TLS_RSA_WITH_AES_256_CBC_SHA256 / AES256-SHA256
  55. # TLS_RSA_WITH_AES_128_CBC_SHA / AES128-SHA
  56. # TLS_RSA_WITH_AES_256_CBC_SHA / AES256-SHA
  57. # This reduces the OTA size with ~45KB, so it's especially useful on low memory boards (512k/1m).
  58. # ------------------------------------------------------------------------------
  59. board_1m = esp01_1m
  60. board_2m = esp_wroom_02
  61. board_4m = esp12e
  62. build_flags = -g -w -DMQTT_MAX_PACKET_SIZE=400 -DNO_GLOBAL_EEPROM ${sysenv.ESPURNA_FLAGS} -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
  63. build_flags_512k = ${common.build_flags} -Wl,-Teagle.flash.512k0m1s.ld
  64. build_flags_1m0m = ${common.build_flags} -Wl,-Teagle.flash.1m0m1s.ld
  65. build_flags_2m1m = ${common.build_flags} -Wl,-Teagle.flash.2m1m4s.ld
  66. build_flags_4m1m = ${common.build_flags} -Wl,-Teagle.flash.4m1m4s.ld
  67. build_flags_4m3m = ${common.build_flags} -Wl,-Teagle.flash.4m3m4s.ld
  68. shared_libdeps_dir = libraries/
  69. # ------------------------------------------------------------------------------
  70. # OTA:
  71. # ------------------------------------------------------------------------------
  72. upload_port = "${sysenv.ESPURNA_IP}"
  73. upload_flags = --auth="${sysenv.ESPURNA_AUTH}"
  74. upload_protocol = espota
  75. # ------------------------------------------------------------------------------
  76. # COMMON SETTINGS:
  77. # ------------------------------------------------------------------------------
  78. [env]
  79. platform = ${common.platform}
  80. framework = arduino
  81. board_build.flash_mode = dout
  82. monitor_speed = 115200
  83. upload_speed = 115200
  84. extra_scripts = pre:extra_script_libdeps.py, extra_scripts.py
  85. lib_extra_dirs =
  86. ${common.shared_libdeps_dir}
  87. # ------------------------------------------------------------------------------
  88. # LIBRARIES: required dependencies
  89. # Please note that we don't always use the latest version of a library.
  90. # ------------------------------------------------------------------------------
  91. lib_deps =
  92. ArduinoJson@5.13.4
  93. https://github.com/marvinroger/async-mqtt-client#v0.8.1
  94. Brzo I2C
  95. https://github.com/xoseperez/debounceevent.git#2.0.5
  96. https://github.com/xoseperez/eeprom_rotate#0.9.2
  97. Embedis
  98. https://github.com/plerup/espsoftwareserial#3.4.1
  99. https://github.com/me-no-dev/ESPAsyncTCP#7e9ed22
  100. https://github.com/me-no-dev/ESPAsyncWebServer#05306e4
  101. https://bitbucket.org/xoseperez/fauxmoesp.git#3.1.0
  102. https://github.com/xoseperez/hlw8012.git#1.1.0
  103. https://github.com/markszabo/IRremoteESP8266#v2.2.0
  104. https://github.com/xoseperez/justwifi.git#2.0.2
  105. https://github.com/madpilot/mDNSResolver#4cfcda1
  106. https://github.com/xoseperez/my92xx#3.0.1
  107. https://bitbucket.org/xoseperez/nofuss.git#0.3.0
  108. https://github.com/xoseperez/NtpClient.git#0942ebc
  109. OneWire
  110. PZEM004T
  111. PubSubClient
  112. rc-switch
  113. https://github.com/LowPowerLab/RFM69#1.1.3
  114. https://github.com/xoseperez/Time
  115. NewPing
  116. https://github.com/sparkfun/SparkFun_VEML6075_Arduino_Library#V_1.0.3
  117. https://github.com/pololu/vl53l1x-arduino#1.0.1
  118. https://github.com/mcleng/MAX6675-Library#2.0.1
  119. https://github.com/ElderJoy/esp8266-oled-ssd1306#4.0.1
  120. lib_ignore =
  121. [env:espurna-core-1MB]
  122. board = ${common.board_1m}
  123. build_flags = ${common.build_flags_1m0m} -DESPURNA_CORE -DJUSTWIFI_ENABLE_WPS=1
  124. [env:espurna-core-2MB]
  125. board = ${common.board_2m}
  126. build_flags = ${common.build_flags_2m1m} -DESPURNA_CORE -DJUSTWIFI_ENABLE_WPS=1
  127. [env:espurna-core-4MB]
  128. board = ${common.board_4m}
  129. build_flags = ${common.build_flags_4m1m} -DESPURNA_CORE -DJUSTWIFI_ENABLE_WPS=1
  130. # ------------------------------------------------------------------------------
  131. # GENERIC OTA ENVIRONMENTS
  132. # ------------------------------------------------------------------------------
  133. [env:esp8266-1m-ota]
  134. board = ${common.board_1m}
  135. build_flags = ${common.build_flags_1m0m} -D${sysenv.ESPURNA_BOARD}
  136. upload_port = ${common.ota_upload_port}
  137. upload_flags = ${common.ota_upload_flags}
  138. [env:esp8266-2m-ota]
  139. board = ${common.board_2m}
  140. build_flags = ${common.build_flags_2m1m} -D${sysenv.ESPURNA_BOARD}
  141. upload_port = ${common.ota_upload_port}
  142. upload_flags = ${common.ota_upload_flags}
  143. [env:esp8266-4m-ota]
  144. board = ${common.board_4m}
  145. build_flags = ${common.build_flags_4m1m} -D${sysenv.ESPURNA_BOARD}
  146. upload_port = ${common.ota_upload_port}
  147. upload_flags = ${common.ota_upload_flags}
  148. # ------------------------------------------------------------------------------
  149. # SPECIAL BUILDS - DO. NOT. USE. ever ---
  150. # ------------------------------------------------------------------------------
  151. [env:travis01]
  152. platform = ${common.platform}
  153. board = ${common.board_4m}
  154. build_flags = ${common.build_flags_4m1m} -DTRAVIS01
  155. [env:travis02]
  156. platform = ${common.platform_latest}
  157. board = ${common.board_4m}
  158. build_flags = ${common.build_flags_4m1m} -DTRAVIS02
  159. [env:travis03]
  160. platform = ${common.platform_latest}
  161. board = ${common.board_4m}
  162. build_flags = ${common.build_flags_4m1m} -DTRAVIS03 -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  163. # ------------------------------------------------------------------------------
  164. # DEVELOPMENT BOARDS
  165. # ------------------------------------------------------------------------------
  166. [env:wemos-d1mini]
  167. board = d1_mini
  168. build_flags = ${common.build_flags} -DWEMOS_D1_MINI -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  169. [env:wemos-d1mini-relayshield]
  170. board = ${common.board_4m}
  171. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  172. [env:wemos-d1mini-relayshield-ssl]
  173. platform = ${common.platform_latest}
  174. board = ${common.board_4m}
  175. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  176. [env:wemos-d1mini-relayshield-ota]
  177. board = ${common.board_4m}
  178. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_MINI_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  179. upload_port = ${common.ota_upload_port}
  180. upload_flags = ${common.ota_upload_flags}
  181. [env:nodemcu-lolin]
  182. board = ${common.board_4m}
  183. build_flags = ${common.build_flags_4m1m} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  184. [env:nodemcu-lolin-ssl]
  185. platform = ${common.platform_latest}
  186. board = ${common.board_4m}
  187. build_flags = ${common.build_flags_4m1m} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH -DASYNC_TCP_SSL_ENABLED=1
  188. [env:nodemcu-lolin-ota]
  189. board = ${common.board_4m}
  190. build_flags = ${common.build_flags_4m1m} -DNODEMCU_LOLIN -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  191. upload_port = ${common.ota_upload_port}
  192. upload_flags = ${common.ota_upload_flags}
  193. # ------------------------------------------------------------------------------
  194. # SPECIFIC BOARDS
  195. # ------------------------------------------------------------------------------
  196. [env:tinkerman-espurna-h06]
  197. board = ${common.board_4m}
  198. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H06
  199. [env:tinkerman-espurna-h06-ota]
  200. board = ${common.board_4m}
  201. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H06
  202. upload_port = ${common.ota_upload_port}
  203. upload_flags = ${common.ota_upload_flags}
  204. [env:tinkerman-espurna-h08]
  205. board = ${common.board_4m}
  206. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H08
  207. [env:tinkerman-espurna-h08-ota]
  208. board = ${common.board_4m}
  209. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_H08
  210. upload_port = ${common.ota_upload_port}
  211. upload_flags = ${common.ota_upload_flags}
  212. [env:tinkerman-espurna-switch]
  213. board = ${common.board_4m}
  214. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_ESPURNA_SWITCH
  215. [env:wemos-d1-tarpunashield]
  216. board = ${common.board_4m}
  217. build_flags = ${common.build_flags_4m1m} -DWEMOS_D1_TARPUNA_SHIELD
  218. [env:tinkerman-rfm69gw]
  219. board = esp12e
  220. build_flags = ${common.build_flags_4m1m} -DTINKERMAN_RFM69GW -DNOWSAUTH
  221. [env:nodemcu-pzem004t]
  222. board = ${common.board_4m}
  223. build_flags = ${common.build_flags_4m1m} -DNODEMCU_BASIC -DEBUG_SERIAL_SUPPORT=0 -DPZEM004T_SUPPORT=1 -DDISABLE_POSTMORTEM_STACKDUMP
  224. # ------------------------------------------------------------------------------
  225. [env:foxel-lightfox-dual]
  226. board = ${common.board_1m}
  227. build_flags = ${common.build_flags_1m0m} -DFOXEL_LIGHTFOX_DUAL -DDISABLE_POSTMORTEM_STACKDUMP
  228. [env:foxel-lightfox-dual-ota]
  229. board = ${common.board_1m}
  230. build_flags = ${common.build_flags_1m0m} -DFOXEL_LIGHTFOX_DUAL -DDISABLE_POSTMORTEM_STACKDUMP
  231. upload_port = ${common.ota_upload_port}
  232. upload_flags = ${common.ota_upload_flags}
  233. [env:itead-sonoff-basic]
  234. board = ${common.board_1m}
  235. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC
  236. [env:itead-sonoff-basic-ota]
  237. board = ${common.board_1m}
  238. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC
  239. upload_port = ${common.ota_upload_port}
  240. upload_flags = ${common.ota_upload_flags}
  241. [env:itead-sonoff-basic-dht]
  242. board = ${common.board_1m}
  243. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  244. [env:itead-sonoff-basic-r2-dht]
  245. board = ${common.board_1m}
  246. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1 -DDHT_PIN=2
  247. [env:itead-sonoff-basic-dht-ota]
  248. board = ${common.board_1m}
  249. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDHT_SUPPORT=1
  250. upload_port = ${common.ota_upload_port}
  251. upload_flags = ${common.ota_upload_flags}
  252. [env:itead-sonoff-basic-dallas]
  253. board = ${common.board_1m}
  254. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDALLAS_SUPPORT=1
  255. [env:itead-sonoff-basic-r2-dallas]
  256. board = ${common.board_1m}
  257. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_BASIC -DDALLAS_SUPPORT=1 -DDALLAS_PIN=2
  258. [env:itead-sonoff-rf]
  259. board = ${common.board_1m}
  260. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RF
  261. [env:itead-sonoff-rf-ota]
  262. board = ${common.board_1m}
  263. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RF
  264. upload_port = ${common.ota_upload_port}
  265. upload_flags = ${common.ota_upload_flags}
  266. [env:itead-sonoff-th]
  267. board = ${common.board_1m}
  268. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TH
  269. [env:itead-sonoff-th-ota]
  270. board = ${common.board_1m}
  271. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TH
  272. upload_port = ${common.ota_upload_port}
  273. upload_flags = ${common.ota_upload_flags}
  274. [env:itead-sonoff-pow]
  275. board = ${common.board_1m}
  276. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW
  277. [env:itead-sonoff-pow-ota]
  278. board = ${common.board_1m}
  279. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW
  280. upload_port = ${common.ota_upload_port}
  281. upload_flags = ${common.ota_upload_flags}
  282. [env:itead-sonoff-pow-r2]
  283. board = ${common.board_1m}
  284. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW_R2 -DDISABLE_POSTMORTEM_STACKDUMP
  285. [env:itead-sonoff-pow-r2-ota]
  286. board = ${common.board_1m}
  287. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_POW_R2 -DDISABLE_POSTMORTEM_STACKDUMP
  288. upload_port = ${common.ota_upload_port}
  289. upload_flags = ${common.ota_upload_flags}
  290. [env:itead-sonoff-dual]
  291. board = ${common.board_1m}
  292. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL -DDISABLE_POSTMORTEM_STACKDUMP
  293. [env:itead-sonoff-dual-ota]
  294. board = ${common.board_1m}
  295. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL -DDISABLE_POSTMORTEM_STACKDUMP
  296. upload_port = ${common.ota_upload_port}
  297. upload_flags = ${common.ota_upload_flags}
  298. [env:itead-sonoff-dual-r2]
  299. board = ${common.board_1m}
  300. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL_R2
  301. [env:itead-sonoff-dual-r2-ota]
  302. board = ${common.board_1m}
  303. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_DUAL_R2
  304. upload_port = ${common.ota_upload_port}
  305. upload_flags = ${common.ota_upload_flags}
  306. [env:itead-sonoff-4ch]
  307. board = ${common.board_1m}
  308. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH
  309. [env:itead-sonoff-4ch-ota]
  310. board = ${common.board_1m}
  311. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH
  312. upload_port = ${common.ota_upload_port}
  313. upload_flags = ${common.ota_upload_flags}
  314. [env:itead-sonoff-4ch-pro]
  315. board = ${common.board_1m}
  316. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH_PRO
  317. [env:itead-sonoff-4ch-pro-ota]
  318. board = ${common.board_1m}
  319. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_4CH_PRO
  320. upload_port = ${common.ota_upload_port}
  321. upload_flags = ${common.ota_upload_flags}
  322. [env:itead-sonoff-touch]
  323. board = ${common.board_1m}
  324. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TOUCH
  325. [env:itead-sonoff-touch-ota]
  326. board = ${common.board_1m}
  327. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_TOUCH
  328. upload_port = ${common.ota_upload_port}
  329. upload_flags = ${common.ota_upload_flags}
  330. [env:itead-sonoff-b1]
  331. board = ${common.board_1m}
  332. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_B1
  333. [env:itead-sonoff-b1-ota]
  334. board = ${common.board_1m}
  335. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_B1
  336. upload_port = ${common.ota_upload_port}
  337. upload_flags = ${common.ota_upload_flags}
  338. [env:itead-sonoff-t1-1ch]
  339. board = ${common.board_1m}
  340. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_1CH
  341. [env:itead-sonoff-t1-1ch-ota]
  342. board = ${common.board_1m}
  343. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_1CH
  344. upload_port = ${common.ota_upload_port}
  345. upload_flags = ${common.ota_upload_flags}
  346. [env:itead-sonoff-t1-2ch]
  347. board = ${common.board_1m}
  348. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_2CH
  349. [env:itead-sonoff-t1-2ch-ota]
  350. board = ${common.board_1m}
  351. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_2CH
  352. upload_port = ${common.ota_upload_port}
  353. upload_flags = ${common.ota_upload_flags}
  354. [env:itead-sonoff-t1-3ch]
  355. board = ${common.board_1m}
  356. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_3CH
  357. [env:itead-sonoff-t1-3ch-ota]
  358. board = ${common.board_1m}
  359. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_T1_3CH
  360. upload_port = ${common.ota_upload_port}
  361. upload_flags = ${common.ota_upload_flags}
  362. [env:itead-sonoff-led]
  363. board = ${common.board_1m}
  364. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_LED
  365. [env:itead-sonoff-led-ota]
  366. board = ${common.board_1m}
  367. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_LED
  368. upload_port = ${common.ota_upload_port}
  369. upload_flags = ${common.ota_upload_flags}
  370. [env:itead-sonoff-rfbridge]
  371. board = ${common.board_1m}
  372. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE -DDISABLE_POSTMORTEM_STACKDUMP
  373. [env:itead-sonoff-rfbridge-ota]
  374. board = ${common.board_1m}
  375. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE -DDISABLE_POSTMORTEM_STACKDUMP
  376. upload_port = ${common.ota_upload_port}
  377. upload_flags = ${common.ota_upload_flags}
  378. [env:itead-sonoff-rfbridge-direct]
  379. board = ${common.board_1m}
  380. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT
  381. [env:itead-sonoff-rfbridge-direct-ota]
  382. board = ${common.board_1m}
  383. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_RFBRIDGE -DRFB_DIRECT
  384. upload_port = ${common.ota_upload_port}
  385. upload_flags = ${common.ota_upload_flags}
  386. # ------------------------------------------------------------------------------
  387. [env:itead-slampher]
  388. board = ${common.board_1m}
  389. build_flags = ${common.build_flags_1m0m} -DITEAD_SLAMPHER
  390. [env:itead-slampher-ota]
  391. board = ${common.board_1m}
  392. build_flags = ${common.build_flags_1m0m} -DITEAD_SLAMPHER
  393. upload_port = ${common.ota_upload_port}
  394. upload_flags = ${common.ota_upload_flags}
  395. [env:itead-s20]
  396. board = ${common.board_1m}
  397. build_flags = ${common.build_flags_1m0m} -DITEAD_S20
  398. [env:itead-s20-ota]
  399. board = ${common.board_1m}
  400. build_flags = ${common.build_flags_1m0m} -DITEAD_S20
  401. upload_port = ${common.ota_upload_port}
  402. upload_flags = ${common.ota_upload_flags}
  403. [env:itead-1ch-inching]
  404. board = ${common.board_1m}
  405. build_flags = ${common.build_flags_1m0m} -DITEAD_1CH_INCHING
  406. [env:itead-1ch-inching-ota]
  407. board = ${common.board_1m}
  408. build_flags = ${common.build_flags_1m0m} -DITEAD_1CH_INCHING
  409. upload_port = ${common.ota_upload_port}
  410. upload_flags = ${common.ota_upload_flags}
  411. [env:itead-motor]
  412. board = ${common.board_1m}
  413. build_flags = ${common.build_flags_1m0m} -DITEAD_MOTOR
  414. [env:itead-motor-ota]
  415. board = ${common.board_1m}
  416. build_flags = ${common.build_flags_1m0m} -DITEAD_MOTOR
  417. upload_port = ${common.ota_upload_port}
  418. upload_flags = ${common.ota_upload_flags}
  419. [env:itead-sonoff-sv]
  420. board = ${common.board_1m}
  421. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_SV
  422. [env:itead-sonoff-sv-ota]
  423. board = ${common.board_1m}
  424. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_SV
  425. upload_port = ${common.ota_upload_port}
  426. upload_flags = ${common.ota_upload_flags}
  427. [env:itead-sonoff-s31]
  428. board = ${common.board_1m}
  429. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_S31 -DDISABLE_POSTMORTEM_STACKDUMP
  430. [env:itead-sonoff-s31-ota]
  431. board = ${common.board_1m}
  432. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_S31 -DDISABLE_POSTMORTEM_STACKDUMP
  433. upload_port = ${common.ota_upload_port}
  434. upload_flags = ${common.ota_upload_flags}
  435. [env:itead-sonoff-ifan02]
  436. board = ${common.board_1m}
  437. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_IFAN02
  438. [env:itead-sonoff-ifan02-ota]
  439. board = ${common.board_1m}
  440. build_flags = ${common.build_flags_1m0m} -DITEAD_SONOFF_IFAN02
  441. upload_port = ${common.ota_upload_port}
  442. upload_flags = ${common.ota_upload_flags}
  443. # ------------------------------------------------------------------------------
  444. [env:electrodragon-wifi-iot]
  445. board = ${common.board_4m}
  446. build_flags = ${common.build_flags_4m1m} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  447. [env:electrodragon-wifi-iot-ota]
  448. board = ${common.board_4m}
  449. build_flags = ${common.build_flags_4m1m} -DELECTRODRAGON_WIFI_IOT -DDHT_SUPPORT=1
  450. upload_port = ${common.ota_upload_port}
  451. upload_flags = ${common.ota_upload_flags}
  452. [env:workchoice-ecoplug]
  453. board = ${common.board_1m}
  454. build_flags = ${common.build_flags_1m0m} -DWORKCHOICE_ECOPLUG
  455. [env:workchoice-ecoplug-ota]
  456. board = ${common.board_1m}
  457. build_flags = ${common.build_flags_1m0m} -DWORKCHOICE_ECOPLUG
  458. upload_port = ${common.ota_upload_port}
  459. upload_flags = ${common.ota_upload_flags}
  460. [env:jangoe-wifi-relay-nc]
  461. board = ${common.board_4m}
  462. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NC
  463. [env:jangoe-wifi-relay-nc-ota]
  464. board = ${common.board_4m}
  465. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NC
  466. upload_port = ${common.ota_upload_port}
  467. upload_flags = ${common.ota_upload_flags}
  468. [env:jangoe-wifi-relay-no]
  469. board = ${common.board_4m}
  470. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NO
  471. [env:jangoe-wifi-relay-no-ota]
  472. board = ${common.board_4m}
  473. build_flags = ${common.build_flags_4m1m} -DJANGOE_WIFI_RELAY_NO
  474. upload_port = ${common.ota_upload_port}
  475. upload_flags = ${common.ota_upload_flags}
  476. [env:openenergymonitor-mqtt-relay]
  477. board = ${common.board_4m}
  478. build_flags = ${common.build_flags_4m1m} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  479. [env:openenergymonitor-mqtt-relay-ota]
  480. board = ${common.board_4m}
  481. build_flags = ${common.build_flags_4m1m} -DOPENENERGYMONITOR_MQTT_RELAY -DDALLAS_SUPPORT=1
  482. upload_port = ${common.ota_upload_port}
  483. upload_flags = ${common.ota_upload_flags}
  484. [env:jorgegarcia-wifi-relays]
  485. board = ${common.board_1m}
  486. build_flags = ${common.build_flags_1m0m} -DJORGEGARCIA_WIFI_RELAYS
  487. [env:jorgegarcia-wifi-relays-ota]
  488. board = ${common.board_1m}
  489. build_flags = ${common.build_flags_1m0m} -DJORGEGARCIA_WIFI_RELAYS
  490. upload_port = ${common.ota_upload_port}
  491. upload_flags = ${common.ota_upload_flags}
  492. [env:aithinker-ai-light]
  493. board = ${common.board_1m}
  494. build_flags = ${common.build_flags_1m0m} -DAITHINKER_AI_LIGHT
  495. [env:aithinker-ai-light-ota]
  496. board = ${common.board_1m}
  497. build_flags = ${common.build_flags_1m0m} -DAITHINKER_AI_LIGHT
  498. upload_port = ${common.ota_upload_port}
  499. upload_flags = ${common.ota_upload_flags}
  500. [env:lyasi-rgb-light]
  501. board = ${common.board_1m}
  502. build_flags = ${common.build_flags_1m0m} -DLYASI_LIGHT
  503. [env:lyasi-rgb-light-ota]
  504. board = ${common.board_1m}
  505. build_flags = ${common.build_flags_1m0m} -DLYASI_LIGHT
  506. upload_port = ${common.ota_upload_port}
  507. upload_flags = ${common.ota_upload_flags}
  508. [env:magichome-led-controller]
  509. board = ${common.board_1m}
  510. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER
  511. [env:magichome-led-controller-ota]
  512. board = ${common.board_1m}
  513. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER
  514. upload_port = ${common.ota_upload_port}
  515. upload_flags = ${common.ota_upload_flags}
  516. [env:magichome-led-controller-20]
  517. board = ${common.board_1m}
  518. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER_20
  519. [env:magichome-led-controller-20-ota]
  520. board = ${common.board_1m}
  521. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_LED_CONTROLLER_20
  522. upload_port = ${common.ota_upload_port}
  523. upload_flags = ${common.ota_upload_flags}
  524. [env:magichome-zj-wfmn-a-11]
  525. board = ${common.board_1m}
  526. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_WFMN_A_11
  527. [env:magichome-zj-wfmn-a-11-ota]
  528. board = ${common.board_1m}
  529. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_WFMN_A_11
  530. upload_port = ${common.ota_upload_port}
  531. upload_flags = ${common.ota_upload_flags}
  532. [env:magichome-zj-wfmn-b-11]
  533. board = ${common.board_1m}
  534. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_WFMN_B_11
  535. [env:magichome-zj-wfmn-b-11-ota]
  536. board = ${common.board_1m}
  537. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_WFMN_B_11
  538. upload_port = ${common.ota_upload_port}
  539. upload_flags = ${common.ota_upload_flags}
  540. [env:magichome-zj-espm-5ch-b-13]
  541. platform = ${common.platform}
  542. framework = ${common.framework}
  543. board = ${common.board_1m}
  544. board_build.flash_mode = ${common.flash_mode}
  545. lib_deps = ${common.lib_deps}
  546. lib_ignore = ${common.lib_ignore}
  547. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_ESPM_5CH_B_13
  548. monitor_speed = ${common.monitor_speed}
  549. extra_scripts = ${common.extra_scripts}
  550. [env:magichome-zj-espm-5ch-b-13-ota]
  551. platform = ${common.platform}
  552. framework = ${common.framework}
  553. board = ${common.board_1m}
  554. board_build.flash_mode = ${common.flash_mode}
  555. lib_deps = ${common.lib_deps}
  556. lib_ignore = ${common.lib_ignore}
  557. build_flags = ${common.build_flags_1m0m} -DMAGICHOME_ZJ_ESPM_5CH_B_13
  558. monitor_speed = ${common.monitor_speed}
  559. upload_port = ${common.upload_port}
  560. upload_flags = ${common.upload_flags}
  561. extra_scripts = ${common.extra_scripts}
  562. [env:huacanxing-h801]
  563. board = ${common.board_1m}
  564. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H801
  565. [env:huacanxing-h801-ota]
  566. board = ${common.board_1m}
  567. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H801
  568. upload_port = ${common.ota_upload_port}
  569. upload_flags = ${common.ota_upload_flags}
  570. [env:huacanxing-h802]
  571. board = ${common.board_1m}
  572. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H802
  573. [env:huacanxing-h802-ota]
  574. board = ${common.board_1m}
  575. build_flags = ${common.build_flags_1m0m} -DHUACANXING_H802
  576. upload_port = ${common.ota_upload_port}
  577. upload_flags = ${common.ota_upload_flags}
  578. [env:arilux-al-lc01]
  579. board = ${common.board_1m}
  580. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC01
  581. [env:arilux-al-lc01-ota]
  582. board = ${common.board_1m}
  583. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC01
  584. upload_port = ${common.ota_upload_port}
  585. upload_flags = ${common.ota_upload_flags}
  586. [env:arilux-al-lc02]
  587. board = ${common.board_1m}
  588. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02
  589. [env:arilux-al-lc02-ota]
  590. board = ${common.board_1m}
  591. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02
  592. upload_port = ${common.ota_upload_port}
  593. upload_flags = ${common.ota_upload_flags}
  594. [env:arilux-al-lc02-v14]
  595. board = ${common.board_1m}
  596. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02_V14
  597. [env:arilux-al-lc02-v14-ota]
  598. board = ${common.board_1m}
  599. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC02_V14
  600. upload_port = ${common.ota_upload_port}
  601. upload_flags = ${common.ota_upload_flags}
  602. [env:arilux-al-lc06]
  603. board = ${common.board_1m}
  604. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC06
  605. [env:arilux-al-lc06-ota]
  606. board = ${common.board_1m}
  607. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC06
  608. upload_port = ${common.ota_upload_port}
  609. upload_flags = ${common.ota_upload_flags}
  610. [env:arilux-al-lc11]
  611. board = ${common.board_1m}
  612. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC11
  613. [env:arilux-al-lc11-ota]
  614. board = ${common.board_1m}
  615. build_flags = ${common.build_flags_1m0m} -DARILUX_AL_LC11
  616. upload_port = ${common.ota_upload_port}
  617. upload_flags = ${common.ota_upload_flags}
  618. [env:arilux-e27]
  619. board = ${common.board_1m}
  620. build_flags = ${common.build_flags_1m0m} -DARILUX_E27
  621. [env:arilux-e27-ota]
  622. board = ${common.board_1m}
  623. build_flags = ${common.build_flags_1m0m} -DARILUX_E27
  624. upload_port = ${common.ota_upload_port}
  625. upload_flags = ${common.ota_upload_flags}
  626. [env:itead-bnsz01]
  627. board = ${common.board_1m}
  628. build_flags = ${common.build_flags_1m0m} -DITEAD_BNSZ01
  629. [env:itead-bnsz01-ota]
  630. board = ${common.board_1m}
  631. build_flags = ${common.build_flags_1m0m} -DITEAD_BNSZ01
  632. upload_port = ${common.ota_upload_port}
  633. upload_flags = ${common.ota_upload_flags}
  634. [env:wion-50055]
  635. board = ${common.board_1m}
  636. build_flags = ${common.build_flags_1m0m} -DWION_50055
  637. [env:wion-50055-ota]
  638. board = ${common.board_1m}
  639. build_flags = ${common.build_flags_1m0m} -DWION_50055
  640. upload_port = ${common.ota_upload_port}
  641. upload_flags = ${common.ota_upload_flags}
  642. [env:exs-wifi-relay-v31]
  643. board = ${common.board_4m}
  644. build_flags = ${common.build_flags_4m1m} -DEXS_WIFI_RELAY_V31
  645. [env:exs-wifi-relay-v31-ota]
  646. board = ${common.board_4m}
  647. build_flags = ${common.build_flags_4m1m} -DEXS_WIFI_RELAY_V31
  648. upload_port = ${common.ota_upload_port}
  649. upload_flags = ${common.ota_upload_flags}
  650. [env:exs-wifi-relay-v50]
  651. board = ${common.board_4m}
  652. build_flags = ${common.build_flags_4m1m} -DEXS_WIFI_RELAY_V50
  653. [env:exs-wifi-relay-v50-ota]
  654. board = ${common.board_4m}
  655. build_flags = ${common.build_flags_4m1m} -DEXS_WIFI_RELAY_V50
  656. upload_port = ${common.ota_upload_port}
  657. upload_flags = ${common.ota_upload_flags}
  658. [env:wemos-v9261f]
  659. board = ${common.board_4m}
  660. build_flags = ${common.build_flags_4m1m} -DGENERIC_V9261F
  661. [env:wemos-v9261f-ota]
  662. board = ${common.board_4m}
  663. build_flags = ${common.build_flags_4m1m} -DGENERIC_V9261F
  664. upload_port = ${common.ota_upload_port}
  665. upload_flags = ${common.ota_upload_flags}
  666. [env:esp01-v9261f]
  667. board = ${common.board_1m}
  668. build_flags = ${common.build_flags_1m0m} -DGENERIC_V9261F
  669. [env:esp01-v9261f-ota]
  670. board = ${common.board_1m}
  671. build_flags = ${common.build_flags_1m0m} -DGENERIC_V9261F
  672. upload_port = ${common.ota_upload_port}
  673. upload_flags = ${common.ota_upload_flags}
  674. [env:wemos-ech1560]
  675. board = ${common.board_4m}
  676. build_flags = ${common.build_flags_4m1m} -DGENERIC_ECH1560
  677. [env:wemos-ech1560-ota]
  678. board = ${common.board_4m}
  679. build_flags = ${common.build_flags_4m1m} -DGENERIC_ECH1560
  680. upload_port = ${common.ota_upload_port}
  681. upload_flags = ${common.ota_upload_flags}
  682. [env:esp01-ech1560]
  683. board = ${common.board_1m}
  684. build_flags = ${common.build_flags_1m0m} -DGENERIC_ECH1560
  685. [env:esp01-ech1560-ota]
  686. board = ${common.board_1m}
  687. build_flags = ${common.build_flags_1m0m} -DGENERIC_ECH1560
  688. upload_port = ${common.ota_upload_port}
  689. upload_flags = ${common.ota_upload_flags}
  690. [env:mancavemade-esplive]
  691. board = ${common.board_4m}
  692. build_flags = ${common.build_flags_4m1m} -DMANCAVEMADE_ESPLIVE
  693. [env:mancavemade-esplive-ota]
  694. board = ${common.board_4m}
  695. build_flags = ${common.build_flags_4m1m} -DMANCAVEMADE_ESPLIVE
  696. upload_port = ${common.ota_upload_port}
  697. upload_flags = ${common.ota_upload_flags}
  698. [env:intermittech-quinled]
  699. board = ${common.board_1m}
  700. build_flags = ${common.build_flags_1m0m} -DINTERMITTECH_QUINLED
  701. [env:intermittech-quinled-ota]
  702. board = ${common.board_1m}
  703. build_flags = ${common.build_flags_1m0m} -DINTERMITTECH_QUINLED
  704. upload_port = ${common.ota_upload_port}
  705. upload_flags = ${common.ota_upload_flags}
  706. [env:xenon-sm-pw702u]
  707. board = ${common.board_1m}
  708. build_flags = ${common.build_flags_1m0m} -DXENON_SM_PW702U
  709. [env:xenon-sm-pw702u-ota]
  710. board = ${common.board_1m}
  711. build_flags = ${common.build_flags_1m0m} -DXENON_SM_PW702U
  712. upload_port = ${common.ota_upload_port}
  713. upload_flags = ${common.ota_upload_flags}
  714. [env:authometion-lyt8266]
  715. board = ${common.board_1m}
  716. build_flags = ${common.build_flags_1m0m} -DAUTHOMETION_LYT8266
  717. [env:authometion-lyt8266-ota]
  718. board = ${common.board_1m}
  719. build_flags = ${common.build_flags_1m0m} -DAUTHOMETION_LYT8266
  720. upload_port = ${common.ota_upload_port}
  721. upload_flags = ${common.ota_upload_flags}
  722. [env:kmc-70011]
  723. board = ${common.board_1m}
  724. build_flags = ${common.build_flags_1m0m} -DKMC_70011
  725. [env:kmc-70011-ota]
  726. board = ${common.board_1m}
  727. build_flags = ${common.build_flags_1m0m} -DKMC_70011
  728. upload_port = ${common.ota_upload_port}
  729. upload_flags = ${common.ota_upload_flags}
  730. [env:yjzk-switch-1ch]
  731. board = ${common.board_1m}
  732. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_1CH
  733. [env:yjzk-switch-1ch-ota]
  734. board = ${common.board_1m}
  735. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_1CH
  736. upload_port = ${common.ota_upload_port}
  737. upload_flags = ${common.ota_upload_flags}
  738. [env:yjzk-switch-2ch]
  739. board = ${common.board_1m}
  740. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_2CH
  741. [env:yjzk-switch-2ch-ota]
  742. board = ${common.board_1m}
  743. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_2CH
  744. upload_port = ${common.ota_upload_port}
  745. upload_flags = ${common.ota_upload_flags}
  746. [env:yjzk-switch-3ch]
  747. board = ${common.board_1m}
  748. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_3CH
  749. [env:yjzk-switch-3ch-ota]
  750. board = ${common.board_1m}
  751. build_flags = ${common.build_flags_1m0m} -DYJZK_SWITCH_3CH
  752. upload_port = ${common.ota_upload_port}
  753. upload_flags = ${common.ota_upload_flags}
  754. [env:generic-8ch]
  755. board = ${common.board_4m}
  756. build_flags = ${common.build_flags_4m1m} -DGENERIC_8CH
  757. [env:gizwits-witty-cloud]
  758. board = ${common.board_4m}
  759. build_flags = ${common.build_flags_4m1m} -DGIZWITS_WITTY_CLOUD
  760. [env:gizwits-witty-cloud-ota]
  761. board = ${common.board_4m}
  762. build_flags = ${common.build_flags_4m1m} -DGIZWITS_WITTY_CLOUD
  763. upload_port = ${common.ota_upload_port}
  764. upload_flags = ${common.ota_upload_flags}
  765. [env:euromate-wifi-stecker-shuko]
  766. board = ${common.board_1m}
  767. build_flags = ${common.build_flags_1m0m} -DEUROMATE_WIFI_STECKER_SCHUKO
  768. [env:euromate-wifi-stecker-shuko-ota]
  769. board = ${common.board_1m}
  770. build_flags = ${common.build_flags_1m0m} -DEUROMATE_WIFI_STECKER_SCHUKO
  771. upload_port = ${common.ota_upload_port}
  772. upload_flags = ${common.ota_upload_flags}
  773. [env:euromate-wifi-stecker-shuko-v2]
  774. board = ${common.board_2m}
  775. build_flags = ${common.build_flags_2m1m} -DEUROMATE_WIFI_STECKER_SCHUKO_V2
  776. [env:euromate-wifi-stecker-shuko-v2-ota]
  777. board = ${common.board_2m}
  778. build_flags = ${common.build_flags_2m1m} -DEUROMATE_WIFI_STECKER_SCHUKO_V2
  779. upload_port = ${common.ota_upload_port}
  780. upload_flags = ${common.ota_upload_flags}
  781. [env:tonbux-powerstrip02]
  782. board = ${common.board_1m}
  783. build_flags = ${common.build_flags_1m0m} -DTONBUX_POWERSTRIP02
  784. [env:tonbux-powerstrip02-ota]
  785. board = ${common.board_1m}
  786. build_flags = ${common.build_flags_1m0m} -DTONBUX_POWERSTRIP02
  787. upload_port = ${common.ota_upload_port}
  788. upload_flags = ${common.ota_upload_flags}
  789. [env:lingan-swa1]
  790. board = ${common.board_1m}
  791. build_flags = ${common.build_flags_1m0m} -DLINGAN_SWA1
  792. [env:lingan-swa1-ota]
  793. board = ${common.board_1m}
  794. build_flags = ${common.build_flags_1m0m} -DLINGAN_SWA1
  795. upload_port = ${common.ota_upload_port}
  796. upload_flags = ${common.ota_upload_flags}
  797. [env:stm-relay]
  798. board = ${common.board_1m}
  799. build_flags = ${common.build_flags_1m0m} -DSTM_RELAY -DDISABLE_POSTMORTEM_STACKDUMP
  800. [env:stm-relay-ota]
  801. board = ${common.board_1m}
  802. build_flags = ${common.build_flags_1m0m} -DSTM_RELAY -DDISABLE_POSTMORTEM_STACKDUMP
  803. upload_port = ${common.ota_upload_port}
  804. upload_flags = ${common.ota_upload_flags}
  805. [env:heygo-hy02]
  806. board = ${common.board_1m}
  807. build_flags = ${common.build_flags_1m0m} -DHEYGO_HY02
  808. [env:heygo-hy02-ota]
  809. board = ${common.board_1m}
  810. build_flags = ${common.build_flags_1m0m} -DHEYGO_HY02
  811. upload_port = ${common.ota_upload_port}
  812. upload_flags = ${common.ota_upload_flags}
  813. [env:maxcio-wus002s]
  814. board = ${common.board_1m}
  815. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WUS002S
  816. [env:maxcio-wus002s-ota]
  817. board = ${common.board_1m}
  818. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WUS002S
  819. upload_port = ${common.ota_upload_port}
  820. upload_flags = ${common.ota_upload_flags}
  821. [env:maxcio-wde004]
  822. board = ${common.board_1m}
  823. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WDE004
  824. [env:maxcio-wde004-ota]
  825. board = ${common.board_1m}
  826. build_flags = ${common.build_flags_1m0m} -DMAXCIO_WDE004
  827. upload_port = ${common.ota_upload_port}
  828. upload_flags = ${common.ota_upload_flags}
  829. [env:yidian-xsssa05]
  830. board = ${common.board_1m}
  831. build_flags = ${common.build_flags_1m0m} -DYIDIAN_XSSSA05
  832. [env:yidian-xsssa05-ota]
  833. board = ${common.board_1m}
  834. build_flags = ${common.build_flags_1m0m} -DYIDIAN_XSSSA05
  835. upload_port = ${common.ota_upload_port}
  836. upload_flags = ${common.ota_upload_flags}
  837. [env:oukitel-p1]
  838. board = ${common.board_1m}
  839. build_flags = ${common.build_flags_1m0m} -DOUKITEL_P1
  840. [env:oukitel-p1-ota]
  841. board = ${common.board_1m}
  842. build_flags = ${common.build_flags_1m0m} -DOUKITEL_P1
  843. upload_port = ${common.ota_upload_port}
  844. upload_flags = ${common.ota_upload_flags}
  845. [env:tonbux-xsssa01]
  846. board = ${common.board_1m}
  847. build_flags = ${common.build_flags_4m1m} -DTONBUX_XSSSA01
  848. [env:tonbux-xsssa01-ota]
  849. board = ${common.board_1m}
  850. build_flags = ${common.build_flags_4m1m} -DTONBUX_XSSSA01
  851. upload_port = ${common.ota_upload_port}
  852. upload_flags = ${common.ota_upload_flags}
  853. [env:tonbux-xsssa06]
  854. board = ${common.board_1m}
  855. build_flags = ${common.build_flags_1m0m} -DTONBUX_XSSSA06
  856. [env:tonbux-xsssa06-ota]
  857. board = ${common.board_1m}
  858. build_flags = ${common.build_flags_1m0m} -DTONBUX_XSSSA06
  859. upload_port = ${common.ota_upload_port}
  860. upload_flags = ${common.ota_upload_flags}
  861. [env:green-esp8266relay]
  862. board = ${common.board_4m}
  863. build_flags = ${common.build_flags_4m1m} -DGREEN_ESP8266RELAY
  864. [env:green-esp8266relay-ota]
  865. board = ${common.board_4m}
  866. build_flags = ${common.build_flags_4m1m} -DGREEN_ESP8266RELAY
  867. upload_port = ${common.ota_upload_port}
  868. upload_flags = ${common.ota_upload_flags}
  869. [env:ike-espike]
  870. board = ${common.board_4m}
  871. build_flags = ${common.build_flags_4m1m} -DIKE_ESPIKE
  872. [env:ike-espike-ota]
  873. board = ${common.board_4m}
  874. build_flags = ${common.build_flags_4m1m} -DIKE_ESPIKE
  875. upload_port = ${common.ota_upload_port}
  876. upload_flags = ${common.ota_upload_flags}
  877. [env:arniex-swifitch]
  878. board = ${common.board_4m}
  879. build_flags = ${common.build_flags_4m1m} -DARNIEX_SWIFITCH
  880. [env:arniex-swifitch-ota]
  881. board = ${common.board_4m}
  882. build_flags = ${common.build_flags_4m1m} -DARNIEX_SWIFITCH
  883. upload_port = ${common.ota_upload_port}
  884. upload_flags = ${common.ota_upload_flags}
  885. [env:zhilde-eu44-w]
  886. board = ${common.board_1m}
  887. build_flags = ${common.build_flags_1m0m} -DZHILDE_EU44_W
  888. [env:zhilde-eu44-w-ota]
  889. board = ${common.board_1m}
  890. build_flags = ${common.build_flags_1m0m} -DZHILDE_EU44_W
  891. upload_port = ${common.ota_upload_port}
  892. upload_flags = ${common.ota_upload_flags}
  893. [env:luani-hvio]
  894. board = ${common.board_1m}
  895. build_flags = ${common.build_flags_1m0m} -DLUANI_HVIO
  896. [env:luani-hvio-ota]
  897. board = ${common.board_1m}
  898. build_flags = ${common.build_flags_1m0m} -DLUANI_HVIO
  899. upload_port = ${common.ota_upload_port}
  900. upload_flags = ${common.ota_upload_flags}
  901. [env:neo-coolcam-power-plug-wifi]
  902. board = ${common.board_1m}
  903. build_flags = ${common.build_flags_1m0m} -DNEO_COOLCAM_NAS_WR01W
  904. [env:neo-coolcam-power-plug-wifi-ota]
  905. board = ${common.board_1m}
  906. build_flags = ${common.build_flags_1m0m} -DNEO_COOLCAM_NAS_WR01W
  907. upload_port = ${common.ota_upload_port}
  908. upload_flags = ${common.ota_upload_flags}
  909. [env:estink-wifi-power-strip]
  910. board = ${common.board_1m}
  911. build_flags = ${common.build_flags_1m0m} -DFORNORM_ZLD_34EU
  912. [env:estink-wifi-power-strip-ota]
  913. board = ${common.board_1m}
  914. build_flags = ${common.build_flags_1m0m} -DFORNORM_ZLD_34EU
  915. upload_port = ${common.ota_upload_port}
  916. upload_flags = ${common.ota_upload_flags}
  917. [env:iwoole-led-table-lamp]
  918. board = ${common.board_1m}
  919. build_flags = ${common.build_flags_1m0m} -DIWOOLE_LED_TABLE_LAMP
  920. [env:iwoole-led-table-lamp-ota]
  921. board = ${common.board_1m}
  922. build_flags = ${common.build_flags_1m0m} -DIWOOLE_LED_TABLE_LAMP
  923. upload_port = ${common.ota_upload_port}
  924. upload_flags = ${common.ota_upload_flags}
  925. [env:lombex-lux-nova2-tunable-white]
  926. board = ${common.board_1m}
  927. build_flags = ${common.build_flags_1m0m} -DLOMBEX_LUX_NOVA2_TUNABLE_WHITE
  928. [env:lombex-lux-nova2-tunable-white-ota]
  929. board = ${common.board_1m}
  930. build_flags = ${common.build_flags_1m0m} -DLOMBEX_LUX_NOVA2_TUNABLE_WHITE
  931. upload_port = ${common.ota_upload_port}
  932. upload_flags = ${common.ota_upload_flags}
  933. [env:lombex-lux-nova2-white-color]
  934. board = ${common.board_1m}
  935. build_flags = ${common.build_flags_1m0m} -DLOMBEX_LUX_NOVA2_WHITE_COLOR
  936. [env:lombex-lux-nova2-white-color-ota]
  937. board = ${common.board_1m}
  938. build_flags = ${common.build_flags_1m0m} -DLOMBEX_LUX_NOVA2_WHITE_COLOR
  939. upload_port = ${common.ota_upload_port}
  940. upload_flags = ${common.ota_upload_flags}
  941. # ------------------------------------------------------------------------------
  942. # GENERIC OTA ENVIRONMENTS
  943. # ------------------------------------------------------------------------------
  944. [env:generic-esp01s-relay-40]
  945. board = ${common.board_1m}
  946. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40
  947. [env:generic-esp01s-relay-40-inv]
  948. board = ${common.board_1m}
  949. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40 -DRELAY1_TYPE=1
  950. [env:generic-esp01s-relay-40-ota]
  951. board = ${common.board_1m}
  952. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40
  953. upload_port = ${common.ota_upload_port}
  954. upload_flags = ${common.ota_upload_flags}
  955. [env:generic-esp01s-relay-40-inv-ota]
  956. board = ${common.board_1m}
  957. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RELAY_V40 -DRELAY1_TYPE=1
  958. upload_port = ${common.ota_upload_port}
  959. upload_flags = ${common.ota_upload_flags}
  960. [env:generic-esp01s-rgbled-10]
  961. board = ${common.board_1m}
  962. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RGBLED_V10
  963. [env:generic-esp01s-rgbled-10-ota]
  964. board = ${common.board_1m}
  965. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_RGBLED_V10
  966. upload_port = ${common.ota_upload_port}
  967. upload_flags = ${common.ota_upload_flags}
  968. [env:generic-esp01s-dht11-10]
  969. board = ${common.board_1m}
  970. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DHT11_V10
  971. [env:generic-esp01s-dht11-10-ota]
  972. board = ${common.board_1m}
  973. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DHT11_V10
  974. upload_port = ${common.ota_upload_port}
  975. upload_flags = ${common.ota_upload_flags}
  976. [env:generic-esp01s-ds18b20-10]
  977. board = ${common.board_1m}
  978. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DS18B20_V10
  979. [env:generic-esp01s-ds18b20-10-ota]
  980. board = ${common.board_1m}
  981. build_flags = ${common.build_flags_1m0m} -DGENERIC_ESP01S_DS18B20_V10
  982. upload_port = ${common.ota_upload_port}
  983. upload_flags = ${common.ota_upload_flags}
  984. [env:heltec-touch-relay]
  985. board = ${common.board_1m}
  986. build_flags = ${common.build_flags_1m0m} -DHELTEC_TOUCHRELAY
  987. [env:heltec-touch-relay-ota]
  988. board = ${common.board_1m}
  989. build_flags = ${common.build_flags_1m0m} -DHELTEC_TOUCHRELAY
  990. upload_port = ${common.ota_upload_port}
  991. upload_flags = ${common.ota_upload_flags}
  992. [env:allnet-4duino-iot-wlan-relais]
  993. board = ${common.board_4m}
  994. build_flags = ${common.build_flags_4m1m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  995. [env:allnet-4duino-iot-wlan-relais-ota]
  996. board = ${common.board_4m}
  997. build_flags = ${common.build_flags_4m1m} -DALLNET_4DUINO_IOT_WLAN_RELAIS
  998. upload_port = ${common.ota_upload_port}
  999. upload_flags = ${common.ota_upload_flags}
  1000. [env:tonbux-mosquito-killer]
  1001. board = ${common.board_1m}
  1002. build_flags = ${common.build_flags_1m0m} -DTONBUX_MOSQUITO_KILLER
  1003. [env:tonbux-mosquito-killer-ota]
  1004. board = ${common.board_1m}
  1005. build_flags = ${common.build_flags_1m0m} -DTONBUX_MOSQUITO_KILLER
  1006. upload_port = ${common.ota_upload_port}
  1007. upload_flags = ${common.ota_upload_flags}
  1008. [env:pilotak-esp-din-v1]
  1009. board = ${common.board_1m}
  1010. build_flags = ${common.build_flags_1m0m} -DPILOTAK_ESP_DIN_V1
  1011. [env:pilotak-esp-din-v1-ota]
  1012. board = ${common.board_1m}
  1013. build_flags = ${common.build_flags_1m0m} -DPILOTAK_ESP_DIN_V1
  1014. upload_port = ${common.ota_upload_port}
  1015. upload_flags = ${common.ota_upload_flags}
  1016. [env:nodemcu-geiger]
  1017. board = ${common.board_4m}
  1018. build_flags = ${common.build_flags_4m1m} -DNODEMCU_BASIC -DGEIGER_SUPPORT=1 -DEVENTS_SUPPORT=0 -DINFLUXDB_SUPPORT=1 -DALEXA_SUPPORT=0 -DALEXA_ENABLED=0
  1019. [env:nodemcu-geiger-ota]
  1020. board = ${common.board_4m}
  1021. build_flags = ${common.build_flags_4m1m} -DNODEMCU_BASIC -DGEIGER_SUPPORT=1 -DEVENTS_SUPPORT=0 -DINFLUXDB_SUPPORT=1 -DALEXA_SUPPORT=0 -DALEXA_ENABLED=0
  1022. upload_port = ${common.ota_upload_port}
  1023. upload_flags = ${common.ota_upload_flags}
  1024. [env:blitzwolf-bwshpx]
  1025. board = ${common.board_1m}
  1026. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHPX
  1027. [env:blitzwolf-bwshpx-ota]
  1028. board = ${common.board_1m}
  1029. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHPX
  1030. upload_port = ${common.ota_upload_port}
  1031. upload_flags = ${common.ota_upload_flags}
  1032. [env:blitzwolf-bwshpx-v23]
  1033. board = ${common.board_1m}
  1034. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHPX_V23
  1035. [env:blitzwolf-bwshpx-v23-ota]
  1036. board = ${common.board_1m}
  1037. build_flags = ${common.build_flags_1m0m} -DBLITZWOLF_BWSHPX_V23
  1038. upload_port = ${common.ota_upload_port}
  1039. upload_flags = ${common.ota_upload_flags}
  1040. [env:teckin-sp22-v14]
  1041. board = ${common.board_1m}
  1042. build_flags = ${common.build_flags_1m0m} -DTECKIN_SP22_V14
  1043. [env:teckin-sp22-v14-ota]
  1044. board = ${common.board_1m}
  1045. build_flags = ${common.build_flags_1m0m} -DTECKIN_SP22_V14
  1046. upload_port = ${common.ota_upload_port}
  1047. upload_flags = ${common.ota_upload_flags}
  1048. [env:gosund-ws1]
  1049. board = ${common.board_1m}
  1050. build_flags = ${common.build_flags_1m0m} -DGOSUND_WS1
  1051. [env:gosund-ws1-ota]
  1052. board = ${common.board_1m}
  1053. build_flags = ${common.build_flags_1m0m} -DGOSUND_WS1
  1054. upload_port = ${common.ota_upload_port}
  1055. upload_flags = ${common.ota_upload_flags}
  1056. [env:digoo-nx-sp202]
  1057. board = ${common.board_1m}
  1058. build_flags = ${common.build_flags_1m0m} -DDIGOO_NX_SP202
  1059. [env:digoo-nx-sp202-ota]
  1060. board = ${common.board_1m}
  1061. build_flags = ${common.build_flags_1m0m} -DDIGOO_NX_SP202
  1062. upload_port = ${common.ota_upload_port}
  1063. upload_flags = ${common.ota_upload_flags}
  1064. [env:homecube-16a]
  1065. board = ${common.board_1m}
  1066. build_flags = ${common.build_flags_1m0m} -DHOMECUBE_16A
  1067. [env:homecube-16a-ota]
  1068. board = ${common.board_1m}
  1069. build_flags = ${common.build_flags_1m0m} -DHOMECUBE_16A
  1070. upload_port = ${common.ota_upload_port}
  1071. upload_flags = ${common.ota_upload_flags}
  1072. [env:bh-onofre]
  1073. board = ${common.board_4m}
  1074. build_flags = ${common.build_flags_4m1m} -DBH_ONOFRE
  1075. [env:bh-onofre-ota]
  1076. board = ${common.board_4m}
  1077. build_flags = ${common.build_flags_4m1m} -DBH_ONOFRE
  1078. upload_port = ${common.ota_upload_port}
  1079. upload_flags = ${common.ota_upload_flags}
  1080. [env:generic-ag-l4]
  1081. board = ${common.board_1m}
  1082. build_flags = ${common.build_flags_1m0m} -DGENERIC_AG_L4
  1083. [env:generic-ag-l4-ota]
  1084. board = ${common.board_1m}
  1085. build_flags = ${common.build_flags_1m0m} -DGENERIC_AG_L4
  1086. upload_port = ${common.ota_upload_port}
  1087. upload_flags = ${common.ota_upload_flags}
  1088. [env:lohas-e27-9w]
  1089. board = ${common.board_1m}
  1090. build_flags = ${common.build_flags_1m0m} -DLOHAS_9W
  1091. [env:lohas-e27-9w-ota]
  1092. board = ${common.board_1m}
  1093. build_flags = ${common.build_flags_1m0m} -DLOHAS_9W
  1094. upload_port = ${common.ota_upload_port}
  1095. upload_flags = ${common.ota_upload_flags}
  1096. [env:allterco-shelly1]
  1097. board = ${common.board_2m}
  1098. build_flags = ${common.build_flags_2m1m} -DALLTERCO_SHELLY1
  1099. [env:allterco-shelly1-ota]
  1100. board = ${common.board_2m}
  1101. build_flags = ${common.build_flags_2m1m} -DALLTERCO_SHELLY1
  1102. upload_port = ${common.ota_upload_port}
  1103. upload_flags = ${common.ota_upload_flags}
  1104. [env:allterco-shelly2]
  1105. board = ${common.board_2m}
  1106. build_flags = ${common.build_flags_2m1m} -DALLTERCO_SHELLY2
  1107. [env:allterco-shelly2-ota]
  1108. board = ${common.board_2m}
  1109. build_flags = ${common.build_flags_2m1m} -DALLTERCO_SHELLY2
  1110. upload_port = ${common.ota_upload_port}
  1111. upload_flags = ${common.ota_upload_flags}
  1112. [env:xiaomi-smart-desk-lamp]
  1113. board = ${common.board_1m}
  1114. build_flags = ${common.build_flags_1m0m} -DXIAOMI_SMART_DESK_LAMP
  1115. [env:xiaomi-smart-desk-lamp-ota]
  1116. board = ${common.board_1m}
  1117. build_flags = ${common.build_flags_1m0m} -DXIAOMI_SMART_DESK_LAMP
  1118. upload_port = ${common.ota_upload_port}
  1119. upload_flags = ${common.ota_upload_flags}
  1120. [env:phyx-esp12-rgb]
  1121. board = ${common.board_1m}
  1122. build_flags = ${common.build_flags_1m0m} -DPHYX_ESP12_RGB
  1123. [env:phyx-esp12-rgb-ota]
  1124. board = ${common.board_1m}
  1125. build_flags = ${common.build_flags_1m0m} -DPHYX_ESP12_RGB
  1126. upload_port = ${common.ota_upload_port}
  1127. upload_flags = ${common.ota_upload_flags}
  1128. [env:bestek-mrj1011]
  1129. board = ${common.board_1m}
  1130. build_flags = ${common.build_flags_1m0m} -DBESTEK_MRJ1011
  1131. [env:bestek-mrj1011-ota]
  1132. board = ${common.board_1m}
  1133. build_flags = ${common.build_flags_1m0m} -DBESTEK_MRJ1011
  1134. upload_port = ${common.ota_upload_port}
  1135. upload_flags = ${common.ota_upload_flags}
  1136. [env:gblife-rgbw-socket]
  1137. board = ${common.board_1m}
  1138. build_flags = ${common.build_flags_1m0m} -DGBLIFE_RGBW_SOCKET
  1139. [env:gblife-rgbw-socket-ota]
  1140. board = ${common.board_1m}
  1141. build_flags = ${common.build_flags_1m0m} -DGBLIFE_RGBW_SOCKET
  1142. upload_port = ${common.ota_upload_port}
  1143. upload_flags = ${common.ota_upload_flags}
  1144. [env:smartlife-mini-smart-socket]
  1145. board = ${common.board_1m}
  1146. build_flags = ${common.build_flags_1m0m} -DSMARTLIFE_MINI_SMART_SOCKET
  1147. [env:smartlife-mini-smart-socket-ota]
  1148. board = ${common.board_1m}
  1149. build_flags = ${common.build_flags_1m0m} -DSMARTLIFE_MINI_SMART_SOCKET
  1150. upload_port = ${common.ota_upload_port}
  1151. upload_flags = ${common.ota_upload_flags}
  1152. [env:hama-wifi-steckdose-00176533]
  1153. board = ${common.board_1m}
  1154. build_flags = ${common.build_flags_1m0m} -DHAMA_WIFI_STECKDOSE_00176533
  1155. [env:hama-wifi-steckdose-00176533-ota]
  1156. board = ${common.board_1m}
  1157. build_flags = ${common.build_flags_1m0m} -DHAMA_WIFI_STECKDOSE_00176533
  1158. upload_port = ${common.ota_upload_port}
  1159. upload_flags = ${common.ota_upload_flags}
  1160. [env:teckin-sp20]
  1161. board = ${common.board_1m}
  1162. build_flags = ${common.build_flags_1m0m} -DTECKIN_SP20
  1163. [env:teckin-sp20-ota]
  1164. board = ${common.board_1m}
  1165. build_flags = ${common.build_flags_1m0m} -DTECKIN_SP20
  1166. upload_port = ${common.ota_upload_port}
  1167. upload_flags = ${common.ota_upload_flags}
  1168. [env:litesun-la-wf3]
  1169. board = ${common.board_1m}
  1170. build_flags = ${common.build_flags_1m0m} -DLITESUN_LA_WF3
  1171. [env:litesun-la-wf3-ota]
  1172. board = ${common.board_1m}
  1173. build_flags = ${common.build_flags_1m0m} -DLITESUN_LA_WF3
  1174. upload_port = ${common.ota_upload_port}
  1175. upload_flags = ${common.ota_upload_flags}
  1176. [env:generic-gu10]
  1177. board = ${common.board_1m}
  1178. build_flags = ${common.build_flags_1m0m} -DGENERIC_GU10
  1179. [env:generic-gu10-ota]
  1180. board = ${common.board_1m}
  1181. build_flags = ${common.build_flags_1m0m} -DGENERIC_GU10
  1182. upload_port = ${common.ota_upload_port}
  1183. upload_flags = ${common.ota_upload_flags}
  1184. [env:nexete-a19]
  1185. board = ${common.board_1m}
  1186. build_flags = ${common.build_flags_1m0m} -DNEXETE_A19
  1187. [env:generic-nexete-a19-ota]
  1188. board = ${common.board_1m}
  1189. build_flags = ${common.build_flags_1m0m} -DNEXETE_A19
  1190. upload_port = ${common.upload_port}
  1191. upload_flags = ${common.upload_flags}
  1192. [env:psh-wifi-plug]
  1193. board = ${common.board_1m}
  1194. build_flags = ${common.build_flags_1m0m} -DPSH_WIFI_PLUG
  1195. [env:psh-wifi-plug-ota]
  1196. board = ${common.board_1m}
  1197. build_flags = ${common.build_flags_1m0m} -DPSH_WIFI_PLUG
  1198. upload_port = ${common.ota_upload_port}
  1199. upload_flags = ${common.ota_upload_flags}
  1200. [env:psh-rgbw-controller]
  1201. board = ${common.board_4m}
  1202. build_flags = ${common.build_flags_4m1m} -DPSH_RGBW_CONTROLLER
  1203. [env:psh-rgbw-controller-ota]
  1204. board = ${common.board_4m}
  1205. build_flags = ${common.build_flags_4m1m} -DPSH_RGBW_CONTROLLER
  1206. upload_port = ${common.ota_upload_port}
  1207. upload_flags = ${common.ota_upload_flags}
  1208. [env:psh-wifi-sensor]
  1209. board = ${common.board_4m}
  1210. build_flags = ${common.build_flags_4m1m} -DPSH_WIFI_SENSOR
  1211. [env:psh-wifi-sensor-ota]
  1212. board = ${common.board_4m}
  1213. build_flags = ${common.build_flags_4m1m} -DPSH_WIFI_SENSOR
  1214. upload_port = ${common.ota_upload_port}
  1215. upload_flags = ${common.ota_upload_flags}
  1216. [env:jinvoo-valve-sm-aw713]
  1217. board = ${common.board_1m}
  1218. build_flags = ${common.build_flags_1m0m} -DJINVOO_VALVE_SM_AW713
  1219. [env:jinvoo-valve-sm-aw713-ota]
  1220. board = ${common.board_1m}
  1221. build_flags = ${common.build_flags_1m0m} -DJINVOO_VALVE_SM_AW713
  1222. upload_port = ${common.ota_upload_port}
  1223. upload_flags = ${common.ota_upload_flags}