
1STM32CubeL0 main features
The STM32CubeL0 MCU Package runs on STM32 32-bit microcontrollers based on the Arm® Cortex® -M
processor.
STM32CubeL0 gathers together, in a single package, all the generic embedded software components required to
develop an application on STM32L0 Series microcontrollers. In line with the STM32Cube™ initiative, this set of
components is highly portable, not only within the STM32L0 Series but also to other STM32 series.
STM32CubeL0 is fully compatible with STM32CubeMX code generator that allows the user to generate
initialization code. The package includes the low-layer (LL) and the hardware abstraction layer (HAL) APIs that
cover the microcontroller hardware, together with an extensive set of examples running on STMicroelectronics
boards. The HAL and LL APIs are available in an open-source BSD license for user convenience.
The STM32CubeL0 MCU Package also contains a set of middleware components with the corresponding
examples. They come with very permissive license terms:
• Full USB device stack supporting many classes
– Device classes: HID, MSC, CDC, DFU
• CMSIS-RTOS implementation with FreeRTOS™ open source solution
• FAT file system based on open source FatFS solution
• STMTouch touch sensing solutions
A demonstration implementing all these middleware components is also provided in the STM32CubeL0 MCU
Package.
Note: Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
Figure 1. STM32CubeL0 firmware components
Application level demonstrations
Utilities
Middleware level(1)
HAL and LL APIs
(1) The set of middleware components depends on the product Series.
User
application
Evaluation
boards
Discovery
boards
STM32 Nucleo
boards
Dedicated
boards
FatFS RTOS
USB
Hardware abstraction layer APIs
(HAL)
Board Support Package (BSP) Low-lAyer APIs (LL)
Utilities
CMSIS
Touch library
UM1754
STM32CubeL0 main features
UM1754 - Rev 6 page 2/22