sloeber 摘要


: 上傳, 不重製。
: Preferences / Build before upload? : 選擇 NO

工作: 用個新的專案, #includfe < ESP8266WiFi.h>, 看狀況如何?
date: 2019/12/30~12/31

說明:
C:\sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi\src
方法:
ESP8266WiFi.h
ESP8266WiFi.cpp
copy to 專案目錄, 即可。權宜之計。

l           如何安裝sloeber ide

https://github.com/Sloeber/arduino-eclipse-plugin/releases

下載V4.4.0_win64.2021-07-04_06-48-31.zip , 內有sloeber 目錄, 壓縮程式

只要這個, 不用Eclipse

sloeber 燒錄

C:\Arduino\portable\packages\esp8266\tools\python3\3.7.2-post1/python3 -I C:\Arduino\portable\packages\esp8266\hardware\esp8266\3.0.2/tools/upload.py --chip esp8266 --port COM3 --baud 115200 --before default_reset --after hard_reset write_flash 0x0 C:\Users\owner\Documents\sloeber-workspace\ex2\Release/ex2.bin

要先存檔, 再燒錄。用arduino ide , 燒錄指令。slober ide 建的 hex 

sloeber 寫程式, 編譯可, 燒錄不行。


安裝驅動程式, sloeber ide 視窗下安裝

左邊, library ~.h , 改為 "~.h"

copy 至專錄目錄

存檔, 編譯, arduino燒錄


庫拷貝到2個地方, .h .cpp 餘可刪。不用改 #include <...>

C:\Sloeber\arduinoPlugin\libraries

C:\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\2.0.0\libraries

 


留言

這個網誌中的熱門文章

無效的努力

股市-華頓S&P黃豆(00693U) 操作法