File tree Expand file tree Collapse file tree 8 files changed +128
-0
lines changed
Expand file tree Collapse file tree 8 files changed +128
-0
lines changed Original file line number Diff line number Diff line change 1+ .. _nordic-flpr-xip :
2+
3+ Nordic FLPR snippet with execution in place (nordic-flpr-xip)
4+ #############################################################
5+
6+ Overview
7+ ********
8+
9+ This snippet allows users to build Zephyr with the capability to boot Nordic FLPR
10+ (Fast Lightweight Peripheral Processor) from application core.
11+ FLPR code is to be executed from RRAM, so the FLPR image must be built
12+ for the ``xip `` board variant, or with :kconfig:option: `CONFIG_XIP ` enabled.
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2024 Nordic Semiconductor
3+ * SPDX-License-Identifier: Apache-2.0
4+ */
5+
6+ / {
7+ soc {
8+ reserved-memory {
9+ #address-cells = <1>;
10+ #size-cells = <1>;
11+ cpuflpr_code_partition: image@165000 {
12+ /* FLPR core code partition */
13+ reg = <0x165000 DT_SIZE_K(96)>;
14+ };
15+ };
16+ };
17+ };
18+
19+ &uart30 {
20+ status = "reserved";
21+ };
22+
23+ &cpuflpr_vpr {
24+ execution-memory = <&cpuflpr_code_partition>;
25+ };
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2024 Nordic Semiconductor
3+ * SPDX-License-Identifier: Apache-2.0
4+ */
5+
6+ &cpuflpr_vpr {
7+ status = "okay";
8+ };
9+
10+ &cpuflpr_vevif_remote {
11+ status = "okay";
12+ };
Original file line number Diff line number Diff line change 1+ name : nordic-flpr-xip
2+ append :
3+ EXTRA_DTC_OVERLAY_FILE : nordic-flpr-xip.overlay
4+
5+ boards :
6+ nrf54l15pdk/nrf54l15/cpuapp :
7+ append :
8+ EXTRA_DTC_OVERLAY_FILE : boards/nrf54l15pdk_nrf54l15_cpuapp.overlay
Original file line number Diff line number Diff line change 1+ .. _nordic-flpr :
2+
3+ Nordic FLPR snippet with execution from SRAM (nordic-flpr)
4+ ##########################################################
5+
6+ Overview
7+ ********
8+
9+ This snippet allows users to build Zephyr with the capability to boot Nordic FLPR
10+ (Fast Lightweight Peripheral Processor) from application core.
11+ FLPR code is to be executed from SRAM, so the FLPR image must be built
12+ without the ``xip `` board variant, or with :kconfig:option: `CONFIG_XIP ` disabled.
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2024 Nordic Semiconductor
3+ * SPDX-License-Identifier: Apache-2.0
4+ */
5+
6+ / {
7+ soc {
8+ reserved-memory {
9+ #address-cells = <1>;
10+ #size-cells = <1>;
11+ cpuflpr_code_partition: image@165000 {
12+ /* FLPR core code partition */
13+ reg = <0x165000 DT_SIZE_K(96)>;
14+ };
15+ };
16+
17+ cpuflpr_sram_code_data: memory@20028000 {
18+ compatible = "mmio-sram";
19+ reg = <0x20028000 DT_SIZE_K(96)>;
20+ #address-cells = <1>;
21+ #size-cells = <1>;
22+ ranges = <0x0 0x20028000 0x18000>;
23+ };
24+ };
25+ };
26+
27+ &uart30 {
28+ status = "reserved";
29+ };
30+
31+ &cpuapp_sram {
32+ reg = <0x20000000 DT_SIZE_K(160)>;
33+ ranges = <0x0 0x20000000 0x28000>;
34+ };
35+
36+ &cpuflpr_vpr {
37+ execution-memory = <&cpuflpr_sram_code_data>;
38+ source-memory = <&cpuflpr_code_partition>;
39+ };
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2024 Nordic Semiconductor
3+ * SPDX-License-Identifier: Apache-2.0
4+ */
5+
6+ &cpuflpr_vpr {
7+ status = "okay";
8+ };
9+
10+ &cpuflpr_vevif_remote {
11+ status = "okay";
12+ };
Original file line number Diff line number Diff line change 1+ name : nordic-flpr
2+ append :
3+ EXTRA_DTC_OVERLAY_FILE : nordic-flpr.overlay
4+
5+ boards :
6+ nrf54l15pdk/nrf54l15/cpuapp :
7+ append :
8+ EXTRA_DTC_OVERLAY_FILE : boards/nrf54l15pdk_nrf54l15_cpuapp.overlay
You can’t perform that action at this time.
0 commit comments