STMicroelectronics / stm32u5-classic-coremw-apps

Provide a set of applications for STM32U5xx series based on the STM32 Classic Core Middleware libraries.
Other
16 stars 6 forks source link
classic core middleware-application stm32 stm32cube-mcu-package stm32u5

STM32U5 Classic Core Middleware (CoreMW) MCU Firmware Package

latest tag

freertos usb_device usb_host

Description

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.

Note

List of applications

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

Note

Boards available

Development Toolchains and Compilers

Dependencies

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

How to use

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.


Note


git clone --recursive https://github.com/STMicroelectronics/stm32u5-classic-coremw-apps.git
git pull
git submodule update --init --recursive

Note

Known Limitations

Troubleshooting

Please refer to the CONTRIBUTING.md guide.