-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Set sram0 to represent the physical RAM in nRF5340 and nRF9160 DKs #24637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
b7323e1
c6948e4
1c3380f
536635c
3ffec9a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,9 +10,10 @@ | |
|
|
||
| / { | ||
| chosen { | ||
| zephyr,sram = &sram0; | ||
| zephyr,sram = &sram0_image; | ||
| zephyr,flash = &flash0; | ||
| zephyr,code-partition = &slot0_partition; | ||
| zephyr,sram-secure-partition = &sram0_s; | ||
| zephyr,sram-non-secure-partition = &sram0_ns; | ||
|
||
| }; | ||
| }; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,7 @@ | |
| * This file is included by both nRF5340 CPUAPP (Application MCU) | ||
| * and nRF5340 CPUNET (Network MCU). | ||
| * - 64 kB SRAM allocated as Shared memory (sram0_shared) | ||
| * - Region defined after the secure SRAM partition of CPUAPP | ||
| * - Region defined after the image SRAM of Application MCU | ||
|
||
| */ | ||
|
|
||
| / { | ||
|
|
@@ -17,10 +17,14 @@ | |
| zephyr,ipc_shm = &sram0_shared; | ||
| }; | ||
|
|
||
| /* SRAM allocated to shared memory */ | ||
| sram0_shared: memory@20070000 { | ||
| device_type = "memory"; | ||
| compatible = "mmio-sram"; | ||
| reg = <0x20070000 DT_SIZE_K(64)>; | ||
| reserved-memory { | ||
| #address-cells = <1>; | ||
| #size-cells = <1>; | ||
| ranges; | ||
|
|
||
| sram0_shared: memory@20070000 { | ||
| /* SRAM allocated to shared memory */ | ||
| reg = <0x20070000 0x10000>; | ||
| }; | ||
| }; | ||
| }; | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now the sentence is more "generic" (as long as we're using
zephyr,sramfor image ram, which we do in all ARM platforms AFAIK)