> For the complete documentation index, see [llms.txt](https://linkediot.gitbook.io/linked-iot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://linkediot.gitbook.io/linked-iot/en/tutorials/installation-stm32.md).

# Installation STM-Board

For the installation of Arduino please look at *Installing Arduino*.

First of all the hardware-files for the STM32-board have to downloaded at <https://github.com/rogerclarkmelbourne/Arduino_STM32>

The following window is shown:

![](https://274800927-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHgUN0FpKxTuT7H90rv%2F-LHgWY-D6QL1repnvl5n%2F-LHgWZScdRuLEPJ0f3uj%2FSTM32_00_Download_2.png?generation=1531902859955842\&alt=media)

With the button *"Clone or download"* (marked red) the file Arduino\_STM32-master.zip can be downloaded.

After the folder *„Arduino\_STM32-master“* is unpacked, it has to be copied to *C:\Program Files (x86)\Arduino\hardware*.

If the folder "hardware" does not exist yet, it has to be created.

![](https://274800927-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHgUN0FpKxTuT7H90rv%2F-LHgWY-D6QL1repnvl5n%2F-LHgWZSeYB5CX1_zxX3T%2FSTM32_01_Hardware.png?generation=1531902845964293\&alt=media)

After that you have to run *„install\_drivers.bat“*. You can find it at C:\Users\Username\Documents\Arduino\hardware\Arduino\_STM32-master\drivers\win

![](https://274800927-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHgUN0FpKxTuT7H90rv%2F-LHgWY-D6QL1repnvl5n%2F-LHgWZSgtweSviwboKUR%2FSTM32_02_Install-driver-bat.png?generation=1531902839987833\&alt=media)

After this was installed, Arduino has to be startet and the boardmanager has to be opened, which can be found under Tools --> Boards --> Board Manager... (check picture below).

![](https://274800927-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHgUN0FpKxTuT7H90rv%2F-LHgWY-D6QL1repnvl5n%2F-LHgWZSiB-NvQJ9YLUTS%2FSTM32_03_Boardverwalter.png?generation=1531902860785119\&alt=media)

Search for „ARM Cortex M3“ in the search field in the Board Manager (marked red).

![](https://274800927-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHgUN0FpKxTuT7H90rv%2F-LHgWY-D6QL1repnvl5n%2F-LHgWZSkpNPd9te7eiKh%2FSTM32_04_Install-ARM_2.png?generation=1531902861082150\&alt=media)

ARM can be installed by clicking the button "Install". After the installation was successful, you will get to see "INSTALLED" next to it.

![](https://274800927-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHgUN0FpKxTuT7H90rv%2F-LHgWY-D6QL1repnvl5n%2F-LHgWZSmFIsYArp6Wd2c%2FSTM32_05_Installed-ARM_2.png?generation=1531902846565791\&alt=media)

Now the board can be configured:

The settings can be found in Arduino under "Tools".

For the STM32 board the following settings (marked red in the picture below) are required:

***Board*** Generic STM32F103C series; ***Variant*** 128k Flash ***Speed*** 72Mhz ***Upload*** ***Method*** STM32duino Bootloader ***Optimize*** Smallest ***Port*** COMx (x systemabhängig)

![](https://274800927-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHgUN0FpKxTuT7H90rv%2F-LHgWY-D6QL1repnvl5n%2F-LHgWZSorfYbBlJ3k6nF%2FSTM32_06_Einstellungen_2.png?generation=1531902861874942\&alt=media)
