aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf52840/memory.x
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2023-10-19 09:29:20 +0200
committerUlf Lilleengen <[email protected]>2023-10-19 09:29:20 +0200
commitc7803bb8f4e184b2f0beb88ef9adea6443d0319a (patch)
treea984272c82b770dec72f0c505a96d38adad5af2c /examples/nrf52840/memory.x
parent683d5c30669bbb788e60ee3dd31ce30ba14c2d69 (diff)
docs: add linker script comments
Existing comment were outdated. Provide an example configuration for using the softdevice with the nRF52 examples.
Diffstat (limited to 'examples/nrf52840/memory.x')
-rw-r--r--examples/nrf52840/memory.x7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/nrf52840/memory.x b/examples/nrf52840/memory.x
index 9b04edec0..15b492bce 100644
--- a/examples/nrf52840/memory.x
+++ b/examples/nrf52840/memory.x
@@ -1,7 +1,12 @@
1MEMORY 1MEMORY
2{ 2{
3 /* NOTE 1 K = 1 KiBi = 1024 bytes */ 3 /* NOTE 1 K = 1 KiBi = 1024 bytes */
4 /* These values correspond to the NRF52840 with Softdevices S140 7.0.1 */
5 FLASH : ORIGIN = 0x00000000, LENGTH = 1024K 4 FLASH : ORIGIN = 0x00000000, LENGTH = 1024K
6 RAM : ORIGIN = 0x20000000, LENGTH = 256K 5 RAM : ORIGIN = 0x20000000, LENGTH = 256K
6
7 /* These values correspond to the NRF52840 with Softdevices S140 7.3.0 */
8 /*
9 FLASH : ORIGIN = 0x00027000, LENGTH = 868K
10 RAM : ORIGIN = 0x20020000, LENGTH = 128K
11 */
7} 12}