Skip to content

Commit 9a0541f

Browse files
committed
Platform: STM32WBA65I_DK: update flash layout inline description
Update the incline description comments in stm32wba65_dk flash_layout.h according to recent changes in the flash areas offset definitions. Signed-off-by: Etienne Carriere <[email protected]>
1 parent 5311973 commit 9a0541f

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

platform/ext/target/stm/stm32wba65i_dk/partition/flash_layout.h

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,26 @@
2121
*
2222
* Not supported
2323
*
24-
* Flash layout for stm32wba65i-dk without BL2 :
24+
* Flash layout for stm32wba65i-dk:
2525
*
26-
* 0x000_0000 OTP / NV counters area (8 KB)
27-
* 0x000_4000 Protected Storage Area (16 KB)
28-
* 0x000_8000 Internal Trusted Storage Area (16 KB)
29-
* 0x000_c400 Secure image (384 KB)
30-
* 0x006_c400 Non-secure image primary (512 KB)
26+
* 0x000_0000 Secure bootloader (data and firwmare) (96 KByte)
27+
* 0x001_8000 OTP / NV counters area (16 KB)
28+
* 0x001_c000 Protected Storage Area (16 KB)
29+
* 0x002_0000 Internal Trusted Storage Area (16 KB)
30+
* 0x002_4000 Secure primary image (384 KB)
31+
* 0x008_4000 Non-secure primary image (384 KB)
32+
* 0x00e_4000 Non-secure private storage (112 KB)
33+
* 0x010_0000 Secure secondary image (384 KB)
34+
* 0x016_0000 Non-secure secondary image (384 KB)
35+
* 0x01c_0000 Non-secure private storage #2 (256 KB)
36+
*
37+
* Note:
38+
* Secure primary image, Non-secure primary image,
39+
* Secure secondary image and non-secure secondary image
40+
* each include a 1kByte header and a 1kByte trialer
41+
* before/after the firmware image content.
3142
*/
3243

33-
3444
/* This header file is included from linker scatter file as well, where only a
3545
* limited C constructs are allowed. Therefore it is not possible to include
3646
* here the platform_retarget.h to access flash related defines. To resolve this
@@ -147,7 +157,7 @@
147157
/* The size of S partition */
148158
#define FLASH_S_PARTITION_SIZE (0x60000) /* 384 KB for S partition */
149159
/* The size of NS partition */
150-
#define FLASH_NS_PARTITION_SIZE (0x60000) /* 512 KB for NS partition */
160+
#define FLASH_NS_PARTITION_SIZE (0x60000) /* 384 KB for NS partition */
151161

152162
/* Non Volatile Counters definitions */
153163
#define FLASH_NV_COUNTERS_AREA_OFFSET (0x0000)

0 commit comments

Comments
 (0)