rust-embedded / cortex-m

Low level access to Cortex-M processors
Apache License 2.0
832 stars 152 forks source link

cortex-m: add support for embedded-hal 1.0 delays #504

Closed newAM closed 9 months ago

newAM commented 10 months ago

I think it makes sense to keep emebedded-hal 0.2 around for a bit while we're in the transition phase.

This also required a MSRV bump from 1.59.0 to 1.60.0 to align with embedded-hal.

newAM commented 10 months ago

Need to fix the unrelated CI failures - but might not have time for that tonight.

adamgreig commented 10 months ago

Is it worth feature-gating e-h 0.2, so it's available if someone wants it but doesn't pull in both versions as dependencies otherwise?

jonathanpallant commented 10 months ago

I think that makes sense, but also the rp2040-hal is likely going to pull in eh-0.2 unconditionally.