Embedded software for STM32L0 series (HAL, Low-Layer APIs and CMSIS drivers, USB, File system, RTOS, Touch Sensing - 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 is the implementation of STMCube™ that covers STM32 microcontrollers.

STM32Cube includes the STM32CubeMX which is a graphical software configuration tool that allows generating C initialization code using graphical wizards. It also comprises the STM32CubeL0 platform composed of the STM32Cube HAL and the Low Layer (LL) APIs, plus a consistent set of middleware components (RTOS, USB, FatFS and STM32 touch sensing). All embedded software utilities come with a full set of examples running on STMicroelectronics boards.

The STM32Cube HAL is an STM32 embedded software stack that ensures a maximized portability across 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 guidelines and ISO/TS 16949. On top of that, ST specific validation processes add a deeper-level qualification.

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

STM32CubeL0 is fully compatible with STM32CubeMX code generator that allows generating initialization code. The 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
  • More than 100 examples for easy understanding
  • High quality HAL using CodeSonar® static analysis tool
  • High quality Low Layer APIs (LL) using CodeSonar® static analysis tool
  • STM32L0-specific middleware including USB Device and touch sensing library
  • Free user-friendly license terms
  • Update mechanism that can be enabled by the user to be notified of new releases





Description Version Size
DB2318 DB2318: STM32Cube™ embedded software for STM32L0 series including HAL and Low Layer drivers, USB, File System, RTOS and Touch sensing 2.0 203 KB
Description Version Size
AN4636 AN4636: Demonstration on LC sensor for gas or water metering usage based on STM32L073Z-EVAL 1.0 1 MB
AN4725 AN4725: STM32Cube firmware examples for STM32L0 Series 4.0 428 KB
Description Version Size
UM1749 UM1749: Description of STM32L0 HAL and Low Layer drivers 6.0 31 MB
UM1721 UM1721: 在 STM32Cube 上开发 FatFs 相关应用 2.5 563 KB
UM1722 UM1722: 在具有 RTOS 的 STM32Cube 上开发应用 2.5 703 KB
UM1913 UM1913: Developing applications on STM32Cube with STMTouch® touch sensing library 4.0 2 MB
UM1754 UM1754: Getting started with STM32CubeL0 for STM32L0 Series 5.0 502 KB
UM1734 UM1734: STM32Cube USB 设备库 3.4 1 MB
UM1769 UM1769: STM32CubeL0 Nucleo demonstration firmware 1.0 755 KB
UM2021 UM2021: STM32CubeL0 Nucleo-32 demonstration firmware 1.0 489 KB
UM2023 UM2023: STM32CubeL0 STM32L073Z-EVAL demonstration firmware 1.0 3 MB
UM1810 UM1810: STM32L0 Discovery demonstration firmware 1.0 709 KB


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


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 18.0 1 MB
STM32L series - Ultra-low-power 32-bit MCUs 16.4 3 MB
STM32L0 Series - Ultra-low-power MCUs - Tailored to your needs 17.3 1 MB


Description Version Size
SLA0048 SLA0048: Mix Liberty + OSS + 3rd- party V1 - SOFTWARE LICENSE AGREEMENT 2.19 113 KB


Software Development Tools
MCUs Embedded Software


型号 Software Version Marketing Status Supplier Order from ST
STM32CubeL0 1.9.0 Active ST