Repository navigation
Using git repository

To use the Arduino_Core_STM32 git repository instead of the package version, follow those steps:
1. Install the STM32 Cores package, see the Getting Started page.
This will install the required dependencies:
- CMSIS: ARM® Cortex® Microcontroller Software Interface Standard
- arm-none-eabi-gcc: GNU ARM Embedded Toolchain
- STM32Tools: upload tools,...
Go to the local Arduino directory
The location is displayed in the "Preferences" dialog.
It should be:
* `/Users/\<USERNAME\>/Library/Arduino15/` _(Mac)_
* `c:\Documents and Settings\\<USERNAME\>\Application Data\Arduino15\` _(Windows XP)_
* `c:\Users\\<USERNAME\>\AppData\Roaming\Arduino15\` _(Windows Vista)_
* `c:\Users\\<USERNAME\>\AppData\Local\Arduino15\` _(Windows 7)_
* `~/.arduino15/` _(Linux)_
Then, go to "/packages/STM32/hardware/stm32/" directory.
You should see a directory named with the STM32 Core version installed. Example: 2017.6.2
Delete this directory.
Directory of step 2 is now deleted.
In the "/packages/STM32/hardware/stm32/" do the clone:
git clone https://github.com/stm32duino/Arduino_Core_STM32.git <version>
where is the one you delete in step 2.
For this example: 2017.6.2
So, do:
git clone https://github.com/stm32duino/Arduino_Core_STM32.git 2017.6.2
At this step, you are able to build using the git repo.
3.2.
Documentation moved The documentation has migrated to stm32duino.github.io and this wiki is no longer updated. The wiki will be disabled soon. Please contribute in the relevant repository that publishes its documentation through GitHub Pages (
gh-pages).
-
Advanced usages