DEV Community

Discussion on: Rust for Embedded Development

Collapse
 
russelltg profile image
Russell Greene

When you call rt_kprintf from rust, you need a null terminator at the end of that string, rust does not add one automatically (you likely got lucky and there was a null byte right after your buffer)