stm32-rs / stm32l4xx-hal

A Hardware abstraction layer for the stm32l432xx series chips written in rust.
156 stars 103 forks source link

Prepare releasing 0.7 #305

Closed samueltardieu closed 2 years ago

samueltardieu commented 2 years ago

Maybe wait a bit: f93b5052b5c9470b153e8cc524bfa6627cc39b8f introduced some unsafe keywords in spi.rs which are necessary for stm32l4r9 but provoke a warning on other targets. I'd like to see what can be done about it.

samueltardieu commented 2 years ago

I've added two more commits: one to not warn on the two unnecessary unsafe which are needed for stm32l4r9, and one to use DWT::cycle_count() which has replaced the now-deprecated DWT::get_cycle_count().

korken89 commented 2 years ago

Looks good! Lets see if the CI passes, if so I'll merge and release.