Skip to content

Commit ad738cc

Browse files
Change RAM address
1 parent cd7ff76 commit ad738cc

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

hal/mcxn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static void hal_sau_init(void)
6969
0);
7070

7171
/* Non-secure RAM */
72-
sau_init_region(2, 0x20000000, 0x2004FFFF, 0);
72+
sau_init_region(2, 0x20016000, 0x20065FFF, 0);
7373

7474
/* Peripherals */
7575
sau_init_region(3, 0x40000000, 0x4005FFFF, 0);

hal/mcxn.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
MEMORY
22
{
33
FLASH (rx) : ORIGIN = 0x10000000, LENGTH = @WOLFBOOT_KEYVAULT_ADDRESS@ - @ARCH_FLASH_OFFSET@
4-
RAM (rwx) : ORIGIN = 0x30000000, LENGTH = 0x20000 /* 128K */
5-
RAM_HEAP (rwx) : ORIGIN = 0x30020000, LENGTH = 0xE000 /* 56K */
4+
RAM (rwx) : ORIGIN = 0x30000000, LENGTH = 0x10000 /* 64K */
5+
RAM_HEAP (rwx) : ORIGIN = 0x30010000, LENGTH = 0x6000 /* 24K */
66
FLASH_KEYVAULT (rw) : ORIGIN = @WOLFBOOT_KEYVAULT_ADDRESS@, LENGTH = @WOLFBOOT_KEYVAULT_SIZE@
77
FLASH_NSC (rx) : ORIGIN = @WOLFBOOT_NSC_ADDRESS@, LENGTH = @WOLFBOOT_NSC_SIZE@
88
}

0 commit comments

Comments
 (0)