Skip to content

Commit 3548d38

Browse files
committed
M2351: Change TRNG security attribute to secure
1 parent c326e07 commit 3548d38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

targets/TARGET_NUVOTON/TARGET_M2351/device/partition_M2351.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ __STATIC_INLINE void FMC_NSBA_Setup(void)
258258
// </h>
259259
// <o.25> TRNG <0=> Secure <1=> Non-Secure
260260
*/
261-
#define SCU_INIT_PNSSET5_VAL 0xFFFFFFFF
261+
#define SCU_INIT_PNSSET5_VAL 0xFDFFFFFF
262262
/*
263263
PNSSET6
264264
*/
@@ -748,7 +748,7 @@ __STATIC_INLINE void SCU_Setup(void)
748748
//
749749
// <o.5> TRNG <0=> Secure <1=> Non-Secure
750750
*/
751-
#define NVIC_INIT_ITNS3_VAL 0xFFFFFFFF
751+
#define NVIC_INIT_ITNS3_VAL 0xFFFFFFDF
752752

753753

754754

0 commit comments

Comments
 (0)