Preview
Open Original
From a Rust perspective, there isn’t really a magic bullet. You can mark functions to be placed in RAM, but then you also need to make sure that gets copied to RAM at startup. Even then: Rust’s attributes aren’t recursive: RAM funcs can still call flash funcs, including compiler-inserted memcpys!
[contains quote post or other embedded content]