# STM32CubeU3 **Repository Path**: mirrors_STMicroelectronics/STM32CubeU3 ## Basic Information - **Project Name**: STM32CubeU3 - **Description**: This repository provides the STM32Cube MCU Firmware for the STM32U3 series, including the HAL-LL and the BSP Drivers, the CMSIS Core and the CMSIS Device interfaces, various MW libraries, and a set of projects running on the different STM32U3 evaluation kits provided by STMicroelectronics. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-03-05 - **Last Updated**: 2026-02-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # STM32CubeU3 MCU Firmware Package ![latest tag](https://img.shields.io/github/v/tag/STMicroelectronics/STM32CubeU3.svg?color=brightgreen) > [!IMPORTANT] > This repository has been created using the `git submodule` command. Please refer to the ["How to use"](README.md#how-to-use) section for more details. ## Overview **STM32Cube** is an STMicroelectronics original initiative to ease the developers life by reducing efforts, time and cost. **STM32Cube** covers the overall STM32 products portfolio. It includes a comprehensive embedded software platform, delivered for each STM32 series. * The CMSIS modules (core and device) corresponding to the ARM(tm) core implemented in this STM32 product * The STM32 HAL-LL drivers : an abstraction drivers layer, the API ensuring maximized portability across the STM32 portfolio * The BSP Drivers of each evaluation, discovery or nucleo board provided by this STM32 series * A consistent set of middleware libraries such as ThreadX, FileX, USBX, NetDuoX, OpenBootloader, USBPD, trustedfirmware, MbedTLS, Network Library... * A full set of software projects (basic examples, applications and/or demonstrations) for each board provided for this STM32 series. * A new LPBAM utility which is a software helper that assists STM32U3 users in the elaboration of LPBAM scenarios. * A development with three Toolchains and Compilers (IAR Embedded Workbench for ARM (EWARM), RealView Microcontroller Development Kit (MDK-ARM), and STM32CubeIDE). The **STM32CubeU3 MCU Package** projects are directly running on the STM32U3 series boards. You can find in each Projects/*Board name* directories a set of software projects (Applications/Demonstration/Examples). > [!NOTE] > ## Some middleware libraries and projects are unavailable in this repository > > In this repository, the middleware libraries listed below **along with** [this](Projects/README.md#list-of-unavailable-projects) list of projects (demos, applications, and examples) using them, are **not available** as they (the middleware libraries) are subject to some restrictive license terms requiring the user's approval via a "click thru" procedure. > * `./Middlewares/ST/STM32_Audio` > > If needed, they can be found inside the full firmware package available on our website `st.com` and downloadable from [here](https://www.st.com/en/embedded-software/stm32cubeu3.html#get-software). You will be prompted to login or to register in case you have no account. ## Release note Details about the content of this release are available in the release note [here](https://htmlpreview.github.io/?https://github.com/STMicroelectronics/STM32CubeU3/blob/master/Release_Notes.html). ## How to use This repository has been created using the `git submodule` command. Please check the instructions below for proper use. Please check also **the notes at the end of this section** for further information. 1. To **clone** this repository along with the linked submodules, option `--recursive` has to be specified as shown below. ```bash git clone --recursive https://github.com/STMicroelectronics/STM32CubeU3.git ``` 2. To get the **latest updates**, in case this repository is **already** on your local machine, issue the following **two** commands (with this repository as the **current working directory**). ```bash git pull git submodule update --init --recursive ``` 3. To use the **same firmware version** as the one available on [st.com](https://www.st.com/en/microcontrollers-microprocessors/stm32-32-bit-arm-cortex-mcus.html), issue the command below **after** specifying the targeted `vX.Y.Z` version. This should be done **after** the command(s) indicated in instruction (1) or in instruction (2) above have been successfully executed. ```bash git checkout vX.Y.Z # Specify the targeted vX.Y.Z version ``` 4. To **avoid** going through the above instructions and **directly** clone the same firmware version as the one available on [st.com](https://www.st.com/en/microcontrollers-microprocessors/stm32-32-bit-arm-cortex-mcus.html), issue the command below **after** specifying the targeted `vX.Y.Z` version. ```bash git clone --recursive --depth 1 --branch vX.Y.Z https://github.com/STMicroelectronics/STM32CubeU3.git ``` > [!NOTE] > * The latest version of this firmware available on GitHub may be **ahead** of the one available on [st.com](https://www.st.com/en/microcontrollers-microprocessors/stm32-32-bit-arm-cortex-mcus.html) or via [STM32CubeMX](https://www.st.com/en/development-tools/stm32cubemx.html). This is due to the **rolling release** process deployed on GitHub. Please refer to [this](https://github.com/STMicroelectronics/STM32Cube_MCU_Overall_Offer/discussions/21) post for more details. > * Option `--depth 1` specified in instruction (4) above is **not** mandatory. It may be useful to skip downloading all previous commits up to the one corresponding to the targeted version. > * If GitHub "Download ZIP" option is used instead of the `git clone` command, then the different submodules have to be collected and added **manually**. ## Boards available * STM32U3 * [NUCLEO-U385RG-Q](https://www.st.com/en/evaluation-tools/nucleo-u385rg-q.html) ## Troubleshooting Please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) guide.