From 5ce82675df7e975acf152c5adf26d9b8b88be93a Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Fri, 29 Nov 2024 14:16:51 +0100 Subject: [PATCH] snippets: Remove the L05 and L10 emulation snippets The nRF54L05 and the nRF54L10 are now natively supported in NCS, as their own SoCs and as emulated targets in the nRF54L15 DK board. There is no longer need for those snippets. Signed-off-by: Carles Cufi --- .../app_dev/device_guides/nrf54l/index.rst | 1 - .../app_dev/device_guides/nrf54l/snippets.rst | 95 ------------------- snippets/emulated-nrf54l05/README.rst | 23 ----- .../boards/nrf54l15dk_nrf54l15_cpuapp.overlay | 52 ---------- snippets/emulated-nrf54l05/snippet.yml | 12 --- snippets/emulated-nrf54l10/README.rst | 23 ----- .../boards/nrf54l15dk_nrf54l15_cpuapp.overlay | 52 ---------- snippets/emulated-nrf54l10/snippet.yml | 12 --- 8 files changed, 270 deletions(-) delete mode 100644 doc/nrf/app_dev/device_guides/nrf54l/snippets.rst delete mode 100644 snippets/emulated-nrf54l05/README.rst delete mode 100644 snippets/emulated-nrf54l05/boards/nrf54l15dk_nrf54l15_cpuapp.overlay delete mode 100644 snippets/emulated-nrf54l05/snippet.yml delete mode 100644 snippets/emulated-nrf54l10/README.rst delete mode 100644 snippets/emulated-nrf54l10/boards/nrf54l15dk_nrf54l15_cpuapp.overlay delete mode 100644 snippets/emulated-nrf54l10/snippet.yml diff --git a/doc/nrf/app_dev/device_guides/nrf54l/index.rst b/doc/nrf/app_dev/device_guides/nrf54l/index.rst index 13716226490d..a6b65c95a24e 100644 --- a/doc/nrf/app_dev/device_guides/nrf54l/index.rst +++ b/doc/nrf/app_dev/device_guides/nrf54l/index.rst @@ -69,4 +69,3 @@ Ensure to check the revision of your nRF54L15 device to see if it is supported: testing_dfu vpr_flpr building_nrf54l - snippets diff --git a/doc/nrf/app_dev/device_guides/nrf54l/snippets.rst b/doc/nrf/app_dev/device_guides/nrf54l/snippets.rst deleted file mode 100644 index 59f0d54814e3..000000000000 --- a/doc/nrf/app_dev/device_guides/nrf54l/snippets.rst +++ /dev/null @@ -1,95 +0,0 @@ -.. _nRF54l_snippets: - -Snippets for nRF54L05 and nRF54L10 -################################## - -.. contents:: - :local: - :depth: 2 - -You can emulate the nRF54L05 and nRF54L10 targets on an nRF54L15 device using the following snippets: - -.. list-table:: - :header-rows: 1 - - * - Functionality - - Snippet name - - Compatible board targets - * - :ref:`emulated-nrf54l05` - - ``emulated-nrf54l05`` - - ``nrf54l15dk/nrf54l15/cpuapp`` - * - :ref:`emulated-nrf54l10` - - ``emulated-nrf54l10`` - - ``nrf54l15dk/nrf54l15/cpuapp`` - -.. important:: - You cannot use these snippets with the FLPR core because all memory, including RAM and RRAM, is allocated to the application core. - -Currently, using the snippets is supported only on the :ref:`zephyr:nrf54l15dk_nrf54l15` board. - -.. note:: - Trusted Firmware-M (TF-M) is not yet supported for nRF54L05 and nRF54L10 emulated targets. - -.. _emulated-nrf54l05: - -nRF54L05 snippet -**************** - -The ``emulated-nrf54l05`` snippet emulates the nRF54L05 target on an nRF54L15 device. - -You have the following options to add the ``emulated-nrf54l05`` snippet to the :term:`build configuration`: - -.. tabs:: - - .. group-tab:: west - - When building with west, use the following command pattern, where *board_target* corresponds to your board target and `` to your application image name: - - .. parsed-literal:: - :class: highlight - - west build --board *board_target* -- -D_SNIPPET="emulated-nrf54l05" - - .. group-tab:: CMake - - When building with CMake, add the following command to the CMake arguments: - - .. code-block:: console - - -D_SNIPPET="emulated-nrf54l05" [...] - - To build with the |nRFVSC|, specify ``-D_SNIPPET="emulated-nrf54l05" [...]`` in the **Extra CMake arguments** field. - - See :ref:`cmake_options` for more details. - -.. _emulated-nrf54l10: - -nRF54L10 snippet -**************** - -The ``emulated-nrf54l10`` snippet emulates the nRF54L10 target on an nRF54L15 device. - -You have the following options to add the ``emulated-nrf54l10`` snippet to the :term:`build configuration`: - -.. tabs:: - - .. group-tab:: west - - When building with west, use the following command pattern, where *board_target* corresponds to your board target and `` to your application image name: - - .. parsed-literal:: - :class: highlight - - west build --board *board_target* -- -D_SNIPPET="emulated-nrf54l10" - - .. group-tab:: CMake - - When building with CMake, add the following command to the CMake arguments: - - .. code-block:: console - - -D_SNIPPET="emulated-nrf54l10" [...] - - To build with the |nRFVSC|, specify ``-D_SNIPPET="emulated-nrf54l10" [...]`` in the **Extra CMake arguments** field. - - See :ref:`cmake_options` for more details. diff --git a/snippets/emulated-nrf54l05/README.rst b/snippets/emulated-nrf54l05/README.rst deleted file mode 100644 index 7be8c31ed213..000000000000 --- a/snippets/emulated-nrf54l05/README.rst +++ /dev/null @@ -1,23 +0,0 @@ -.. _emulated-nrf54l05: - -nRF54L05 snippet -################ - -.. contents:: - :local: - :depth: 2 - -Overview -******** - -This snippet (``emulated-nrf54l05``) emulates nRF54L10 on the nRF54L15 DK. - -Supported SoCs and boards -************************* - -.. warning: - This snippet cannot be used with the FLPR core because all memory, including RAM and RRAM, is allocated to the application core. - -Currently, the only SoC and board supported for use with the snippet is: - -* :ref:`zephyr:nrf54l15dk_nrf54l15` diff --git a/snippets/emulated-nrf54l05/boards/nrf54l15dk_nrf54l15_cpuapp.overlay b/snippets/emulated-nrf54l05/boards/nrf54l15dk_nrf54l15_cpuapp.overlay deleted file mode 100644 index 6b3933b12b85..000000000000 --- a/snippets/emulated-nrf54l05/boards/nrf54l15dk_nrf54l15_cpuapp.overlay +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (c) 2024 Nordic Semiconductor - * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause - */ - -&cpuapp_sram { - reg = <0x20000000 DT_SIZE_K(96)>; - ranges = <0x0 0x20000000 DT_SIZE_K(96)>; -}; - -&cpuapp_rram { - reg = <0x0 DT_SIZE_K(500)>; -}; - -/delete-node/ &boot_partition; -/delete-node/ &slot0_partition; -/delete-node/ &slot0_ns_partition; -/delete-node/ &slot1_partition; -/delete-node/ &slot1_ns_partition; -/delete-node/ &storage_partition; - -&cpuapp_rram { - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - boot_partition: partition@0 { - label = "mcuboot"; - reg = <0x0 DT_SIZE_K(64)>; - }; - slot0_partition: partition@10000 { - label = "image-0"; - reg = <0x10000 DT_SIZE_K(100)>; - }; - slot0_ns_partition: partition@29000 { - label = "image-0-nonsecure"; - reg = <0x29000 DT_SIZE_K(100)>; - }; - slot1_partition: partition@42000 { - label = "image-1"; - reg = <0x42000 DT_SIZE_K(100)>; - }; - slot1_ns_partition: partition@5b000 { - label = "image-1-nonsecure"; - reg = <0x5b000 DT_SIZE_K(100)>; - }; - storage_partition: partition@74000 { - label = "storage"; - reg = <0x74000 DT_SIZE_K(36)>; - }; - }; -}; diff --git a/snippets/emulated-nrf54l05/snippet.yml b/snippets/emulated-nrf54l05/snippet.yml deleted file mode 100644 index 26bdf25ed8c1..000000000000 --- a/snippets/emulated-nrf54l05/snippet.yml +++ /dev/null @@ -1,12 +0,0 @@ -# -# Copyright (c) 2024 Nordic Semiconductor -# -# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause -# - -name: emulated-nrf54l05 - -boards: - nrf54l15dk/nrf54l15/cpuapp: - append: - EXTRA_DTC_OVERLAY_FILE: boards/nrf54l15dk_nrf54l15_cpuapp.overlay diff --git a/snippets/emulated-nrf54l10/README.rst b/snippets/emulated-nrf54l10/README.rst deleted file mode 100644 index 845ab5cb72f7..000000000000 --- a/snippets/emulated-nrf54l10/README.rst +++ /dev/null @@ -1,23 +0,0 @@ -.. _emulated-nrf54l10: - -nRF54L10 snippet -################ - -.. contents:: - :local: - :depth: 2 - -Overview -******** - -This snippet (``emulated-nrf54l10``) emulates nRF54L10 on the nRF54L15 DK. - -Supported SoCs and boards -************************* - -.. warning: - This snippet cannot be used with the FLPR core because all memory, including RAM and RRAM, is allocated to the application core. - -Currently, the only SoC and board supported for use with the snippet is: - -* :ref:`zephyr:nrf54l15dk_nrf54l15` diff --git a/snippets/emulated-nrf54l10/boards/nrf54l15dk_nrf54l15_cpuapp.overlay b/snippets/emulated-nrf54l10/boards/nrf54l15dk_nrf54l15_cpuapp.overlay deleted file mode 100644 index bfcc76f127ee..000000000000 --- a/snippets/emulated-nrf54l10/boards/nrf54l15dk_nrf54l15_cpuapp.overlay +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (c) 2024 Nordic Semiconductor - * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause - */ - -&cpuapp_sram { - reg = <0x20000000 DT_SIZE_K(192)>; - ranges = <0x0 0x20000000 DT_SIZE_K(192)>; -}; - -&cpuapp_rram { - reg = <0x0 DT_SIZE_K(1022)>; -}; - -/delete-node/ &boot_partition; -/delete-node/ &slot0_partition; -/delete-node/ &slot0_ns_partition; -/delete-node/ &slot1_partition; -/delete-node/ &slot1_ns_partition; -/delete-node/ &storage_partition; - -&cpuapp_rram { - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - boot_partition: partition@0 { - label = "mcuboot"; - reg = <0x0 DT_SIZE_K(64)>; - }; - slot0_partition: partition@10000 { - label = "image-0"; - reg = <0x10000 DT_SIZE_K(230)>; - }; - slot0_ns_partition: partition@49800 { - label = "image-0-nonsecure"; - reg = <0x49800 DT_SIZE_K(230)>; - }; - slot1_partition: partition@83000 { - label = "image-1"; - reg = <0x83000 DT_SIZE_K(230)>; - }; - slot1_ns_partition: partition@bc800 { - label = "image-1-nonsecure"; - reg = <0xbc800 DT_SIZE_K(230)>; - }; - storage_partition: partition@f6000 { - label = "storage"; - reg = <0xf6000 DT_SIZE_K(38)>; - }; - }; -}; diff --git a/snippets/emulated-nrf54l10/snippet.yml b/snippets/emulated-nrf54l10/snippet.yml deleted file mode 100644 index b5f1efb35277..000000000000 --- a/snippets/emulated-nrf54l10/snippet.yml +++ /dev/null @@ -1,12 +0,0 @@ -# -# Copyright (c) 2024 Nordic Semiconductor -# -# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause -# - -name: emulated-nrf54l10 - -boards: - nrf54l15dk/nrf54l15/cpuapp: - append: - EXTRA_DTC_OVERLAY_FILE: boards/nrf54l15dk_nrf54l15_cpuapp.overlay