Repository navigation
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