# 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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://linkediot.gitbook.io/linked-iot/en/tutorials/installation-stm32.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
