probe-rs / hs-probe-firmware

A CMSIS-DAP implementation in pure Rust.
https://probe.rs
Apache License 2.0
76 stars 14 forks source link

Fix build for latest stable rust 1.74.0 #45

Closed no111u3 closed 1 year ago

no111u3 commented 1 year ago

Fix build for latest stable rust, firmware burned and tested.

adamgreig commented 1 year ago

cc https://github.com/stm32-rs/stm32f7xx-hal/pull/207

Disasm commented 1 year ago

It might be a good idea to add a method to RWRegister which returns *mut u32, this value can be then casted to *mut u8/*mut u16 without tricking the compiler.

ithinuel commented 9 months ago

It seems like this fix no longer works on 1.76.