Skip to content

Commit 93ee13a

Browse files
committed
[M2351] Change secure flash/SRAM to 256KB/32KB as default
This is to compilant with CMSIS pack.
1 parent c3c661d commit 93ee13a

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

targets/TARGET_NUVOTON/TARGET_M2351/device/TOOLCHAIN_ARM_MICRO/partition_M2351_sub.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
/* Secure flash size: 256 KB */
1515
#define NU_TZ_SECURE_FLASH_SIZE 0x40000
1616

17-
/* Secure SRAM size: 24 KB */
18-
#define NU_TZ_SECURE_SRAM_SIZE 0x6000
17+
/* Secure SRAM size: 32 KB */
18+
#define NU_TZ_SECURE_SRAM_SIZE 0x8000
1919

2020
/* NSC region size: 4 KB */
2121
#define NU_TZ_NSC_REGION_SIZE 0x1000

targets/TARGET_NUVOTON/TARGET_M2351/device/TOOLCHAIN_ARM_STD/partition_M2351_sub.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
/* Secure flash size: 256 KB */
1515
#define NU_TZ_SECURE_FLASH_SIZE 0x40000
1616

17-
/* Secure SRAM size: 24 KB */
18-
#define NU_TZ_SECURE_SRAM_SIZE 0x6000
17+
/* Secure SRAM size: 32 KB */
18+
#define NU_TZ_SECURE_SRAM_SIZE 0x8000
1919

2020
/* NSC region size: 4 KB */
2121
#define NU_TZ_NSC_REGION_SIZE 0x1000

targets/TARGET_NUVOTON/TARGET_M2351/device/TOOLCHAIN_GCC_ARM/partition_M2351_sub.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
/* Secure flash size: 256 KB */
1515
#define NU_TZ_SECURE_FLASH_SIZE 0x40000
1616

17-
/* Secure SRAM size: 24 KB */
18-
#define NU_TZ_SECURE_SRAM_SIZE 0x6000
17+
/* Secure SRAM size: 32 KB */
18+
#define NU_TZ_SECURE_SRAM_SIZE 0x8000
1919

2020
/* NSC region size: 4 KB */
2121
#define NU_TZ_NSC_REGION_SIZE 0x1000

targets/TARGET_NUVOTON/TARGET_M2351/device/TOOLCHAIN_IAR/partition_M2351_sub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
/* Secure flash size: 256 KB */
44
define exported symbol NU_TZ_SECURE_FLASH_SIZE = 0x40000
55

6-
/* Secure SRAM size: 24 KB */
7-
define exported symbol NU_TZ_SECURE_SRAM_SIZE = 0x6000
6+
/* Secure SRAM size: 32 KB */
7+
define exported symbol NU_TZ_SECURE_SRAM_SIZE = 0x8000
88

99
/* NSC region size: 4 KB */
1010
define exported symbol NU_TZ_NSC_REGION_SIZE = 0x1000

0 commit comments

Comments
 (0)