Re:Deploying Rust in Existing Firmware Codebases
by bacon_waffle on Thursday September 05, 2024 @11:47PM
(#41462712)
Usually the HAL is between the main firmware and the PAC, so whether the PAC methods are marked as unsafe could almost be considered an implementation detail.
But yes, there has been a lot of discussion around how to handle DMA peripherals - the embedded_dma crate offers some abstractions that I've found handy.
https://docs.embassy.dev/rp-pac/git/default/dma/struct.Chann...