Skip to content

Commit 3af38c7

Browse files
ArekBalysNordicnordicjm
authored andcommitted
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 <[email protected]>
1 parent 760a547 commit 3af38c7

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
/* Copyright (c) 2024 Nordic Semiconductor ASA
2+
*
3+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
4+
*/
5+
6+
/ {
7+
cpuapp_sram@2002F340 {
8+
compatible = "zephyr,memory-region", "mmio-sram";
9+
reg = <0x2002F340 0xCC0>;
10+
zephyr,memory-region = "DiagnosticLogMem";
11+
status = "okay";
12+
retainedmem {
13+
compatible = "zephyr,retained-ram";
14+
status = "okay";
15+
#address-cells = <1>;
16+
#size-cells = <1>;
17+
/* Reserve 192 B for the crash logs. */
18+
crash_retention: retention@0 {
19+
compatible = "zephyr,retention";
20+
status = "okay";
21+
reg = <0x0 0xC0>;
22+
prefix = [08 04];
23+
checksum = <2>;
24+
};
25+
26+
/* Reserve 2 kB for the network logs. */
27+
network_logs_retention: retention@c0 {
28+
compatible = "zephyr,retention";
29+
status = "okay";
30+
reg = <0xC0 0x800>;
31+
prefix = [06 03];
32+
checksum = <2>;
33+
};
34+
35+
/* Reserve 1 kB for the end user logs. */
36+
end_user_logs_retention: retention@8c0 {
37+
compatible = "zephyr,retention";
38+
status = "okay";
39+
reg = <0x8C0 0x400>;
40+
prefix = [05 02];
41+
checksum = <2>;
42+
};
43+
};
44+
};
45+
};
46+
47+
/* Reduce cpuapp_sram usage by 3264 B to account for non-init area */
48+
&cpuapp_sram {
49+
reg = <0x20000000 0x2F340>;
50+
};

snippets/matter-diagnostic-logs/snippet.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ boards:
1818
nrf54l15dk/nrf54l15/cpuapp:
1919
append:
2020
EXTRA_DTC_OVERLAY_FILE: boards/nrf54l15dk_nrf54l15_cpuapp.overlay
21+
nrf54l15dk/nrf54l10/cpuapp:
22+
append:
23+
EXTRA_DTC_OVERLAY_FILE: boards/nrf54l15dk_nrf54l10_cpuapp.overlay

0 commit comments

Comments
 (0)