aboutsummaryrefslogtreecommitdiff
path: root/pw_boot_cortex_m/bloaty_config.bloaty
diff options
context:
space:
mode:
Diffstat (limited to 'pw_boot_cortex_m/bloaty_config.bloaty')
-rw-r--r--pw_boot_cortex_m/bloaty_config.bloaty7
1 files changed, 7 insertions, 0 deletions
diff --git a/pw_boot_cortex_m/bloaty_config.bloaty b/pw_boot_cortex_m/bloaty_config.bloaty
index 07401a00d..ff3cef78c 100644
--- a/pw_boot_cortex_m/bloaty_config.bloaty
+++ b/pw_boot_cortex_m/bloaty_config.bloaty
@@ -18,12 +18,19 @@ custom_data_source: {
name: "segment_names"
base_data_source: "segments"
+ # Segment containing .code section.
rewrite: {
pattern: "LOAD #1"
replacement: "FLASH"
}
+ # Segment containing .static_init_ram section.
rewrite: {
pattern: "LOAD #2"
replacement: "RAM"
}
+ # Segment containing .zero_init_ram section.
+ rewrite: {
+ pattern: "LOAD #4"
+ replacement: "RAM"
+ }
}