Product overview
Description
STM32Cube is an STMicroelectronics original initiative to make developers' lives easier by reducing development effort, time and cost. STM32Cube is the implementation of STM32CubeF1 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 STM32 touch sensing). All embedded software utilities are delivered with a full set of examples running on STMicroelectronics boards.
The STM32CubeF1 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 drivers have been developed in compliance with V‑Model requirements for design, implementation, and tests. Furthermore, the STMicroelectronics-specific validation process adds a deeper qualification level, such as compliance with MISRA C®:2004 guidelines, and elimination of possible runtime errors with the CodeSecure® CodeSonar® static analysis tool. Reports are available on demand.
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 LL 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.
-
All 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 120 examples for easy understanding
- HAL and LL APIs, developed in compliance with MISRA C®:2004 guidelines, and elimination of possible runtime errors with CodeSecure® CodeSonar® static analysis tool
- STM32CubeF1-dedicated middleware including USB Device, and touch sensing library
- Free-of-charge, user-friendly license terms
- Update mechanism with new-release notification capability
Get Software
| Part Number | General Description | Latest version | ECCN (EU) | ECCN (US) | Supplier | Cube environment | Download | All versions |
|---|---|---|---|---|---|---|---|---|
| STM32CubeF1 | STM32Cube MCU Package for STM32F1 series | 1.8.0 | NEC | EAR99 | ST | HAL1 | Get from GitHub | |
| Patch_CubeF1 | Patch for STM32CubeF1 | 1.8.7 | NEC | EAR99 | ST |
Recommended Tools & Software
All tools & software
All resources
| Resource title | Version | Latest update | Actions | Details | Download |
|---|
Product Specifications (1)
| Resource title | Version | Latest update | Actions | Options | ||
|---|---|---|---|---|---|---|
| 4.0 | 26 Mar 2026 | 26 Mar 2026 |
Application Notes (2)
| Resource title | Version | Latest update | Actions | Options | ||
|---|---|---|---|---|---|---|
| 5.0 | 06 Apr 2018 | 06 Apr 2018 | ||||
| 2.0 | 17 Jul 2017 | 17 Jul 2017 |
User Manuals (5 of 11)
| Resource title | Version | Latest update | Actions | Options | ||
|---|---|---|---|---|---|---|
| 3.0 | 04 Feb 2020 | 04 Feb 2020 | ||||
| 4.0 | 28 May 2015 | 28 May 2015 | ||||
| 3.0 | 28 Oct 2019 | 28 Oct 2019 | ||||
| 3.0 | 20 Feb 2019 | 20 Feb 2019 | ||||
| 3.0 | 14 Apr 2017 | 14 Apr 2017 | ||||
| 2.0 | 10 Jul 2019 | 10 Jul 2019 | ||||
| 3.0 | 28 May 2015 | 28 May 2015 | ||||
| 2.0 | 09 Jun 2015 | 09 Jun 2015 | ||||
| 3.0 | 28 May 2015 | 28 May 2015 | ||||
| 1.0 | 09 Feb 2015 | 09 Feb 2015 | ||||
| 4.0 | 20 Feb 2019 | 20 Feb 2019 |
Presentations (3)
| Resource title | Version | Latest update | Actions | Options | ||
|---|---|---|---|---|---|---|
| 1.0 | 10 Aug 2022 | 10 Aug 2022 | ||||
| 1.0 | 21 Mar 2024 | 21 Mar 2024 | ||||
| 1.0 | 10 Aug 2022 | 10 Aug 2022 |
Brochures (1)
| Resource title | Version | Latest update | Actions | Options | ||
|---|---|---|---|---|---|---|
| 1.0 | 29 Jul 2020 | 29 Jul 2020 |
License Agreement (1)
| Resource title | Version | Latest update | Actions | Options | ||
|---|---|---|---|---|---|---|
| 9.0 | 25 Feb 2026 | 25 Feb 2026 |
Additional License Terms (1)
| Resource title | Version | Latest update | Actions | Options | ||
|---|---|---|---|---|---|---|
| HTML | 1.0 | 18 Apr 2023 | 18 Apr 2023 |
Security Advisory (5)
| Resource title | Version | Latest update | Actions | Options | ||
|---|---|---|---|---|---|---|
| 1.0 | 31 Mar 2025 | 31 Mar 2025 | ||||
| 1.0 | 15 Apr 2025 | 15 Apr 2025 | ||||
| 1.0 | 23 Feb 2025 | 23 Feb 2025 | ||||
| 1.0 | 09 Apr 2024 | 09 Apr 2024 | ||||
| 1.0 | 04 Apr 2025 | 04 Apr 2025 |