forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This replacement for the `nordic-ppr-ram` snippet does the opposite: enable PPR execution in place from MRAM. Signed-off-by: Grzegorz Swiderski <[email protected]>
- Loading branch information
1 parent
13bebdb
commit 74f9f86
Showing
4 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.. _nordic-ppr-xip: | ||
|
||
Nordic boot PPR snippet with execution in place (nordic-ppr-xip) | ||
################################################################ | ||
|
||
Overview | ||
******** | ||
|
||
This snippet allows users to build Zephyr with the capability to boot Nordic PPR | ||
(Peripheral Processor) from another core. PPR code is to be executed from MRAM, | ||
so the PPR image must be built for the ``xip`` board variant, or with | ||
:kconfig:option:`CONFIG_XIP` enabled. |
17 changes: 17 additions & 0 deletions
17
snippets/nordic-ppr-xip/boards/nrf54h20dk_nrf54h20_cpuapp.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* Copyright (c) 2024 Nordic Semiconductor | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&cpuppr_ram3x_region { | ||
status = "okay"; | ||
}; | ||
|
||
&cpuppr_vpr { | ||
execution-memory = <&cpuppr_code_partition>; | ||
/delete-property/ source-memory; | ||
}; | ||
|
||
&uart135 { | ||
status = "reserved"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* Copyright (c) 2024 Nordic Semiconductor | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&cpuppr_vpr { | ||
status = "okay"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: nordic-ppr-xip | ||
append: | ||
EXTRA_DTC_OVERLAY_FILE: nordic-ppr-xip.overlay | ||
|
||
boards: | ||
nrf54h20dk/nrf54h20/cpuapp: | ||
append: | ||
EXTRA_DTC_OVERLAY_FILE: boards/nrf54h20dk_nrf54h20_cpuapp.overlay |