snippets: Add nordic-ppr-xip
This replacement for the `nordic-ppr-ram` snippet does the opposite: enable PPR execution in place from MRAM. Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
This commit is contained in:
parent
13bebdbf3a
commit
74f9f866f2
12
snippets/nordic-ppr-xip/README.rst
Normal file
12
snippets/nordic-ppr-xip/README.rst
Normal file
|
@ -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.
|
|
@ -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";
|
||||
};
|
8
snippets/nordic-ppr-xip/nordic-ppr-xip.overlay
Normal file
8
snippets/nordic-ppr-xip/nordic-ppr-xip.overlay
Normal file
|
@ -0,0 +1,8 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Nordic Semiconductor
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&cpuppr_vpr {
|
||||
status = "okay";
|
||||
};
|
8
snippets/nordic-ppr-xip/snippet.yml
Normal file
8
snippets/nordic-ppr-xip/snippet.yml
Normal file
|
@ -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
|
Loading…
Reference in a new issue