You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a background, the zero-init-ram feature of cortex-m-rt crate intends to clear the whole RAM in init script. This is necessary, for example, when SRAM Parity is enabled. It is implemented here.
After enabling "flip-link", ldr r0, =_ram_start does not seem to get the correct RAM start address, and this leads to incomplete cleaning of RAM.
A simple demonstration of this problem can be reproduced with the embassy built-in examples, described below:
As a background, the
zero-init-ram
feature ofcortex-m-rt
crate intends to clear the whole RAM in init script. This is necessary, for example, when SRAM Parity is enabled. It is implemented here.After enabling "flip-link",
ldr r0, =_ram_start
does not seem to get the correct RAM start address, and this leads to incomplete cleaning of RAM.A simple demonstration of this problem can be reproduced with the embassy built-in examples, described below:
examples/stm32g0
Cargo.toml
to add the feature:cargo build --release --bin blinky
.cargo/config.toml
to enable flip-link:cargo build --release --bin blinky
againThe text was updated successfully, but these errors were encountered: