-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ship a 1.0 release #183
Comments
This is not needed for 1.0 since it doesn't change the public API |
Easy (breaking) improvements to do before 1.0:
Other 1.0-quality things that I'd like to see:
This is also blocked on sound MMIO. Currently we use |
I'd really want to see cortex-m move to using svd2rust-generated API for accessing the Cortex-M peripherals, i.e. a cortex-m-pac crate that cortex-m depends on and adds the HAL API. I've made some progress towards generating a suitable set of SVD files already and plan to finish it fairly soon. |
Yeah, this would likely fundamentally change our public API so if we are ever going to do it, pre 1.0 is best. |
Also:
|
I'd add:
|
With the new CriticalSection type |
@adamgreig any updates on the svd2rust generation? Is there a tracking issue for it? |
183: Update cortex-m version requirement to allow using 0.6.0 r=therealprof a=adamgreig See also rust-embedded/cortex-m-semihosting#32 Co-authored-by: Adam Greig <adam@adamgreig.com>
So this is embeded-hal 1.0 incompatibility? Was working on updating my dependencies and found that cortext-m was relying on |
cortex-m currently uses embedded-hal 0.2, but it's not a problem to have both embedded-hal 0.2 and 1.0 in a project at the same time. That way you can use embedded-hal 1.0 and all the drivers and HALs that use it at the same time as using cortex-m. |
Part of rust-embedded/wg#383
Might also involve rust-lang/rust#27731 so we can get rid of (some) of the inline asm / pre-compiled objects.
const-fn
feature#[deprecated]
APIs#[cfg]
d out depending on the target#[non_exhaustive]
where it makes sensePeripherals::steal()
API, or redesign that API (Clarify / Document / Redesign thePeripherals::{take, steal}
API #186)inline-asm
feature is completely unstable and semver-exempt#[doc(cfg(X))]
where possible)dereferenceable
and volatile ops wg#387)bare-metal
1.0 (one released)The text was updated successfully, but these errors were encountered: