diff options
| author | Ulf Lilleengen <[email protected]> | 2023-10-19 08:19:42 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-19 08:19:42 +0000 |
| commit | 035800bfbd2779f713e1b2117146d0d89269bcb4 (patch) | |
| tree | 3fc1499b1298bdd190d59796d025a147dd9764df /examples | |
| parent | d496a1213c70cdabf12c802e8d39ea6abbce6720 (diff) | |
| parent | c7803bb8f4e184b2f0beb88ef9adea6443d0319a (diff) | |
Merge pull request #2091 from embassy-rs/comment-memory-x
docs: add linker script comments
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/nrf52840-rtic/memory.x | 7 | ||||
| -rw-r--r-- | examples/nrf52840/memory.x | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/examples/nrf52840-rtic/memory.x b/examples/nrf52840-rtic/memory.x index 9b04edec0..15b492bce 100644 --- a/examples/nrf52840-rtic/memory.x +++ b/examples/nrf52840-rtic/memory.x | |||
| @@ -1,7 +1,12 @@ | |||
| 1 | MEMORY | 1 | MEMORY |
| 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 | } |
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 @@ | |||
| 1 | MEMORY | 1 | MEMORY |
| 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 | } |
