Skip to content

Commit

Permalink
samples: matter: Add nRF54L10 to diagnostic logs snippet
Browse files Browse the repository at this point in the history
Extended the diagnostic logs snippet by nRF54L10 target and updated
HW requirements page.

Signed-off-by: Arkadiusz Balys <[email protected]>
  • Loading branch information
ArekBalysNordic authored and nordicjm committed Dec 6, 2024
1 parent 760a547 commit 3af38c7
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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>;
};
3 changes: 3 additions & 0 deletions snippets/matter-diagnostic-logs/snippet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3af38c7

Please sign in to comment.