You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
<li><p>Mathematical accelerator (Trigonometric and Filtering functions)</p></li>
<li><p>USB typeC, with Power Delivery</p></li>
</ul>
<p><strong>STM32Cube is an STMicroelectronics original initiative to ease developers life by reducing development efforts, time and cost.</mark></strong></p>
<p>STM32Cube covers STM32 portfolio.</p>
<p>STM32Cube Version 1.x includes:</p>
<ul>
<li>The STM32CubeMX, a graphical software configuration tool that allows to generate C initialization code using graphical wizards.</li>
<li>A comprehensive embedded software platform, delivered per series (such as <ahref="https://www.st.com/en/product/stm32cubeg4">STM32CubeG4</a> for STM32G4 series)
<ul>
<li>The STM32Cube HAL, an STM32 abstraction layer embedded software, ensuring maximized portability across STM32 portfolio.</li>
<li>Low-layer APIs (LL) offering a fast light-weight expert-oriented layer which is closer to the hardware than the HAL.</li>
<li>A consistent set of middleware components such as USB Device, USB Power Delivery, FAT file system and RTOS.</li>
<li>All embedded software utilities, delivered with a full set of examples.</li>
</ul></li>
</ul>
<p>The STM32Cube firmware solution offers a straightforward API with a modular architecture, making it simple to fine tune custom applications and scalable to fit most requirements.</p>
<p>The HAL (Hardware Abstraction Layer) and LL (Low Layers) drivers provided within this package support the <strong>STM32G431xx/41xx</strong>, <strong>STM32G471xx</strong>, <strong>STM32G473xx/83xx</strong> and <strong>STM32G474xx/84xx</strong> lines.</p>
<p>The HAL and LL drivers provided within this package are compliant with MISRA-C®:2012 guidelines, and have been reviewed with a static analysis tool to eliminate possible run-time errors. Reports are available on demand.</p>
<p>For <strong>quick getting started with the STM32CubeG4 firmware package</strong>, refer to <ahref="Documentation/STM32CubeG4GettingStarted.pdf">UM2492</a> and you can download firmware updates and all the latest documentation from <ahref="http://www.st.com/stm32cubefw">www.st.com/stm32cubefw</a></p>
<p>Here is the list of references to user documents:</p>
<ul>
<li><ahref="https://www.st.com/resource/en/user_manual/DM00550255.pdf">UM2492</a> : Getting started with STM32CubeG4 firmware package for STM32G4xx series</li>
<li><ahref="https://www.st.com/resource/en/user_manual/DM00610707.pdf">UM2570</a> : Description of STM32G4 HAL and LL Drivers</li>
<li>Restore the legacy HRTIM dead-time prescaler defines instead of the updated ones in STM32G4xx HAL Drivers V1.2.6 to preserve backward compatibility.</li>
</ul>
<h2id="contents">Contents</h2>
<ul>
<li><strong>HAL/LL Drivers</strong> updates
<ul>
<li><strong>HAL HRTIM</strong> updates
<ul>
<li>Restore the legacy HRTIM dead-time prescaler defines instead of the updated ones in STM32G4xx HAL Drivers V1.2.6 to preserve backward compatibility.</li>
</ul></li>
</ul></li>
<li>For the complete list of changes, please refer to the release notes of each firmware component</li>
</ul>
<h2id="contents-1">Contents</h2>
<h3id="projects">Projects</h3>
<p>The STM32CubeG4 Firmware package comes with a rich set of examples running on STMicroelectronics boards, organized by board and provided with preconfigured projects for the main supported toolchains.</p>
<p>The exhaustive list of projects is providedn this table (<ahref="Projects/STM32CubeProjectsList.html">STM32CubeProjectsList.html</a>).</p>
<table>
<caption>Projects :</caption>
<thead>
<trclass="header">
<th>Name</th>
<thstyle="text-align: left;">Version</th>
<thstyle="text-align: left;">Release notes</th>
</tr>
</thead>
<tbody>
<trclass="odd">
<td>Projects</td>
<tdstyle="text-align: left;">See Projects Release note for details</td>
<tdstyle="text-align: left;">RealView Microcontroller Development Kit (MDK-ARM) toolchain + ST-LINKV2 - Only template projects are migrated to Arm Compiler 6 with MDK-ARM 5.31 (“AC-like Warnings” mode).</td>
<li>General updates to fix known defects and enhancements implementation.</li>
<li><strong>SLA0044</strong> Legal terms updated to latest revision <strong>(Rev 6 / October 2025)</strong></li>
<li><strong>SLA0048</strong> Legal terms updated to latest revision <strong>(Rev 5 / October 2025)</strong></li>
<li>Add the “GPIO_Demo” example for all supported STM32G4xx Nucleo boards.
<ul>
<li>This example provides the source code for the demonstration binary package, available for download on the specific Nucleo webpage.</li>
</ul></li>
<li>Deliver <strong>SW_Security_Level.md</strong> file to state that STM32CubeG4 is classified to Security Level Low.</li>
</ul>
<h2id="contents-2">Contents</h2>
<ul>
<li><strong>SBOM</strong>
<ul>
<li>Deliver SBOM in <ahref="sbom_cdx.json">CycloneDX v1.5 format</a></li>
</ul></li>
<li><strong>CMSIS</strong> updates
<ul>
<li>Correct the definitions of the TIM_CCRx_CCRx constants for improved accuracy.</li>
<li>Allow redefinition of the VECT_TAB_OFFSET macro via IDE, makefile, or command line.</li>
<li>Fix the value of the DMAMUX_CxCR_DMAREQ_ID_Msk mask to ensure proper functionality.</li>
<li>Update the bitmask definition for RNG_CR_CED to correct previous inaccuracies.</li>
</ul></li>
<li><strong>HAL/LL Drivers</strong> updates
<ul>
<li>General updates to fix known defects and enhancements implementation.</li>
</ul></li>
<li><strong>HAL/LL DAC</strong> update
<ul>
<li>Fix the length parameter definition in HAL_ADCEx_MultiModeStart_DMA() API.</li>
<li>Add a busy-state check before aborting DMA.</li>
<li>Update internal temperature sensor values to 130 °C.</li>
<li>remove the assert in HAL_ADC_ConfigChannel() API.</li>
</ul></li>
<li><strong>HAL CRYP</strong> update
<ul>
<li>Remove the call to __HAL_UNLOCK() when no prior __HAL_LOCK() has been issued.</li>
</ul></li>
<li><strong>HAL DMA</strong> update
<ul>
<li>Correct channel index computation in DMA_CalcDMAMUXChannelBaseAndMask() function, adapting the channel number offset to the MCU category to ensure proper DMAMUX status mask handling.</li>
<li>Fix the discrepancy between the Reference Manual and HAL regarding DMA handling.</li>
</ul></li>
<li><strong>HAL FDCAN</strong> update
<ul>
<li>Fix GetIndex computation overflow in overwrite mode.</li>
<li>Fix the assertion issue when the number of Standard or Extended filters is zero.</li>
</ul></li>
<li><strong>HAL FMAC</strong> update
<ul>
<li>Complete DMA Abort sequence in HAL_FMAC_FilterStop() API.</li>
<li>Move the tmp variable declaration to the beginning of the I2C_TransferConfig() function.</li>
<li>Update HAL_I2C_IsDeviceReady() API to properly account for the number of trials.</li>
<li>Update the defined triggers used for I2C autonomous mode.</li>
</ul></li>
<li><strong>HAL SMBUS</strong> update
<ul>
<li>Update the HAL_SMBUS_IsDeviceReady() API to properly account for the number of trials.</li>
</ul></li>
<li><strong>HAL SPI</strong> update
<ul>
<li>Add units to physical measurement parameters.</li>
<li>Add note to HAL_SPI_Receive() API to clarify its behavior in master mode.</li>
</ul></li>
<li><strong>HAL TIM</strong> update
<ul>
<li>Fix the issue where complementary channels were systematically disabled by TIM_OCx_SetConfig() functions.</li>
<li>Update TIM_CCER_CCxE_MASK to support internal TIM Channels 5 and 6.</li>
<li>Fix update flag (UIF) clearing in TIM_Base_SetConfig() function.</li>
</ul></li>
<li><strong>HAL UART</strong> update
<ul>
<li>Provide an accurate position parameter in RxEventCallback when ReceptionToIdle mode is used with DMA and UART/DMA interrupt handling is delayed.</li>
<li>Fix transfer count underflow when using polling mode.</li>
</ul></li>
<li><strong>BSP Drivers</strong> updates
<ul>
<li>STM32G4xx_Nucleo:
<ul>
<li>Fix the COM check using an if statement when employing the register callback in the BSP_COM_Init() API.</li>
<li>Correct the BSP virtual COM port to print characters properly when the UART register callback is enabled.</li>
</ul></li>
</ul></li>
<li><strong>Projects</strong>
<ul>
<li>Modify the clock source for all FDCAN examples to use HSE instead of HSI.</li>
<li>Add the “GPIO_Demo” example for all supported STM32G4xx Nucleo boards.</li>
</ul></li>
<li>For the complete list of changes, please refer to the release notes of each firmware component</li>
</ul>
<h2id="contents-3">Contents</h2>
<h3id="projects-1">Projects</h3>
<p>The STM32CubeG4 Firmware package comes with a rich set of examples running on STMicroelectronics boards, organized by board and provided with preconfigured projects for the main supported toolchains.</p>
<p>The exhaustive list of projects is provided in this table (<ahref="Projects/STM32CubeProjectsList.html">STM32CubeProjectsList.html</a>).</p>
<table>
<caption>Projects :</caption>
<thead>
<trclass="header">
<th>Name</th>
<thstyle="text-align: left;">Version</th>
<thstyle="text-align: left;">Release notes</th>
</tr>
</thead>
<tbody>
<trclass="odd">
<td>Projects</td>
<tdstyle="text-align: left;">See Projects Release note for details</td>
<tdstyle="text-align: left;">RealView Microcontroller Development Kit (MDK-ARM) toolchain + ST-LINKV2 - Only template projects are migrated to Arm Compiler 6 with MDK-ARM 5.31 (“AC-like Warnings” mode).</td>
<li>General updates to fix known defects and enhancements implementation.</li>
<li>Code quality enhancment MISRA-C 2012.</li>
</ul></li>
<li><p><strong>HAL DAC</strong> update</p>
<ul>
<li>Improve management of connection selection vs buffer mode (add assert parameter check and comments).</li>
</ul></li>
<li><p><strong>HAL FMAC</strong> update</p>
<ul>
<li>Abort DMAIn/DMAOut in HAL_FMAC_FilterStop if configured.</li>
</ul></li>
<li><p><strong>HAL I2S</strong> update</p>
<ul>
<li>Update HAL I2S driver to remove ‘go to’ instruction.</li>
</ul></li>
<li><p><strong>HAL SPI</strong> update</p>
<ul>
<li>Check data size before changing state in reception API.</li>
</ul></li>
<li><p><strong>HAL UART</strong> update</p>
<ul>
<li>Correct DMA Rx abort procedure impact on ongoing Tx transfer in polling mode.</li>
</ul></li>
<li><p><strong>HAL USART</strong> update</p>
<ul>
<li>Improve the visibility of the SPI function support in HAL USART description.</li>
</ul></li>
<li><p><strong>HAL USB</strong> update</p>
<ul>
<li>Fix added to support bulk transfer in double buffer mode.</li>
</ul></li>
<li><p><strong>LL UCPD</strong> update</p>
<ul>
<li>Add LL UCPD API LL_UCPD_IsActiveFlag_RxErr().</li>
<li>Correct wording in some LL API LL_UCPD_IsActiveFlag_xxx function descriptions.</li>
</ul></li>
<li><p>For the complete list of changes, please refer to the release notes of each firmware component</p></li>
</ul>
<h2id="contents-4">Contents</h2>
<h3id="projects-2">Projects</h3>
<p>The STM32CubeG4 Firmware package comes with a rich set of examples running on STMicroelectronics boards, organized by board and provided with preconfigured projects for the main supported toolchains.</p>
<p>The exhaustive list of projects is provided in this table (<ahref="Projects/STM32CubeProjectsList.html">STM32CubeProjectsList.html</a>).</p>
<table>
<caption>Projects :</caption>
<thead>
<trclass="header">
<th>Name</th>
<thstyle="text-align: left;">Version</th>
<thstyle="text-align: left;">Release notes</th>
</tr>
</thead>
<tbody>
<trclass="odd">
<td>Projects</td>
<tdstyle="text-align: left;">See Projects Release note for details</td>