Skip to content

Commit 65e4e6c

Browse files
ahmadstmd3zd3z
authored andcommitted
STM32 : update Readme file
Merged README files to centralize documentation and avoid duplication. Signed-off-by: Ahmad EL JOUAID <[email protected]> Change-Id: I4e313797144aa13ec5d2d55187b8e2d967c3cb95 (cherry picked from commit 5bd762ff21232b47a28b1a4a4842f0d8b7648eb8)
1 parent bb701d5 commit 65e4e6c

File tree

10 files changed

+271
-248
lines changed

10 files changed

+271
-248
lines changed

docs/platform/stm/b_u585i_iot02a/readme.rst

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
-------
2+
STM32U5
3+
-------
4+
5+
TF-M is supported on STM32U5 family
6+
7+
https://www.st.com/en/microcontrollers-microprocessors/stm32u5-series.html
8+
9+
10+
Directory content
11+
^^^^^^^^^^^^^^^^^
12+
13+
- stm/common/stm32u5xx/stm32u5xx_hal:
14+
Content from https://github.com/STMicroelectronics/stm32u5xx_hal_driver.git
15+
16+
- stm/common/stm32u5xx/Device:
17+
Content from https://github.com/STMicroelectronics/cmsis_device_u5.git
18+
19+
- stm/common/stm32u5xx/bl2:
20+
stm32l5xx bl2 code specific from https://github.com/STMicroelectronics/STM32CubeU5.git (Projects/B-U585I-IOT02A/Applications/TFM)
21+
22+
- stm/common/stm32u5xx/secure:
23+
stm32l5xx Secure porting adaptation from https://github.com/STMicroelectronics/STM32CubeU5.git (Projects/B-U585I-IOT02A/Applications/TFM)
24+
25+
- stm/common/stm32u5xx/boards:
26+
Adaptation for stm32 board using stm32l5xx soc from https://github.com/STMicroelectronics/STM32CubeU5.git (Projects/B-U585I-IOT02A/Applications/TFM)
27+
28+
29+
Specific Software Requirements
30+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31+
32+
STM32_Programmer_CLI is required.(see https://www.st.com/en/development-tools/stm32cubeprog.html)
33+
34+
35+
136
B_U585I_IOT02A
237
^^^^^^^^^^^^^^^
338

@@ -75,6 +110,25 @@ the attestation service in Isolation Level 1 on Linux.
75110
ninja -C . -j 8
76111
77112
113+
Write software on target
114+
^^^^^^^^^^^^^^^^^^^^^^^^
115+
In secure build folder directory api_ns:
116+
117+
- ``postbuild.sh``: Updates regression.sh and TFM_UPDATE.sh scripts according to flash_layout.h
118+
- ``regression.sh``: Sets platform option bytes config and erase platform
119+
- ``TFM_UPDATE.sh``: Writes bl2, secure, and non secure image in target
120+
121+
122+
Connect board to USB and Execute the 3 scripts in following order to update platform:
123+
postbuild.sh, regression.sh, TFM_UPDATE.sh
124+
125+
The virtual com port from STLINK is used for TFM log and serial port configuration should be:
126+
127+
- Baud rate = 115200
128+
- Data = 8 bits
129+
- Parity = none
130+
- Stop = 1 bit
131+
- Flow control = none
78132

79133
-------------
80134

docs/platform/stm/common/stm32h5xx/readme.rst

Lines changed: 0 additions & 66 deletions
This file was deleted.

docs/platform/stm/common/stm32l5xx/readme.rst

Lines changed: 0 additions & 64 deletions
This file was deleted.

docs/platform/stm/common/stm32u5xx/readme.rst

Lines changed: 0 additions & 58 deletions
This file was deleted.

docs/platform/stm/common/stm32wbaxx/readme.rst

Lines changed: 0 additions & 47 deletions
This file was deleted.

docs/platform/stm/index.rst

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,16 @@ This document contains SOC and boards supported by stm32.
66

77
.. toctree::
88
:maxdepth: 1
9-
:caption: SOC
9+
:caption: SOC and Boards
1010
:glob:
1111

12-
common/stm*/**
12+
b_u585i_iot02a/readme.rst
13+
nucleo_l552ze_q/readme.rst
14+
stm32l562e_dk/readme.rst
15+
stm32h573i_dk/readme.rst
16+
stm32wba65i-dk/readme.rst
1317

14-
.. toctree::
15-
:maxdepth: 1
16-
:caption: Boards
17-
:glob:
18-
19-
nucleo*/**
20-
stm32*/**
21-
b_*/**
2218

2319
--------------
2420

25-
*Copyright (c) 2021, stmicroelectronics All rights reserved.*
21+
*Copyright (c) 2021 - 2025, stmicroelectronics All rights reserved.*

0 commit comments

Comments
 (0)