-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Description
Part of rust-embedded/wg#383
Blockers:
- remove const-fn now it's in Rustspecify our MSRVReview against https://rust-lang.github.io/api-guidelines/ – happening in Pre-1.0 API Guidelines Audit #26
Mutex is not safe on multi-core systems - Mutex is not safe on multi-core systems #12ShouldPeripheral
be removed?What to do with theNr
trait? (it's gone)To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
Activity
jonas-schievink commentedon Jan 9, 2020
Some simple improvements to be made before 1.0:
const-fn
feature, and the build.rs logic related toconst fn
supportOther blockers:
Unresolved questions:
bare_metal::Peripheral
used? Does it pull its weight? Needs more documentation.bare_metal::Nr
. Would it be better to move it outside this crate? Also: Why returnu8
? It should probably be renamed to something likeInterrupt
, since it's not a trait for numbers.rubberduck203 commentedon Jan 29, 2020
As soon as I find the markdown version of the API checklist, I’m going to create a tracking issue for that work so items can be checked off as they’re reviewed.
rubberduck203 commentedon Jan 29, 2020
Found it. Will open the tracking issue when time allows. https://github.com/rust-lang/api-guidelines/blob/master/src/checklist.md
Merge #25
therealprof commentedon Mar 10, 2020
As agreed in the 2020-03-10 meeting we're taking off the
Mutex
from the 1.0 blocker list. We're aiming to have the newMutex
based onmutex-trait
implemented by the arch crates instead.luojia65 commentedon Mar 19, 2020
Maybe
Nr
can be used as a parameter to configure vendor specific interrupt controller. However in this wayNr::nr
should not always return au8
(there could be more than 256 interrupts). It could be necessary to provide asNr { type Id; fn nr(&self) -> Self::Id }
(still working on it to adapt to Bumblebee's ECLIC controller)jonas-schievink commentedon Apr 21, 2020
IMO
Nr
logically belongs in architecture-specific core crates like cortex-m or cortex-m-rt.We should check what uses it, and whether the users would see any benefit of having a traits that's shared between architectures. Maybe come up with potential use cases.
(EDIT: #32 deleted it)
thejpster commentedon Apr 21, 2020
Ticked MSRV, as it's in the README.
Merge #35
adamgreig commentedon Jun 30, 2020
Closed by #35.