Skip to content

Releases: STMicroelectronics/stm32mp2-low-power

v1.2.0

Choose a tag to compare

@patrickdelaunay patrickdelaunay released this 27 Oct 13:03
v1.2.0

The following changes since commit 4dec370:

Increase the firmware size (2026-06-03 18:09:15 +0200)

are available in the Git repository at:

https://github.com/STMicroelectronics/stm32mp2-low-power tags/v1.2.0

for you to fetch changes up to 9e46607:

Fix compilation issue with STM32MP2 HAL driver v1.4.0 (2026-10-05 11:19:25 +0200)


Release v1.2.0


Patrick Delaunay (9):
Fix backtrace trace
build: compute length of m_remaining section
build: remove executable tag for data section
Increase m_text size
Add save/restore of RCC configuration
Add PWR config
Update STM32MP2xx HAL version
Prepare v1.2.0
Fix compilation issue with STM32MP2 HAL driver v1.4.0

Thomas Bourgoin (1):
Fix SCB restore context

cmake/stm32mp2_lp_version.cmake | 2 +-
config/config_base.cmake | 8 ++++----
include/stm32mp2xx_hal_conf.h | 2 +-
linker_scripts/stm32mp2xx_RETRAM_m33.ld | 9 +++++----
src/backtrace.c | 2 +-
src/main.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++---------------
6 files changed, 63 insertions(+), 26 deletions(-)

v1.1.0

Choose a tag to compare

@patrickdelaunay patrickdelaunay released this 10 Jun 13:53
v1.1.0

The following changes since commit 9eab3bb:

Prepare v1.0.0 (2026-01-07 14:15:59 +0100)

are available in the Git repository at:

https://github.com/STMicroelectronics/stm32mp2-low-power tags/v1.1.0

for you to fetch changes up to 4dec370:

Increase the firmware size (2026-06-03 18:09:15 +0200)


Release v1.1.0


Ludovic Barre (2):
build: add NOLOAD attribute to avoid to select sections in binary
build: add assert on text size

Patrick Delaunay (25):
Remove unneeded compile option
Remove unneeded CXX option
Add compile option to select cortex-m33
Compile with recommended optimization level
Simplify default value for STM32_DDR_SIZE
Fix SystemCoreClock value
Fix ddr_risaf_cfg struct
Revert "Add CPU1 wake up for CPU2"
Manage HW flag for low power sequence
Add console flush
Add LPFW information for low power mode
update cmake target_compile_definitions
Fix restore_RISAF4 function
Update ddr_init function
Simplify support of STM32MP2_LP_FW_LPMODE_INIT
Allow aborted Standby mode
Remove call of HAL_DDR_SR_Exit for Standby exit
Prepare v1.1.0
Update STM32MP2xx HAL version
Force DDRSHR in RCC_DDRITFCFGR
Call HAL_DDR_SetRetentionAreaBase after firmware init
Use HAL PWR function HAL_PWR_HasSystemBeenInStandby
Fix UART support during Standby
Add support of power OFF
Increase the firmware size

Thomas Bourgoin (4):
Dump fault exception context
Add _getpid and _kill syscalls for backtrace support
Print backtrace of execution context when a fault is detected
Display version of CMSIS device and HAL drivers used to compile the LP firmware

CMakeLists.txt | 7 ++-
cmake/stm32mp2_lp_version.cmake | 2 +-
cmake/toolchain_GNUARM.cmake | 22 ++-----
config/config_base.cmake | 14 +++--
include/backtrace.h | 23 +++++++
include/version.h.in | 14 ++++-
linker_scripts/stm32mp2xx_RETRAM_m33.ld | 15 +++--
src/backtrace.c | 69 +++++++++++++++++++++
src/main.c | 572 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------
src/stm32mp2xx_it.c | 237 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/syscalls.c | 11 ++++
src/system_stm32mp2xx.c | 2 +-
12 files changed, 636 insertions(+), 352 deletions(-)
create mode 100644 include/backtrace.h
create mode 100644 src/backtrace.c

v1.0.0

Choose a tag to compare

@patrickdelaunay patrickdelaunay released this 06 Feb 12:48
v1.0.0

The following changes since commit 79ba4ed:

Initial Commit (2024-11-12 14:36:27 +0100)

are available in the Git repository at:

https://github.com/STMicroelectronics/stm32mp2-low-power tags/v1.0.0

for you to fetch changes up to 9eab3bb:

Prepare v1.0.0 (2026-01-07 14:15:59 +0100)


Release v1.0.0


Ludovic Barre (3):
add cmake base for low power firmware
add simply firmware loadable in RETRAM
build: fix: ninja issue, add custom target to generate fw binary

