From 3af38c7e4ee7bb95f6225415d28a4cdbd2f31953 Mon Sep 17 00:00:00 2001 From: Arkadiusz Balys Date: Wed, 4 Dec 2024 15:54:31 +0100 Subject: [PATCH] samples: matter: Add nRF54L10 to diagnostic logs snippet Extended the diagnostic logs snippet by nRF54L10 target and updated HW requirements page. Signed-off-by: Arkadiusz Balys --- .../boards/nrf54l15dk_nrf54l10_cpuapp.overlay | 50 +++++++++++++++++++ snippets/matter-diagnostic-logs/snippet.yml | 3 ++ 2 files changed, 53 insertions(+) create mode 100644 snippets/matter-diagnostic-logs/boards/nrf54l15dk_nrf54l10_cpuapp.overlay diff --git a/snippets/matter-diagnostic-logs/boards/nrf54l15dk_nrf54l10_cpuapp.overlay b/snippets/matter-diagnostic-logs/boards/nrf54l15dk_nrf54l10_cpuapp.overlay new file mode 100644 index 000000000000..728730580fb0 --- /dev/null +++ b/snippets/matter-diagnostic-logs/boards/nrf54l15dk_nrf54l10_cpuapp.overlay @@ -0,0 +1,50 @@ +/* Copyright (c) 2024 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause + */ + +/ { + cpuapp_sram@2002F340 { + compatible = "zephyr,memory-region", "mmio-sram"; + reg = <0x2002F340 0xCC0>; + zephyr,memory-region = "DiagnosticLogMem"; + status = "okay"; + retainedmem { + compatible = "zephyr,retained-ram"; + status = "okay"; + #address-cells = <1>; + #size-cells = <1>; + /* Reserve 192 B for the crash logs. */ + crash_retention: retention@0 { + compatible = "zephyr,retention"; + status = "okay"; + reg = <0x0 0xC0>; + prefix = [08 04]; + checksum = <2>; + }; + + /* Reserve 2 kB for the network logs. */ + network_logs_retention: retention@c0 { + compatible = "zephyr,retention"; + status = "okay"; + reg = <0xC0 0x800>; + prefix = [06 03]; + checksum = <2>; + }; + + /* Reserve 1 kB for the end user logs. */ + end_user_logs_retention: retention@8c0 { + compatible = "zephyr,retention"; + status = "okay"; + reg = <0x8C0 0x400>; + prefix = [05 02]; + checksum = <2>; + }; + }; + }; +}; + +/* Reduce cpuapp_sram usage by 3264 B to account for non-init area */ +&cpuapp_sram { + reg = <0x20000000 0x2F340>; +}; diff --git a/snippets/matter-diagnostic-logs/snippet.yml b/snippets/matter-diagnostic-logs/snippet.yml index 661fa7235588..f71814f8c614 100644 --- a/snippets/matter-diagnostic-logs/snippet.yml +++ b/snippets/matter-diagnostic-logs/snippet.yml @@ -18,3 +18,6 @@ boards: nrf54l15dk/nrf54l15/cpuapp: append: EXTRA_DTC_OVERLAY_FILE: boards/nrf54l15dk_nrf54l15_cpuapp.overlay + nrf54l15dk/nrf54l10/cpuapp: + append: + EXTRA_DTC_OVERLAY_FILE: boards/nrf54l15dk_nrf54l10_cpuapp.overlay