Skip to content

Commit a028067

Browse files
author
Jonathan Pallant (42 Technology)
committed
Change memory.x to spaces for indentation.
1 parent 24e4b5c commit a028067

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

nrf9160-hal/memory.x

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -4,40 +4,40 @@ the SPM is set to boot a non-secure application from the FLASH origin below. */
44

55
MEMORY
66
{
7-
/*
8-
* This is where the Bootloader, Secure Partition Manager or
9-
* Trusted-Firmware-M lives.
10-
*/
11-
SECURE_FLASH : ORIGIN = 0x00000000, LENGTH = 256K
12-
/*
13-
* This is where your non-secure Rust application lives. Note that SPM must agree this
14-
* is where your application lives, or it will jump to garbage and crash the CPU.
15-
*/
16-
FLASH : ORIGIN = 0x00050000, LENGTH = 768K
17-
/*
18-
* This RAM is reserved for the Secure-Mode code located in the `SECURE_FLASH` region.
19-
*/
20-
SECURE_RAM : ORIGIN = 0x20000000, LENGTH = 64K
21-
/*
22-
* This RAM is available to both the Cortex-M33 and the LTE core (well,
23-
technically anything between `0x2000_0000` and `0x2001_FFFF` is
24-
shareable, but we just gave the first 64 KiB to Secure Mode). Shared
25-
buffers must be placed here.
26-
*/
27-
SHARED_RAM : ORIGIN = 0x20010000, LENGTH = 64K
28-
/*
29-
* This RAM is available to your non-secure Rust application.
30-
*/
31-
RAM : ORIGIN = 0x20020000, LENGTH = 128K
7+
/*
8+
* This is where the Bootloader, Secure Partition Manager or
9+
* Trusted-Firmware-M lives.
10+
*/
11+
SECURE_FLASH : ORIGIN = 0x00000000, LENGTH = 256K
12+
/*
13+
* This is where your non-secure Rust application lives. Note that SPM must agree this
14+
* is where your application lives, or it will jump to garbage and crash the CPU.
15+
*/
16+
FLASH : ORIGIN = 0x00050000, LENGTH = 768K
17+
/*
18+
* This RAM is reserved for the Secure-Mode code located in the `SECURE_FLASH` region.
19+
*/
20+
SECURE_RAM : ORIGIN = 0x20000000, LENGTH = 64K
21+
/*
22+
* This RAM is available to both the Cortex-M33 and the LTE core (well,
23+
technically anything between `0x2000_0000` and `0x2001_FFFF` is
24+
shareable, but we just gave the first 64 KiB to Secure Mode). Shared
25+
buffers must be placed here.
26+
*/
27+
SHARED_RAM : ORIGIN = 0x20010000, LENGTH = 64K
28+
/*
29+
* This RAM is available to your non-secure Rust application.
30+
*/
31+
RAM : ORIGIN = 0x20020000, LENGTH = 128K
3232
}
3333

3434
SECTIONS
3535
{
36-
/* This section contains the buffers used by `libnrf_modem` to talk between the Cortex-M33 and the LTE core */
37-
.shared_ram (NOLOAD) : ALIGN(4)
38-
{
39-
. = ALIGN(4);
40-
*(.shared_ram .shared_ram.*);
41-
. = ALIGN(4);
42-
} > SHARED_RAM
36+
/* This section contains the buffers used by `libnrf_modem` to talk between the Cortex-M33 and the LTE core */
37+
.shared_ram (NOLOAD) : ALIGN(4)
38+
{
39+
. = ALIGN(4);
40+
*(.shared_ram .shared_ram.*);
41+
. = ALIGN(4);
42+
} > SHARED_RAM
4343
}

0 commit comments

Comments
 (0)