Embedded software for STM32 F2 series (HAL low level drivers, USB, TCP/IP, File system, RTOS, Graphic - coming with examples running on ST boards: STM32 Nucleo and Evaluation boards)

STM32Cube™ is an STMicroelectronics original initiative to ease developers’ life by reducing development efforts, time and cost. STM32Cube covers STM32 portfolio.

STM32Cube includes the STM32CubeMX which is a graphical software configuration tool that allows generating C initialization code using graphical wizards.

It also comprises the STM32CubeF2 platform which includes the STM32Cube HAL (an STM32 abstraction layer embedded software, ensuring maximized portability across STM32 portfolio), plus a consistent set of middleware components (RTOS, USB, TCP/IP and graphics). All embedded software utilities come with a full set of examples.

STM32CubeF2 gathers in one single package all the generic embedded software components required to develop an application on STM32F2 microcontrollers. Following STM32Cube initiative, this set of components is highly portable, not only within STM32F2 series but also to other STM32 series.

STM32CubeF2 is fully compatible with STM32CubeMX code generator that allows generating initialization code. The package includes a low level hardware abstraction layer (HAL) that covers the microcontroller hardware, together with an extensive set of examples running on STMicroelectronics boards. The HAL is available in open-source BSD license for user convenience.

Key Features

  • Consistent and complete embedded software offer that frees the user from dependency issues
  • Maximized portability between all STM32 series supported by STM32Cube™
  • More than 80 examples for easy understanding
  • High quality HAL using CodeSonar® static analysis tool
  • STM32F2-specific middleware including USB Host and Device and TCP/IP stack
  • Free user-friendly license terms
  • Update mechanism that can be enabled by the user to be notified of new releases




Technical Documentation

Product Specifications
Description Version Size
DB2250 DB2250: STM32Cube™ embedded software for STM32F2 series including HAL drivers, USB, Ethernet, File System, RTOS and Graphics 1.1 162 KB
Application Notes
Description Version Size
AN4323 AN4323: Getting started with STemWin Library 4.0 604 KB
AN4733 AN4733: STM32Cube firmware examples for STM32F2 Series 2.0 296 KB
User Manuals
Description Version Size
UM1940 UM1940: Description of STM32F2xx HAL drivers 1.0 11 MB
UM1721 UM1721: Developing Applications on STM32Cube with FatFs 2.5 516 KB
UM1722 UM1722: Developing Applications on STM32Cube with RTOS 2.5 710 KB
UM1713 UM1713: Developing applications on STM32Cube with LwIP TCP/IP stack 4.1 940 KB
UM1739 UM1739: Getting started with STM32CubeF2 firmware package for STM32F2 Series 3.0 471 KB
UM1709 UM1709: STM32Cube Ethernet IAP example 3.1 775 KB
UM1723 UM1723: STM32Cube PolarSSL example 2.1 643 KB
UM1734 UM1734: STM32Cube USB device library 3.4 1 MB
UM1720 UM1720: STM32Cube USB host library 3.1 606 KB

Presentations & Training Material

Description Version Size
STM32 Embedded Software overview 2.3.0 777 KB
STM32Cube High Quality Process - Qualified STM32Cube Embedded Software libraries 1.1.0 291 KB

Publications and Collaterals

Description Version Size
STM32Cube eases STM32 development 16.06 460 KB
Description Version Size
STM32™ 32-bit MCU family - Leading supplier of ARM® Cortex®-M microcontrollers 16.02 1 MB


License Agreement
Description Version Size
SLA0048 SLA0048: Mix Liberty + OSS + 3rd- party V1 - SOFTWARE LICENSE AGREEMENT 2.14 112 KB

Tools and Software

Development Tools
Software Development Tools

Get Software

Part Number Software Version Marketing Status Supplier Order from ST
STM32CubeF2 1.4.0 Active ST