Getting Started; Running Your First Example - ST STM32F2 Series User Manual

Hide thumbs Also See for STM32F2 Series:
Table of Contents

Advertisement

Getting started

4
Getting started
4.1

Running your first example

This section explains how to run a first example within STM32CubeF2, using as illustration
the generation of a simple led toggle on STM322xG_EVAL board:
1.
Download the STM32CubeF2 FW package
2.
Unzip the package into a directory of your choice. Make sure not to modify the package
structure shown in the
location close to your root volume (for example C:\Eval or G:\Tests) because
some IDEs encounter problems when the path length is too high.
Browse to \Projects\STM322xG_EVAL\Examples
Open \GPIO folder, and then open \GPIO_EXTI folder
Open the project with your preferred toolchain (see the examples below)
Rebuild all files and load your image into the target memory
Run the example: the behavior of the program is described in the readmed.txt file
available with the example (for example the usage of User Button or the meaning of the
LEDs).
12/19
Figure
3. It is also recommended to copy the package at a
DocID026120 Rev 2
UM1739

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Stm32cubef2

Table of Contents