aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt')
-rw-r--r--cortex-m-rt/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cortex-m-rt/src/lib.rs b/cortex-m-rt/src/lib.rs
index 6f9f299..30fe37e 100644
--- a/cortex-m-rt/src/lib.rs
+++ b/cortex-m-rt/src/lib.rs
@@ -550,6 +550,7 @@ cfg_global_asm! {
"bl __pre_init",
// Initialise .bss memory. `__sbss` and `__ebss` come from the linker script.
+ #[cfg(not(feature = "zero-init-ram"))]
"ldr r0, =__sbss
ldr r1, =__ebss
movs r2, #0