STM32Cube MCU Package for STM32F4 series (HAL, Low-Layer APIs and CMSIS (CORE, DSP, RTOS), USB, TCP/IP, File system, RTOS, Graphic - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards)

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

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

It also comprises the STM32CubeF4 platform composed of STM32Cube HAL and low-layer (LL) APIs, plus consistent set of middleware components (RTOS, USB, FatFs, graphics and TCP/IP). All embedded software utilities come with a full set of examples running on STMicroelectronics boards.

STM32Cube HAL is an STM32 embedded software stack that ensures maximized portability across STM32 portfolio, while LL APIs make up a fast, light-weight, expert-oriented layer which is closer to the hardware than HAL. HAL and LL APIs can be used simultaneously with a few restrictions.

Both HAL and LL drivers are production-ready and have been developed in compliance with MISRA-C 2004 guidelines. Furthermore, ST specific validation processes add a deeper-level qualification.

STM32CubeF4 gathers in one single package all the generic embedded software components required to develop an application on STM32F4 microcontrollers. Following STM32Cube initiative, this set of components is highly portable, not only to STM32F4 Series but also to other STM32 series. In addition, low-layer APIs provide an alternative, high-performance, low-footprint solution to STM32CubeF4 HAL at the cost of portability and simplicity.

STM32CubeF4 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. HAL and LL APIs are 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
  • Hundreds of examples for easy understanding
  • High quality HAL and low-layer API drivers using CodeSonar® static analysis tool
  • STM32F4-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





Description Version Size
STM32Cube embedded software for STM32F4 Series including HAL, low-layer drivers and STM32F4-dedicated middleware 4.0 143 KB
Description Version Size
STemWin 库入门指南 4.1 712 KB
STM32Cube firmware examples for STM32F4 Series 4.0 496 KB
Description Version Size
Description of STM32F4 HAL and LL drivers 5.0 34 MB
在 STM32Cube 上开发 FatFs 相关应用 2.5 563 KB
在具有 RTOS 的 STM32Cube 上开发应用 2.5 703 KB
使用 LwIP TCP/IP 栈,在 STM32Cube 上开发应用 4.1 1011 KB
Getting started with STM32CubeF4 firmware package for STM32F4 Series 10.0 599 KB
STM32Cube 以太网 IAP 示例 3.1 790 KB
STM32Cube PolarSSL example 2.1 643 KB
STM32Cube USB 设备库 3.4 1 MB
STM32Cube™ USB 主机库 3.1 722 KB
STM32CubeF4 demonstration platform 5.0 6 MB


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


Description Version Size
STM32Cube eases STM32 development 17.07 532 KB
STM32F401/10/11/12/13 - High-performance Access lines 17.04 1 MB
Description Version Size
STM32 32-bit MCU family - Leading supplier of ARM® Cortex®-M microcontrollers 17.10 2 MB


Description Version Size
Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 3.1 104 KB


Software Development Tools
MCUs Embedded Software
ST25 - NFC / RFID Software


型号 Software Version Marketing Status Supplier Order from ST
STM32CubeF4 1.18.0 Active ST