Arduino Support

Update or download the latest version of the Arduino IDE as you need version 1.8 or higher. Please note – at this time only the Mini SAM M4 board is supported in Arduino.
Start the IDE and navigate to the Preferences menu. You can access it from the File menu in Windows or Linux, or the Arduino menu on OS X.

Screenshot of selecting the preferences of the Arduino IDE.

We will be adding a URL to the Additional Boards Manager URLs option. The list of URLs is comma separated, and you will only have to add each URL once. Copy and paste the .json link shown below into that list.


Mini SAM Board Definition

Screenshot of adding the board definition to the Arduino IDE.

Once done click OK to save the new preference settings. Next we will look at installing boards with the Board Manager. Open the Boards Manager by navigating to the Tools->Board: menu. Once the Board Manager opens, click on the category drop down menu on the top left hand side of the window and select All. You will then be able to select and install the boards supplied by the URLs added to the preferences. The first step is to ensure you have the Arduino SAMD boards installed as Mini SAM uses some of those files as support. Search for “SAMD” and then install the Arduino SAMD Boards (32-bits ARM Cortex-M0+).

Screenshot of searching for the SAMD base manager in the Arduino IDE.

Next add the Mini SAM boards by searching for “Mini SAM” and installing Mini SAM SAMD Boards.

Screenshot of finding the Mini SAM boards in the Arduino IDE.

Close the boards manager and select the Mini SAM M4 board from the boards listed in the Tools->Board: menu.

Screenshot of the Mini SAM board in the list of boards on the Arduino IDE.

Then select the port your board is attached to with Tools->Port: You are ready to program using the Arduino IDE.