STM32Cube is an STMicroelectronics original initiative to ease developers' life by reducing efforts, time and cost.
Classic CoreMW is a collection of middleware stacks and associated applications allowing RTOS management, File System operations and connectivity through USB and Ethernet. It is based on:
This package is exclusively published on GitHub (and is neither available in STM32CubeU5, STM32CubeMX nor STM32CubeIDE available on www.st.com). It contains the integration of the Classic CoreMW stacks with STM32U5 devices, allowing users to get quick access to pre-built projects integrating them.
git submodule
command. Please refer to the "How to use" section explaining how to clone this repository and how to get the latest updates.The STM32U5 Classic CoreMW package contains the following applications:
Middleware | Application | Short Description |
---|---|---|
FreeRTOS | FreeRTOS_SecureIOToggle_TrustZone | Shows how to use FreeRTOS when the TrustZone feature is enabled (TZEN=1) |
FreeRTOS | FreeRTOS_StopMode | Shows how to enter and exit low-power mode with CMSIS-RTOS API v2 |
FreeRTOS | FreeRTOS_Template | Provides a reference template based on the STM32Cube HAL API that can be used to build any firmware application using FreeRTOS |
ST USB Device | CDC_Standalone | Shows how to use USB device application based on the Device Communication Class (CDC) following the PSTN subprotocol |
ST USB Device | HID_Standalone | Shows a typical application where the STM32 MCU is enumerated as a HID device |
ST USB Host | HID_Standalone | Shows how to use USB host application based on the Human Interface Class (HID) to connect a mouse or a keyboard |
.ioc
files are delivered).This package has been developed and tested using the list of components detailed in the table below.
Name | Version |
---|---|
Cortex-M CMSIS | V5.6.0_cm33 |
STM32U5xx CMSIS | V1.0.0 |
STM32U5xx HAL | V1.0.0 |
BSP STM32U5xx NUCLEO | V1.0.0 |
BSP Common | V7.1.0 |
BSP mfxstm32l152 | V3.0.3 |
FreeRTOS | V10.3.1 (ST_Tag_31-August-2020) |
STM32 USB Device Library | V2.7.1 |
STM32 USB Host Library | V3.3.5 |
STM32 USBPD Core Library | V4.0.0 |
STM32 USBPD Device Library | u5_v3.0.0 |
This repository intrinsically contains the applications (projects and source files) located under folder ./Projects
. It also contains the CMSIS Core files under folder ./Drivers/CMSIS/Include
for size optimization reason. Other dependencies such as the HAL and BSP drivers, or the middleware libraries themselves are linked using the git submodule
command. Please check the instructions below for a proper use.
--recursive
has to be specified as shown below.git clone --recursive https://github.com/STMicroelectronics/stm32u5-classic-coremw-apps.git
stm32u5-classic-coremw-apps
as the current working directory).git pull
git submodule update --init --recursive
git clone
command, then the required components have to be collected manually by the user.Please refer to the CONTRIBUTING.md guide.