@@ -4,40 +4,40 @@ the SPM is set to boot a non-secure application from the FLASH origin below. */
4
4
5
5
MEMORY
6
6
{
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
32
32
}
33
33
34
34
SECTIONS
35
35
{
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
43
43
}
0 commit comments