STM32Cube MCU Package for STM32 F1 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 make developers’ lives easier by reducing development effort, time and cost. STM32Cube is the implementation of STMCube™ that covers the whole STM32 portfolio.

STM32Cube includes STM32CubeMX, a graphical software configuration tool that allows the generation of C initialization code using graphical wizards.

It also comprises the STM32CubeF1 MCU Package composed of the STM32Cube hardware abstraction layer (HAL) and the low-layer (LL) APIs, plus a consistent set of middleware components (RTOS, USB, FAT file system, Graphics and TCP/IP). All embedded software utilities are delivered with a full set of examples running on STMicroelectronics boards.

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

Both the HAL and LL APIs are production-ready and have been developed in compliance with MISRA C®:2004 guidelines with some documented exceptions (reports available on demand) and ISO/TS 16949. Furthermore, ST-specific validation processes add a deeper-level qualification.

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

HAL and LL APIs are available under open-source BSD license for user convenience.


  • Consistent and complete embedded software offer that frees the user from dependency issues
  • Maximized portability between all STM32 Series supported by STM32Cube
  • More than 120 examples for easy understanding
  • High quality HAL using CodeSonar® static analysis tool
  • High quality low-layer APIs (LL) using CodeSonar® static analysis tool
  • STM32F1-dedicated middleware including USB Host and Device, FatFS, RTOS, Graphics, and TCP/IP
  • Free user-friendly license terms
  • Update mechanism that can be enabled by the user to be notified of new releases





Description 版本 文档大小
DB2485 DB2485: STM32Cube MCU Package for STM32F1 Series with HAL, low-layer drivers and dedicated middleware 3.0 148.01 KB
Description 版本 文档大小
AN4323 AN4323: STemWin 库入门指南 5.0 712.19 KB
AN4724 AN4724: STM32Cube firmware examples for STM32F1 Series 2.0 361.27 KB
Description 版本 文档大小
UM1850 UM1850: Description of STM32F1 HAL and Low-layer drivers 2.0 25 MB
UM1722 UM1722: 在具有 RTOS 的 STM32Cube 上开发应用 2.5 703.49 KB
UM1713 UM1713: 使用 LwIP TCP/IP 栈,在 STM32Cube 上开发应用 4.1 1,011.79 KB
UM1721 UM1721: 在 STM32Cube 上开发 FatFs 相关应用 1.0 563.33 KB
UM1847 UM1847: Getting started with STM32CubeF1 firmware package for STM32F1 series 3.0 530.14 KB
UM1709 UM1709: STM32Cube 以太网 IAP 示例 3.1 790.4 KB
UM1723 UM1723: STM32Cube PolarSSL example 2.1 643.62 KB
UM1720 UM1720: STM32Cube™ USB 主机库 3.1 722.27 KB
UM1853 UM1853: STM32CubeF1 Nucleo demonstration firmware 1.0 975.74 KB
UM1734 UM1734: STM32Cube USB 设备库 4.0 1.19 MB


Description 版本 文档大小
STM32 Embedded Software overview 2.5 342.73 KB
STM32 and STM8 embedded software solutions 7.0 3.12 MB


Description 版本 文档大小
STM32Cube eases STM32 development 18.12 1.13 MB
Description 版本 文档大小
STM32 32-bit MCU family - Leading supplier of Arm® Cortex®-M microcontrollers 18.02 2.06 MB


Description 版本 文档大小
SLA0048 SLA0048: Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 5.2 87.58 KB


Software Development Tools
Support and Applications


型号 General Description Software Version Supplier Marketing Status GitHub link 下载
STM32CubeF1 STM32Cube MCU Package for STM32 F1 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) 1.7.0 ST Active -
Patch_CubeF1 Patch V1.7.1, for STM32CubeF1 V1.7.0 Maintenance Release to fix issues with HAL\LL drivers 1.7.1 ST Active -