Arduino + Eclipse 安裝步驟

1.安裝JAVA
http://www.oracle.com/technetwork/java/javase/downloads/jre9-downloads-3848532.html

2.安裝Arduino IDE
https://www.arduino.cc/en/Main/Software

3.下載Eclipse IDE for C/C++ Developers ( Neon Packages )
http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/neon3

4.執行Eclipse.exe 並修改基本設定Windows > Preferences > C/C++ > indexer
將index source files not included in the build和index unused headers勾勾取消




5.安裝Arduino補釘程式,Help > Eclipes Marketplace.. 搜尋Arduino後安裝The Arduino Eclipse plugin namedSloeber V4



6.設定Arduino Private Libray/Hardware path參數,從這裡Arduino > Preferences > Arduino 加入Arduino IDE安裝路徑下的Libray和Hardware資料夾位置,以及User文件夾路徑下的Libray和Hardware資料夾位置於下。



以上設定完後就能與原Arduino IDE共用函式庫Libray和開發版Hardware



----加入新的開發板-------------------------------------
7.直接在Arduino > Preferences > Arduino > Third party index url's這裡加入個開發板的*.json路徑


STM32開發板(參考路徑)
https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json

ESP32開發板(參考路徑)
https://git.oschina.net/dfrobot/FireBeetle-ESP32/raw/master/package_esp32_index.json

ESP8266開發板(參考路徑)
http://arduino.esp8266.com/stable/package_esp8266com_index.json



8.在Arduino > Preferences > Arduino > Platfoorms and Boards勾選開發板函式庫版本

沒有留言:

張貼留言