Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

applications: Aligned retained RAM partitions for diagnostic logs #16107

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions applications/matter_weather_station/app.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
buzzer-pwm = &buzzer;
};

sram@2007EB40 {
sram@2007E340 {
compatible = "zephyr,memory-region", "mmio-sram";
reg = <0x2007EB40 0x14C0>;
reg = <0x2007E340 0x1CC0>;
zephyr,memory-region = "DiagnosticLogMem";
status = "okay";
retainedmem {
Expand All @@ -44,20 +44,20 @@
checksum = <2>;
};

/* Reserve 4 kB for the end user logs. */
end_user_logs_retention: retention@c0 {
/* Reserve 6 kB for the network logs. */
network_logs_retention: retention@c0 {
compatible = "zephyr,retention";
status = "okay";
reg = <0xC0 0x1000>;
reg = <0xC0 0x1800>;
prefix = [06 03];
checksum = <2>;
};

/* Reserve 1 kB for the network logs. */
network_logs_retention: retention@10c0 {
/* Reserve 1 kB for the end user logs. */
end_user_logs_retention: retention@18c0 {
compatible = "zephyr,retention";
status = "okay";
reg = <0x10C0 0x400>;
reg = <0x18C0 0x400>;
prefix = [05 02];
checksum = <2>;
};
Expand Down Expand Up @@ -100,7 +100,7 @@
status = "disabled";
};

/* Reduce SRAM0 usage by 5312B to account for non-init area */
/* Reduce SRAM0 usage by 7360 B to account for non-init area */
&sram0 {
reg = <0x20000000 0x7EB40>;
reg = <0x20000000 0x7E340>;
};
Loading