STM32duino Setup

STM32dunio is a project designed to allow the use of the Arduino IDE to program STM32 microcontrollers.  The following is the procedure I used to install and configure STM32dunio.

NOTE:  These steps are FOR WINDOWS AND SEEM TO BE  accurate as of June 29, 2015 using for the Arduino IDE v1.6.9 and  SAM Board EXTENSION v1.6.8.  for more information, please see the official stm32dunio instructions at roger clark’s github wiki page.


  1. Download the Arduino IDE from the official site.  My recommendation is to use the latest “stable” version in an attempt to avoid any unforeseen compatibility problems. (
  2. Double-click on the downloaded Arduino setup file to begin the installation.  (I just used all of the default options when installing.)


  1. Start the Arduino IDE application.
  2. Open up the Boards Manager windows by navigating to the Tools menu, then Board: “??????” and Boards Manager…AudinoBoardManagerNavScreenshot
  3. Under the Boards Manager window, install the “Arduino SAM Boards (32-bits ARM Cortex-M3) by Arduino” extension.  (NOTE: This extension is large so, depending on your Internet connection speed, this can take a number minutes.)AudinoBoardManagerSelectScreenshot
  4. When the extension’s installation is complete, close the Boards Manager window and exit the Arduino IDE.


  1. Download the STM32dunio files from Roger Clark’s GitHub repository.
  2. Unpack the newly downloaded “” file.  (All versions of Windows since XP should be able to natively extract “zip” files.  If you require a third party application for this process, may I suggest the open-source program 7-Zip.)
  3. Copy the recently extracted “Arduino_STM32-master” folder into your “My Documents/Arduino/hardware” folder.  (When I installed the Arduino IDE, the “hardware” folder was not automatically created so I had to make one.)


This completes the installation of the AudinoBoardListScreenshotSTM32dunio files.  When the Arduino IDE is restarted you should now have STM32 boards listed under the Tools / Board menu.