Patrick Delaunay (35):
CONTRIBUTING: add contributing guide to STMicroelectronics/stm32mp2-low-power repository
SECURITY: add security guide to STMicroelectronics/stm32mp2-low-power repository
CODE_OF_CONDUCT: add contributor covenant code of conduct to stm32mp2-low-power repository
License: add license file to stm32mp2-low-power repository
Normalize line endings
CMake Style Guidelines.
Cmake: configure CMAKE_BUILD_TYPE
Remove context initialization for HAL_DDR_SaveRetentionData
System reset on fatal errors
Misc: add .checkpatch.conf
Cosmetic: rework code to avoid coding style error
Add result in stm32mp2_lp_fw_exec
Add version management with CMake
Support INIT request
Prepare v0.3.0
Add flag for SoC with a 16bits DDR interface
Increase size of m_text region
cosmetic: remove extra space
Clear magic after stm32mp2_lp_fw_exec
Fix system init to copies initialized data from text section
Reduced size of generated binary
Add stm32mp2_lp_fw_clear_data in API
Add uart output for message
Save the ddrphy retregs only for init
Prepare v0.4.0
Fix of multitarget: remove STM32MP2_LP_SOC
Replace stm32cubemp2 package by stm32mp2xx-hal-driver and cmsis packages
Replace stm32cubemp2 package by stm32mp2xx-hal-driver and cmsis packages
Use HAL v1.3.0 and remove dependency with stm32ddrfw_util
Check GIT support in CMake for version management
Prepare v0.5.0
Add CPU1 wake up for CPU2
Temporary workaround for LL_EXTI_DisableEventCidFiltering issue
Add DSB before call of low power HAL functions
Prepare v1.0.0

Simeon Marijon (3):
Introduce LP firmware API
Add DDR retention and low power modes
Support of multitarget: params from TFM

Thomas Bourgoin (4):
clear CPU2 flags before entering Standby or Stop2
Check return code of HAL_DDR_xxx function
Set DDR mode ad HAL_DDR_SW_SELF_REFRESH_MODE in platform_init()
Keep the DDR shared in RCC

.checkpatch.conf | 82 +++++++++
.gitattributes | 2 +
.gitignore | 11 ++
CMakeLists.txt | 157 +++++++++++++++++
CODE_OF_CONDUCT.md | 73 ++++++++
CONTRIBUTING.md | 30 ++++
License.md | 6 +
SECURITY.md | 8 +
cmake/cmsis_core.cmake | 30 ++++
cmake/cmsis_core_CMakeLists.txt | 21 +++
cmake/cmsis_device_mp2.cmake | 30 ++++
cmake/cmsis_device_mp2_CMakeLists.txt | 21 +++
cmake/stm32mp2_lp_version.cmake | 33 ++++
cmake/stm32mp2xx_hal_driver.cmake | 30 ++++
cmake/stm32mp2xx_hal_driver_CMakeLists.txt | 21 +++
cmake/toolchain_GNUARM.cmake | 72 ++++++++
config/config_base.cmake | 62 +++++++
include/cmsis.h | 29 ++++
include/main.h | 22 +++
include/partition_stm32mp2xx.h | 937 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
include/stm32mp2xx_hal_conf.h | 445 ++++++++++++++++++++++++++++++++++++++++++++++++
include/version.h.in | 17 ++
interface/include/stm32mp2_lp_fw_api.h | 77 +++++++++
interface/src/stm32mp2_lp_fw_api.c | 131 ++++++++++++++
linker_scripts/stm32mp2xx_RETRAM_m33.ld | 174 +++++++++++++++++++
src/main.c | 644 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/startup_stm32mp2xx_m33.S | 896 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/stm32mp2xx_it.c | 128 ++++++++++++++
src/syscalls.c | 91 ++++++++++
src/system_stm32mp2xx.c | 296 ++++++++++++++++++++++++++++++++
30 files changed, 4576 insertions(+)
create mode 100644 .checkpatch.conf
create mode 100644 .gitattributes
create mode 100644 .gitignore
create mode 100644 CMakeLists.txt
create mode 100755 CODE_OF_CONDUCT.md
create mode 100755 CONTRIBUTING.md
create mode 100644 License.md
create mode 100755 SECURITY.md
create mode 100644 cmake/cmsis_core.cmake
create mode 100644 cmake/cmsis_core_CMakeLists.txt
create mode 100644 cmake/cmsis_device_mp2.cmake
create mode 100644 cmake/cmsis_device_mp2_CMakeLists.txt
create mode 100644 cmake/stm32mp2_lp_version.cmake
create mode 100644 cmake/stm32mp2xx_hal_driver.cmake
create mode 100644 cmake/stm32mp2xx_hal_driver_CMakeLists.txt
create mode 100644 cmake/toolchain_GNUARM.cmake
create mode 100644 config/config_base.cmake
create mode 100644 include/cmsis.h
create mode 100644 include/main.h
create mode 100644 include/partition_stm32mp2xx.h
create mode 100644 include/stm32mp2xx_hal_conf.h
create mode 100644 include/version.h.in
create mode 100644 interface/include/stm32mp2_lp_fw_api.h
create mode 100644 interface/src/stm32mp2_lp_fw_api.c
create mode 100644 linker_scripts/stm32mp2xx_RETRAM_m33.ld
create mode 100644 src/main.c
create mode 100644 src/startup_stm32mp2xx_m33.S
create mode 100644 src/stm32mp2xx_it.c
create mode 100644 src/syscalls.c
create mode 100644 src/system_stm32mp2xx.c