Browse Source

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>
pull/70393/head
Grzegorz Swiderski 1 year ago committed by Fabio Baltieri
parent
commit
74f9f866f2
  1. 12
      snippets/nordic-ppr-xip/README.rst
  2. 17
      snippets/nordic-ppr-xip/boards/nrf54h20dk_nrf54h20_cpuapp.overlay
  3. 8
      snippets/nordic-ppr-xip/nordic-ppr-xip.overlay
  4. 8
      snippets/nordic-ppr-xip/snippet.yml

12
snippets/nordic-ppr-xip/README.rst

@ -0,0 +1,12 @@ @@ -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
snippets/nordic-ppr-xip/boards/nrf54h20dk_nrf54h20_cpuapp.overlay

@ -0,0 +1,17 @@ @@ -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

@ -0,0 +1,8 @@ @@ -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

@ -0,0 +1,8 @@ @@ -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…
Cancel
Save