Application level demonstrations
UtilitiesMiddleware 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
USB Graphics
FAT file
system
UCPD
library
Hardware abstraction layer
APIs (HAL)
Board support package
(BSP)
Low-layer APIs
(LL)
Utilities
CMSISRTOS
Product status link
STM32CubeG0
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 130 examples for easy understanding
High quality HAL and low-layer API drivers using CodeSonar
®
static analysis tool
High quality low-layer APIs (LL) using CodeSonar
®
static analysis tool
STM32G0-dedicated middleware including USB Device, FatFS, RTOS and UCPD library
Free user-friendly license terms
Update mechanism that can be enabled by the user to be notified of new releases
STM32Cube MCU Package for STM32G0 Series with HAL, low-layer drivers and
dedicated middleware
STM32CubeG0
Data brief
DB3796 - Rev 1 - December 2018
For further information contact your local STMicroelectronics sales office.
www.st.com
1 Description
STM32Cube
is an STMicroelectronics original initiative to improve developers' productivity by reducing
development effort, time and cost. STM32Cube
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 STM32CubeG0 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
and UCPD power delivery).
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
®
:2012
guidelines with some documented exceptions (reports available on demand) and ISO/TS 16949. Furthermore,
ST-specific validation processes add a deeper-level qualification.
The STM32CubeG0 gathers in one single package all the generic embedded software components required to
develop an application on STM32G0 microcontrollers. Following STM32Cube
initiative, this set of components
is highly portable, not only within the STM32G0 Series but also to other STM32 Series. In addition, the low-layer
APIs provide an alternative, high-performance, low-footprint solution to the STM32CubeG0 HAL at the cost of
portability and simplicity.
HAL and LL APIs are available in open-source BSD license for user convenience.
STM32CubeG0
Description
DB3796 - Rev 1
page 2/6