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.

631 lines
17 KiB

  1. [platformio]
  2. env_default = d1-debug
  3. src_dir = espurna
  4. data_dir = espurna/data
  5. [common]
  6. build_flags = -g -DDEBUG_PORT=Serial -DMQTT_MAX_PACKET_SIZE=400
  7. build_flags_512k = ${common.build_flags} -Wl,-Tesp8266.flash.512k0.ld
  8. build_flags_1m = ${common.build_flags} -Wl,-Tesp8266.flash.1m0.ld
  9. lib_deps =
  10. DHT sensor library
  11. Adafruit Unified Sensor
  12. https://github.com/xoseperez/Time
  13. ArduinoJson
  14. https://github.com/me-no-dev/ESPAsyncTCP#991f855
  15. https://github.com/me-no-dev/ESPAsyncWebServer#a94265d
  16. https://github.com/marvinroger/async-mqtt-client#v0.8.1
  17. PubSubClient
  18. Embedis
  19. NtpClientLib
  20. OneWire
  21. DallasTemperature
  22. Brzo I2C
  23. https://bitbucket.org/xoseperez/justwifi.git#1.1.3
  24. https://bitbucket.org/xoseperez/hlw8012.git#1.0.1
  25. https://bitbucket.org/xoseperez/fauxmoesp.git#2.1.0
  26. https://bitbucket.org/xoseperez/nofuss.git#0.2.2
  27. https://bitbucket.org/xoseperez/emonliteesp.git#0.1.2
  28. https://bitbucket.org/xoseperez/debounceevent.git#2.0.1
  29. https://github.com/xoseperez/my9291#1.0.0
  30. https://github.com/xoseperez/RemoteSwitch-arduino-library.git
  31. lib_ignore =
  32. # ------------------------------------------------------------------------------
  33. [env:d1-analog]
  34. platform = espressif8266
  35. framework = arduino
  36. board = d1_mini
  37. lib_deps = ${common.lib_deps}
  38. lib_ignore = ${common.lib_ignore}
  39. build_flags = ${common.build_flags} -DD1_MINI -DENABLE_DS18B20=1 -DDS_PIN=14 -DENABLE_ADC_VCC=0 -DMQTT_USE_ASYNC=0 -DENABLE_ANALOG=1 -DNOWSAUTH
  40. [env:d1-debug]
  41. platform = espressif8266
  42. framework = arduino
  43. board = d1_mini
  44. lib_deps = ${common.lib_deps}
  45. lib_ignore = ${common.lib_ignore}
  46. build_flags = ${common.build_flags} -DD1_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  47. [env:d1-debug-ota]
  48. platform = espressif8266
  49. framework = arduino
  50. board = d1_mini
  51. lib_deps = ${common.lib_deps}
  52. lib_ignore = ${common.lib_ignore}
  53. build_flags = ${common.build_flags} -DD1_RELAYSHIELD -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  54. upload_speed = 115200
  55. upload_port = "192.168.4.1"
  56. upload_flags = --auth=fibonacci --port 8266
  57. [env:node-debug]
  58. platform = espressif8266
  59. framework = arduino
  60. board = nodemcuv2
  61. lib_deps = ${common.lib_deps}
  62. lib_ignore = ${common.lib_ignore}
  63. build_flags = ${common.build_flags} -DNODEMCUV2 -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  64. [env:node-debug-ota]
  65. platform = espressif8266
  66. framework = arduino
  67. board = nodemcuv2
  68. lib_deps = ${common.lib_deps}
  69. lib_ignore = ${common.lib_ignore}
  70. build_flags = ${common.build_flags} -DNODEMCUV2 -DDEBUG_FAUXMO=Serial -DNOWSAUTH
  71. upload_speed = 115200
  72. upload_port = "192.168.4.1"
  73. upload_flags = --auth=fibonacci --port 8266
  74. [env:espurna-debug]
  75. platform = espressif8266
  76. framework = arduino
  77. board = esp12e
  78. lib_deps = ${common.lib_deps}
  79. lib_ignore = ${common.lib_ignore}
  80. build_flags = ${common.build_flags} -DESPURNA_H
  81. [env:espurna-debug-ota]
  82. platform = espressif8266
  83. framework = arduino
  84. board = esp12e
  85. lib_deps = ${common.lib_deps}
  86. lib_ignore = ${common.lib_ignore}
  87. build_flags = ${common.build_flags} -DESPURNA_H
  88. upload_speed = 115200
  89. upload_port = "192.168.4.1"
  90. upload_flags = --auth=fibonacci --port 8266
  91. [env:sonoff-debug]
  92. platform = espressif8266
  93. framework = arduino
  94. board = esp01_1m
  95. board_flash_mode = dout
  96. lib_deps = ${common.lib_deps}
  97. lib_ignore = ${common.lib_ignore}
  98. build_flags = ${common.build_flags_1m} -DSONOFF
  99. [env:sonoff-debug-ota]
  100. platform = espressif8266
  101. framework = arduino
  102. board = esp01_1m
  103. board_flash_mode = dout
  104. lib_deps = ${common.lib_deps}
  105. lib_ignore = ${common.lib_ignore}
  106. build_flags = ${common.build_flags_1m} -DSONOFF
  107. upload_speed = 115200
  108. upload_port = "192.168.4.1"
  109. upload_flags = --auth=fibonacci --port 8266
  110. [env:sonoff-dht22-debug]
  111. platform = espressif8266
  112. framework = arduino
  113. board = esp01_1m
  114. board_flash_mode = dout
  115. lib_deps = ${common.lib_deps}
  116. lib_ignore = ${common.lib_ignore}
  117. build_flags = ${common.build_flags_1m} -DSONOFF -DENABLE_DHT=1
  118. [env:sonoff-ds18b20-debug]
  119. platform = espressif8266
  120. framework = arduino
  121. board = esp01_1m
  122. board_flash_mode = dout
  123. lib_deps = ${common.lib_deps}
  124. lib_ignore = ${common.lib_ignore}
  125. build_flags = ${common.build_flags_1m} -DSONOFF -DENABLE_DS18B20=1
  126. [env:sonoff-pow-debug]
  127. platform = espressif8266
  128. framework = arduino
  129. board = esp01_1m
  130. board_flash_mode = dout
  131. lib_deps = ${common.lib_deps}
  132. lib_ignore = ${common.lib_ignore}
  133. build_flags = ${common.build_flags_1m} -DSONOFF_POW
  134. [env:sonoff-pow-debug-ota]
  135. platform = espressif8266
  136. framework = arduino
  137. board = esp01_1m
  138. board_flash_mode = dout
  139. lib_deps = ${common.lib_deps}
  140. lib_ignore = ${common.lib_ignore}
  141. build_flags = ${common.build_flags_1m} -DSONOFF_POW
  142. upload_speed = 115200
  143. upload_port = "192.168.4.1"
  144. upload_flags = --auth=fibonacci --port 8266
  145. [env:sonoff-dual-debug]
  146. platform = espressif8266
  147. framework = arduino
  148. board = esp01_1m
  149. board_flash_mode = dout
  150. lib_deps = ${common.lib_deps}
  151. lib_ignore = ${common.lib_ignore}
  152. build_flags = ${common.build_flags_1m} -DSONOFF_DUAL
  153. [env:sonoff-dual-debug-ota]
  154. platform = espressif8266
  155. framework = arduino
  156. board = esp01_1m
  157. board_flash_mode = dout
  158. lib_deps = ${common.lib_deps}
  159. lib_ignore = ${common.lib_ignore}
  160. build_flags = ${common.build_flags_1m} -DSONOFF_DUAL
  161. upload_speed = 115200
  162. upload_port = "192.168.4.1"
  163. upload_flags = --auth=fibonacci --port 8266
  164. [env:sonoff-4ch-debug]
  165. platform = espressif8266
  166. framework = arduino
  167. board = esp8285
  168. board_flash_mode = dout
  169. lib_deps = ${common.lib_deps}
  170. lib_ignore = ${common.lib_ignore}
  171. build_flags = ${common.build_flags_1m} -DSONOFF_4CH
  172. [env:sonoff-4ch-debug-ota]
  173. platform = espressif8266
  174. framework = arduino
  175. board = esp8285
  176. board_flash_mode = dout
  177. lib_deps = ${common.lib_deps}
  178. lib_ignore = ${common.lib_ignore}
  179. build_flags = ${common.build_flags_1m} -DSONOFF_4CH
  180. upload_speed = 115200
  181. upload_port = "192.168.4.1"
  182. upload_flags = --auth=fibonacci --port 8266
  183. [env:sonoff-4ch-pro-debug]
  184. platform = espressif8266
  185. framework = arduino
  186. board = esp8285
  187. board_flash_mode = dout
  188. lib_deps = ${common.lib_deps}
  189. lib_ignore = ${common.lib_ignore}
  190. build_flags = ${common.build_flags_1m} -DSONOFF_4CH_PRO
  191. [env:sonoff-4ch-pro-debug-ota]
  192. platform = espressif8266
  193. framework = arduino
  194. board = esp8285
  195. board_flash_mode = dout
  196. lib_deps = ${common.lib_deps}
  197. lib_ignore = ${common.lib_ignore}
  198. build_flags = ${common.build_flags_1m} -DSONOFF_4CH_PRO
  199. upload_speed = 115200
  200. upload_port = "192.168.4.1"
  201. upload_flags = --auth=fibonacci --port 8266
  202. [env:sonoff-touch-debug]
  203. platform = espressif8266
  204. framework = arduino
  205. board = esp8285
  206. board_flash_mode = dout
  207. lib_deps = ${common.lib_deps}
  208. lib_ignore = ${common.lib_ignore}
  209. build_flags = ${common.build_flags_1m} -DSONOFF_TOUCH
  210. [env:sonoff-touch-debug-ota]
  211. platform = espressif8266
  212. framework = arduino
  213. board = esp8285
  214. board_flash_mode = dout
  215. lib_deps = ${common.lib_deps}
  216. lib_ignore = ${common.lib_ignore}
  217. build_flags = ${common.build_flags_1m} -DSONOFF_TOUCH
  218. upload_speed = 115200
  219. upload_port = "192.168.4.1"
  220. upload_flags = --auth=fibonacci --port 8266
  221. [env:slampher-debug]
  222. platform = espressif8266
  223. framework = arduino
  224. board = esp01_1m
  225. board_flash_mode = dout
  226. lib_deps = ${common.lib_deps}
  227. lib_ignore = ${common.lib_ignore}
  228. build_flags = ${common.build_flags_1m} -DSLAMPHER
  229. [env:slampher-debug-ota]
  230. platform = espressif8266
  231. framework = arduino
  232. board = esp01_1m
  233. board_flash_mode = dout
  234. lib_deps = ${common.lib_deps}
  235. lib_ignore = ${common.lib_ignore}
  236. build_flags = ${common.build_flags_1m} -DSLAMPHER
  237. upload_speed = 115200
  238. upload_port = "192.168.4.1"
  239. upload_flags = --auth=fibonacci --port 8266
  240. [env:s20-debug]
  241. platform = espressif8266
  242. framework = arduino
  243. board = esp01_1m
  244. board_flash_mode = dout
  245. lib_deps = ${common.lib_deps}
  246. lib_ignore = ${common.lib_ignore}
  247. build_flags = ${common.build_flags_1m} -DS20
  248. [env:s20-debug-ota]
  249. platform = espressif8266
  250. framework = arduino
  251. board = esp01_1m
  252. board_flash_mode = dout
  253. lib_deps = ${common.lib_deps}
  254. lib_ignore = ${common.lib_ignore}
  255. build_flags = ${common.build_flags_1m} -DS20
  256. upload_speed = 115200
  257. upload_port = "192.168.4.1"
  258. upload_flags = --auth=fibonacci --port 8266
  259. [env:sonoff-b1-debug]
  260. platform = espressif8266
  261. framework = arduino
  262. board = esp8285
  263. board_flash_mode = dout
  264. lib_deps = ${common.lib_deps}
  265. lib_ignore = ${common.lib_ignore}
  266. build_flags = ${common.build_flags_1m} -DSONOFF_B1
  267. [env:sonoff-b1-debug-ota]
  268. platform = espressif8266
  269. framework = arduino
  270. board = esp8285
  271. board_flash_mode = dout
  272. lib_deps = ${common.lib_deps}
  273. lib_ignore = ${common.lib_ignore}
  274. build_flags = ${common.build_flags_1m} -DSONOFF_B1
  275. upload_speed = 115200
  276. upload_port = "192.168.4.1"
  277. upload_flags = --auth=fibonacci --port 8266
  278. [env:sonoff-t1-1ch-debug]
  279. platform = espressif8266
  280. framework = arduino
  281. board = esp8285
  282. board_flash_mode = dout
  283. lib_deps = ${common.lib_deps}
  284. lib_ignore = ${common.lib_ignore}
  285. build_flags = ${common.build_flags_1m} -DSONOFF_T1_1CH
  286. [env:sonoff-t1-1ch-debug-ota]
  287. platform = espressif8266
  288. framework = arduino
  289. board = esp8285
  290. board_flash_mode = dout
  291. lib_deps = ${common.lib_deps}
  292. lib_ignore = ${common.lib_ignore}
  293. build_flags = ${common.build_flags_1m} -DSONOFF_T1_1CH
  294. upload_speed = 115200
  295. upload_port = "192.168.4.1"
  296. upload_flags = --auth=fibonacci --port 8266
  297. [env:sonoff-t1-2ch-debug]
  298. platform = espressif8266
  299. framework = arduino
  300. board = esp8285
  301. board_flash_mode = dout
  302. lib_deps = ${common.lib_deps}
  303. lib_ignore = ${common.lib_ignore}
  304. build_flags = ${common.build_flags_1m} -DSONOFF_T1_2CH
  305. [env:sonoff-t1-2ch-debug-ota]
  306. platform = espressif8266
  307. framework = arduino
  308. board = esp8285
  309. board_flash_mode = dout
  310. lib_deps = ${common.lib_deps}
  311. lib_ignore = ${common.lib_ignore}
  312. build_flags = ${common.build_flags_1m} -DSONOFF_T1_2CH
  313. upload_speed = 115200
  314. upload_port = "192.168.4.1"
  315. upload_flags = --auth=fibonacci --port 8266
  316. [env:sonoff-t1-3ch-debug]
  317. platform = espressif8266
  318. framework = arduino
  319. board = esp8285
  320. board_flash_mode = dout
  321. lib_deps = ${common.lib_deps}
  322. lib_ignore = ${common.lib_ignore}
  323. build_flags = ${common.build_flags_1m} -DSONOFF_T1_3CH
  324. [env:sonoff-t1-3ch-debug-ota]
  325. platform = espressif8266
  326. framework = arduino
  327. board = esp8285
  328. board_flash_mode = dout
  329. lib_deps = ${common.lib_deps}
  330. lib_ignore = ${common.lib_ignore}
  331. build_flags = ${common.build_flags_1m} -DSONOFF_T1_3CH
  332. upload_speed = 115200
  333. upload_port = "192.168.4.1"
  334. upload_flags = --auth=fibonacci --port 8266
  335. [env:sonoff-led-debug]
  336. platform = espressif8266
  337. framework = arduino
  338. board = esp01_1m
  339. board_flash_mode = dout
  340. lib_deps = ${common.lib_deps}
  341. lib_ignore = ${common.lib_ignore}
  342. build_flags = ${common.build_flags_1m} -DSONOFF_LED
  343. [env:sonoff-led-debug-ota]
  344. platform = espressif8266
  345. framework = arduino
  346. board = esp01_1m
  347. board_flash_mode = dout
  348. lib_deps = ${common.lib_deps}
  349. lib_ignore = ${common.lib_ignore}
  350. build_flags = ${common.build_flags_1m} -DSONOFF_LED
  351. upload_speed = 115200
  352. upload_port = "192.168.4.1"
  353. upload_flags = --auth=fibonacci --port 8266
  354. [env:rfbridge-debug]
  355. platform = espressif8266
  356. framework = arduino
  357. board = esp01_1m
  358. board_flash_mode = dout
  359. lib_deps = ${common.lib_deps}
  360. lib_ignore = ${common.lib_ignore}
  361. build_flags = ${common.build_flags_1m} -DSONOFF_RFBRIDGE
  362. [env:rfbridge-debug-ota]
  363. platform = espressif8266
  364. framework = arduino
  365. board = esp01_1m
  366. board_flash_mode = dout
  367. lib_deps = ${common.lib_deps}
  368. lib_ignore = ${common.lib_ignore}
  369. build_flags = ${common.build_flags_1m} -DSONOFF_RFBRIDGE
  370. upload_speed = 115200
  371. upload_port = "192.168.4.1"
  372. upload_flags = --auth=Algernon1 --port 8266
  373. [env:1ch-inching-debug]
  374. platform = espressif8266
  375. framework = arduino
  376. board = esp01_1m
  377. board_flash_mode = dout
  378. lib_deps = ${common.lib_deps}
  379. lib_ignore = ${common.lib_ignore}
  380. build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING
  381. [env:1ch-inching-debug-ota]
  382. platform = espressif8266
  383. framework = arduino
  384. board = esp01_1m
  385. board_flash_mode = dout
  386. lib_deps = ${common.lib_deps}
  387. lib_ignore = ${common.lib_ignore}
  388. build_flags = ${common.build_flags_1m} -DITEAD_1CH_INCHING
  389. upload_speed = 115200
  390. upload_port = "192.168.4.1"
  391. upload_flags = --auth=fibonacci --port 8266
  392. [env:motor-debug]
  393. platform = espressif8266
  394. framework = arduino
  395. board = esp01_1m
  396. board_flash_mode = dout
  397. lib_deps = ${common.lib_deps}
  398. lib_ignore = ${common.lib_ignore}
  399. build_flags = ${common.build_flags_1m} -DITEAD_MOTOR
  400. [env:motor-debug-ota]
  401. platform = espressif8266
  402. framework = arduino
  403. board = esp01_1m
  404. board_flash_mode = dout
  405. lib_deps = ${common.lib_deps}
  406. lib_ignore = ${common.lib_ignore}
  407. build_flags = ${common.build_flags_1m} -DITEAD_MOTOR
  408. upload_speed = 115200
  409. upload_port = "192.168.4.1"
  410. upload_flags = --auth=fibonacci --port 8266
  411. [env:electrodragon-debug]
  412. platform = espressif8266
  413. framework = arduino
  414. board = esp12e
  415. lib_deps = ${common.lib_deps}
  416. lib_ignore = ${common.lib_ignore}
  417. build_flags = ${common.build_flags} -DESP_RELAY_BOARD -DENABLE_DHT=1
  418. [env:electrodragon-debug-ota]
  419. platform = espressif8266
  420. framework = arduino
  421. board = esp12e
  422. lib_deps = ${common.lib_deps}
  423. lib_ignore = ${common.lib_ignore}
  424. build_flags = ${common.build_flags} -DESP_RELAY_BOARD -DENABLE_DHT=1
  425. upload_speed = 115200
  426. upload_port = "192.168.4.1"
  427. upload_flags = --auth=fibonacci --port 8266
  428. [env:ecoplug-debug]
  429. platform = espressif8266
  430. framework = arduino
  431. board = esp01_1m
  432. board_flash_mode = dout
  433. lib_deps = ${common.lib_deps}
  434. lib_ignore = ${common.lib_ignore}
  435. build_flags = ${common.build_flags_1m} -DECOPLUG
  436. [env:ecoplug-debug-ota]
  437. platform = espressif8266
  438. framework = arduino
  439. board = esp01_1m
  440. board_flash_mode = dout
  441. lib_deps = ${common.lib_deps}
  442. lib_ignore = ${common.lib_ignore}
  443. build_flags = ${common.build_flags_1m} -DECOPLUG
  444. upload_speed = 115200
  445. upload_port = "192.168.4.1"
  446. upload_flags = --auth=fibonacci --port 8266
  447. [env:jangoe-debug]
  448. platform = espressif8266
  449. framework = arduino
  450. board = esp12e
  451. lib_deps = ${common.lib_deps}
  452. lib_ignore = ${common.lib_ignore}
  453. build_flags = ${common.build_flags} -DWIFI_RELAY_NC
  454. [env:jangoe-debug-ota]
  455. platform = espressif8266
  456. framework = arduino
  457. board = esp12e
  458. lib_deps = ${common.lib_deps}
  459. lib_ignore = ${common.lib_ignore}
  460. build_flags = ${common.build_flags} -DWIFI_RELAY_NC
  461. upload_speed = 115200
  462. upload_port = "192.168.4.1"
  463. upload_flags = --auth=fibonacci --port 8266
  464. [env:mqtt-relay-debug]
  465. platform = espressif8266
  466. framework = arduino
  467. board = esp_wroom_02
  468. lib_deps = ${common.lib_deps}
  469. lib_ignore = ${common.lib_ignore}
  470. build_flags = ${common.build_flags} -DMQTT_RELAY -DENABLE_DS18B20=1
  471. [env:mqtt-relay-debug-ota]
  472. platform = espressif8266
  473. framework = arduino
  474. board = esp_wroom_02
  475. lib_deps = ${common.lib_deps}
  476. lib_ignore = ${common.lib_ignore}
  477. build_flags = ${common.build_flags} -DMQTT_RELAY -DENABLE_DS18B20=1
  478. upload_speed = 115200
  479. upload_port = "192.168.4.1"
  480. upload_flags = --auth=fibonacci --port 8266
  481. [env:wifi-relays-debug]
  482. platform = espressif8266
  483. framework = arduino
  484. board = esp01_1m
  485. lib_deps = ${common.lib_deps}
  486. lib_ignore = ${common.lib_ignore}
  487. build_flags = ${common.build_flags_1m} -DWIFI_RELAYS_BOARD_KIT
  488. [env:wifi-relays-debug-ota]
  489. platform = espressif8266
  490. framework = arduino
  491. board = esp01_1m
  492. lib_deps = ${common.lib_deps}
  493. lib_ignore = ${common.lib_ignore}
  494. build_flags = ${common.build_flags_1m} -DWIFI_RELAYS_BOARD_KIT
  495. upload_speed = 115200
  496. upload_port = "192.168.4.1"
  497. upload_flags = --auth=fibonacci --port 8266
  498. [env:ai-light-debug]
  499. platform = espressif8266
  500. framework = arduino
  501. board = esp01_1m
  502. board_flash_mode = dout
  503. lib_deps = ${common.lib_deps}
  504. lib_ignore = ${common.lib_ignore}
  505. build_flags = ${common.build_flags_1m} -DAI_LIGHT
  506. [env:ai-light-debug-ota]
  507. platform = espressif8266
  508. framework = arduino
  509. board = esp01_1m
  510. board_flash_mode = dout
  511. lib_deps = ${common.lib_deps}
  512. lib_ignore = ${common.lib_ignore}
  513. build_flags = ${common.build_flags_1m} -DAI_LIGHT
  514. upload_speed = 115200
  515. upload_port = "192.168.4.1"
  516. upload_flags = --auth=fibonacci --port 8266
  517. [env:led-controller-debug]
  518. platform = espressif8266
  519. framework = arduino
  520. board = esp01_1m
  521. lib_deps = ${common.lib_deps}
  522. lib_ignore = ${common.lib_ignore}
  523. build_flags = ${common.build_flags_1m} -DLED_CONTROLLER
  524. [env:led-controller-debug-ota]
  525. platform = espressif8266
  526. framework = arduino
  527. board = esp01_1m
  528. lib_deps = ${common.lib_deps}
  529. lib_ignore = ${common.lib_ignore}
  530. build_flags = ${common.build_flags_1m} -DLED_CONTROLLER
  531. upload_speed = 115200
  532. upload_port = "192.168.4.1"
  533. upload_flags = --auth=fibonacci --port 8266
  534. [env:h801-debug]
  535. platform = espressif8266
  536. framework = arduino
  537. board = esp01_1m
  538. board_flash_mode = dout
  539. lib_deps = ${common.lib_deps}
  540. lib_ignore = ${common.lib_ignore}
  541. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DH801_LED_CONTROLLER -DDEBUG_PORT=Serial1
  542. [env:h801-debug-ota]
  543. platform = espressif8266
  544. framework = arduino
  545. board = esp01_1m
  546. board_flash_mode = dout
  547. lib_deps = ${common.lib_deps}
  548. lib_ignore = ${common.lib_ignore}
  549. build_flags = -g -Wl,-Tesp8266.flash.1m0.ld -DH801_LED_CONTROLLER -DDEBUG_PORT=Serial1
  550. upload_speed = 115200
  551. upload_port = "192.168.4.1"
  552. upload_flags = --auth=fibonacci --port 8266
  553. [env:bnsz01-debug]
  554. platform = espressif8266
  555. framework = arduino
  556. board = esp8285
  557. board_flash_mode = dout
  558. lib_deps = ${common.lib_deps}
  559. lib_ignore = ${common.lib_ignore}
  560. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  561. [env:bnsz01-debug-ota]
  562. platform = espressif8266
  563. framework = arduino
  564. board = esp8285
  565. board_flash_mode = dout
  566. lib_deps = ${common.lib_deps}
  567. lib_ignore = ${common.lib_ignore}
  568. build_flags = ${common.build_flags_1m} -DITEAD_BNSZ01
  569. upload_speed = 115200
  570. upload_port = "192.168.4.1"
  571. upload_flags = --auth=fibonacci --port 8266