File tree Expand file tree Collapse file tree 2 files changed +53
-0
lines changed
snippets/matter-diagnostic-logs Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 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+ };
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments