Uh oh!
There was an error while loading. Please reload this page.
Add embedded_dma feature - #362
Conversation
e73b851 to
e0289a4Compareqwerty19106
commented
Mar 16, 2023
|
de6c859 to
0465cceCompareqwerty19106
commented
Mar 22, 2023
CI is fixed: |
Dirbaio
commented
Oct 20, 2023
the impl for
because you can move the vec without calling any |
ReadBuffer implemented for I don't understand ReadBuffer requirements, you can give an example of type, which can implement ReadBuffer safely? P.S. Rebased. |
0465cce to
cc0f541CompareDirbaio
commented
Feb 15, 2024
No, ReadBuffer is implemented for types that deref to ie it's implemented for things like |
From
I think that it is not valid, because StableDeref provides some of
|
Dirbaio
commented
Feb 16, 2024
I think the So it's not sound to implement the traits for |
qwerty19106
commented
Feb 16, 2024
Box<[T; N]> implements I think than |
cc0f541 to
aa23bceCompareqwerty19106
commented
Mar 13, 2024
Requirements of
Probably need to add "and buffer is not moved" here. Additional requirements of
Taking into account previous requirements it is enough. The Thus the Thus I consider that we should implement |
I added
embedded_dmafeature to one can sendVec,pool::object::Object<Vec>andpool::boxed::Box<Vec>to embedded DMA as read/write buffers.It allows to use
Vecwith embedded DMA of HAL crates, for example stm32f4xx_hal::dma::Transfer.Unfortunately there is a issue that does not allow to implement embedded_dma::WriteBuffer and embedded_dma::ReadBuffer transparently. Thus it requires optional
embedded_dmadependency now.