Installing the Digilent Core for Arduino
This guide will provide a step by step walk-through of installing the Digilent Core on Arduino (Windows/Mac/Linux). This will install the board files, compilers, and programmers necessary to program Digilent PIC32 boards using Arduino.
Prerequisites
Software
-
Arduino 1.6.9
-
Version 1.6.9 is highly recommended. The newer versions have introduced complications with file inclusions, and may not be compatible with the Digilent Core.
-
-
Note:如果你安装了版本1.0.1或更早,哟u will need to first delete the “xc32-tools-Digilent-master-win.zip” located at:
-
Windows- %LocalAppData%\Arduino15\staging\packages
-
Mac- /Users/
/Library/Arduino15/staging/packages
-
—–
Tutorial
1. Adding the board manager URL
1.1)OpenArduino and clickFile»Preferences.
Copy and paste the followingURLinto the “Additional Boards Manager URLs” box.
https://s3-us-west-2.amazonaws.com/digilent/Software/Digilent_Core/package_digilent_index.json
Click OK when finished.
1.2) ClickTools>Board>Boards Manager…to open the Arduino boards manager.
1.3) Scroll to the bottom and click theInstallbutton for the Digilent Core to install it.
1.4) Once it has finished installing, the Digilent boards can be selected in theTools>Boardmenu.