|
| 1 | +.. _nRF54l_snippets: |
| 2 | + |
| 3 | +Snippets for nRF54L05 and nRF54L10 |
| 4 | +################################## |
| 5 | + |
| 6 | +.. contents:: |
| 7 | + :local: |
| 8 | + :depth: 2 |
| 9 | + |
| 10 | +You can emulate the nRF54L05 and nRF54L10 targets on an nRF54L15 device using the following snippets: |
| 11 | + |
| 12 | +.. list-table:: |
| 13 | + :header-rows: 1 |
| 14 | + |
| 15 | + * - Functionality |
| 16 | + - Snippet name |
| 17 | + - Compatible board targets |
| 18 | + * - :ref:`emulated-nrf54l05` |
| 19 | + - ``emulated-nrf54l05`` |
| 20 | + - ``nrf54l15dk/nrf54l15/cpuapp``, ``nrf54l15dk/nrf54l15/cpuapp/ns`` |
| 21 | + * - :ref:`emulated-nrf54l10` |
| 22 | + - ``emulated-nrf54l10`` |
| 23 | + - ``nrf54l15dk/nrf54l15/cpuapp``, ``nrf54l15dk/nrf54l15/cpuapp/ns`` |
| 24 | + |
| 25 | +.. important:: |
| 26 | + You cannot use these snippets with the FLPR core because all memory, including RAM and RRAM, is allocated to the application core. |
| 27 | + |
| 28 | +Currently, using the snippets is supported only on the :ref:`zephyr:nrf54l15dk_nrf54l15` board. |
| 29 | + |
| 30 | +.. _emulated-nrf54l05: |
| 31 | + |
| 32 | +nRF54L05 snippet |
| 33 | +**************** |
| 34 | + |
| 35 | +The ``emulated-nrf54l05`` snippet emulates the nRF54L05 target on an nRF54L15 device. |
| 36 | + |
| 37 | +You have the following options to add the ``emulated-nrf54l05`` snippet to the :term:`build configuration`: |
| 38 | + |
| 39 | +.. tabs:: |
| 40 | + |
| 41 | + .. group-tab:: west |
| 42 | + |
| 43 | + When building with west, use the following command pattern, where *board_target* corresponds to your board target and `<image_name>` to your application image name: |
| 44 | + |
| 45 | + .. parsed-literal:: |
| 46 | + :class: highlight |
| 47 | +
|
| 48 | + west build --board *board_target* -- -D<image_name>_SNIPPET="emulated-nrf54l05" |
| 49 | +
|
| 50 | + .. group-tab:: CMake |
| 51 | + |
| 52 | + When building with CMake, add the following command to the CMake arguments: |
| 53 | + |
| 54 | + .. code-block:: console |
| 55 | +
|
| 56 | + -D<image_name>_SNIPPET="emulated-nrf54l05" [...] |
| 57 | +
|
| 58 | + To build with the |nRFVSC|, specify ``-D<image_name>_SNIPPET="emulated-nrf54l05" [...]`` in the **Extra CMake arguments** field. |
| 59 | + |
| 60 | + See :ref:`cmake_options` for more details. |
| 61 | + |
| 62 | +.. _emulated-nrf54l10: |
| 63 | + |
| 64 | +nRF54L10 snippet |
| 65 | +**************** |
| 66 | + |
| 67 | +The ``emulated-nrf54l10`` snippet emulates the nRF54L10 target on an nRF54L15 device. |
| 68 | + |
| 69 | +You have the following options to add the ``emulated-nrf54l10`` snippet to the :term:`build configuration`: |
| 70 | + |
| 71 | +.. tabs:: |
| 72 | + |
| 73 | + .. group-tab:: west |
| 74 | + |
| 75 | + When building with west, use the following command pattern, where *board_target* corresponds to your board target and `<image_name>` to your application image name: |
| 76 | + |
| 77 | + .. parsed-literal:: |
| 78 | + :class: highlight |
| 79 | +
|
| 80 | + west build --board *board_target* -- -D<image_name>_SNIPPET="emulated-nrf54l10" |
| 81 | +
|
| 82 | + .. group-tab:: CMake |
| 83 | + |
| 84 | + When building with CMake, add the following command to the CMake arguments: |
| 85 | + |
| 86 | + .. code-block:: console |
| 87 | +
|
| 88 | + -D<image_name>_SNIPPET="emulated-nrf54l10" [...] |
| 89 | +
|
| 90 | + To build with the |nRFVSC|, specify ``-D<image_name>_SNIPPET="emulated-nrf54l10" [...]`` in the **Extra CMake arguments** field. |
| 91 | + |
| 92 | + See :ref:`cmake_options` for more details. |
0 commit comments