-------------
Package name:
-------------
STM32CubeMX-phyFLEX-STM32MP2x.zip

-----------------
Date of creation:
-----------------
2025-12-23

----------------
Package content:
----------------
STM32CubeMX project-file (.ioc) for phyFLEX-STM32MP25x Libra Rapid Development Kit

This project was created with STM32CubeMX Version v6.16.0.
 => Consequently, OpenSTlinux setting is set automatically (in STM32CubeMX tool) to "openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11" manifest
    OpenSTLinux setting is only important when using the device tree code generation CubeMX tool.
    If you need to use a more recent version of OpenSTLinux, choose the "Migrate" option when opening the project.

----------------
Package Purpose:
----------------
The intention of those STM32CubeMX project files is to give customers the ability to use STM32CubeMX for their custom-specific pinmux conceptions.
Those projects also give the ability to use the STM32CubeMX tool for Software automatic code generation (device tree files).
In that case, note that the generated device tree code is incomplete ("User code" sections needs to be filled manually).
Also, the DDR generated configuration file DO NOT reflects the BSP DDR configuration.

The files contain the fixed pinmux, DDR configuration (4GiB by default), as well as system clocks used in our BSP:
- phyFLEX-STM32MP2x + Libra Development Board (PD-05036-x)

----------------------
Hardware declinations:
----------------------
As SOM can be equipped with different STM32MP2 SoC product line and/or different RAM/FLASH memory
"phyFLEX-STM32MP2x + Libra Board", are declined in standard Yocto "machines":
- stm32mp25x-phyflex-libra-rdk-1: PD-05036-001A (STM32MP257F 2GiB RAM / 8GiB eMMC/ 4kB EEPPROM / PCie)
- stm32mp25x-phyflex-libra-rdk-2: PD-05036-002A (STM32MP257F 4GiB RAM / 32iG eMMC/ 4kB EEPPROM / USB3 SS)

As there is not differences in the pin muxing configuration for those two Hardware, we only provide one CubeMX file for both board configuration:
"phyflex-stm32mp257f.ioc"

The DDR size parameters in this project reflect "stm32mp25x-phyflex-libra-rdk-2" machine (4GiB RAM).

--------------------------------------------------------------------------------------------
Procedure to create your own CubeMX project based on our phyflex-stm32mp257f project:
--------------------------------------------------------------------------------------------
1) Copy one of the project (.ioc) that we provide (the one which fit your need) and rename the file to match your project: <project>.ioc. For example: myboard.ioc.

2) Open this project with STM32CubeMX. Then save it. (the CubeMX project name is based on the .ioc file name and is updated as soon as you open and save the project).

3) Modify the project as you want (activation/deactivation of some IP, pinmuxing modifications).
But note that some pins are reserved for SOM functionnality only (eMMC, PHY Ethernet, ...), and the pin mux should not be modified for those pins !
To identify those pins reserved for the SOM functionnality, we have identify them with a "Signal name" starting with "SOM_".
Others available pins are identified with a "Signal name" starting with "FPSC_" that gives the FPSC Gamma pin function.

------------------------------------
Archive directories content details:
------------------------------------
phyflex-stm32mp257f.ioc                     -> STM32CubeMX project of "phyFLEX-STM32MP25x Libra Rapid Development Kit"

