How to Install STM32 Arduino IDE Library

Posted on

Install STM32 Arduino

Install STM32 Arduino Library – STM32 is a chip produced by the company STMicroelectronics in America, while CKS32 is a chip manufactured by the company CKS in China. Basically they have the same specs.

I have tried STM32 (STM32F103C8T6 or blue pill). This is a good microcontroller.

To be able to use STM32 so that it can be programmed using the Arduino IDE, we must install the board library to the Arduino IDE.

There are two ways to add it, download it from the Board Manager or download it manually. If you want to go through the board manager, use the following method.

Install Via Board Manager

One of the easiest ways to install stm32 arduino ide is through the board manager.

With this we can choose the version of STM32 that we want to install.

  • Copy the following link:
http://dan.drown.org/stm32duino/package_STM32duino_index.json
  • Open Arduino IDE -> Click menu File
  • Click Preferences
  • Paste the link above in the Additional Boards Manager URLs form
  • Click OK
  • Click Tools -> Click Board -> Boards Manager
  • Search with the word “STM32“, then you will see something like the following image:
How to Install STM32 Arduino IDE Library
  • Choose a library according to the type of microcontroller you have, then click install.
  • Done.

Install Manually

If you don’t want to do it via the board manager, you can do the installation manually.

Follow these steps:

  • Download the library package by clicking the following download button

Download STM32 Library

  • Once downloaded, extract the file and move it to hardware in the Arduino folder.
  • If the Arduino folder only has a library folder and no hardware folder, please create a hardware folder.
  • The order of the folders is like this:
    /home/your computer name/Arduino/hardware/STM32duino-bootloader-master
  • Done.

Hopefully this article is useful. If this article Install STM32 Arduino IDE doesn’t work, you can contact me by commenting at the bottom.

1 comment

Leave a Reply