Skip to content
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

chore: update a653rs #4

Merged
merged 1 commit into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ serde = { version = "1.0", features = ["derive"], default-features = false }
postcard = { version = "1.0", default-features = false }
arrayvec = { version = "0.7", default-features = false }

a653rs = "0.3"
a653rs = "0.4"
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use a653rs::bindings::*;
use a653rs::prelude::*;
use arrayvec::ArrayVec;

#[derive(Debug, Clone)]
Expand Down
5 changes: 2 additions & 3 deletions src/queuing.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use a653rs::bindings::*;
use a653rs::prelude::*;
use arrayvec::ArrayVec;
use postcard::de_flavors::Slice as DeSlice;
Expand All @@ -20,7 +19,7 @@ pub trait QueuingPortReceiverExt<const MSG_SIZE: MessageSize> {
[u8; MSG_SIZE as usize]:;
}

impl<const MSG_SIZE: MessageSize, const NB_MSGS: MessageRange, Q: ApexQueuingPortP4>
impl<const MSG_SIZE: MessageSize, const NB_MSGS: MessageRange, Q: ApexQueuingPortP4Ext>
QueuingPortSenderExt for QueuingPortSender<MSG_SIZE, NB_MSGS, Q>
where
[u8; MSG_SIZE as usize]:,
Expand All @@ -36,7 +35,7 @@ where
}
}

impl<const MSG_SIZE: MessageSize, const NB_MSGS: MessageRange, Q: ApexQueuingPortP4>
impl<const MSG_SIZE: MessageSize, const NB_MSGS: MessageRange, Q: ApexQueuingPortP4Ext>
QueuingPortReceiverExt<MSG_SIZE> for QueuingPortReceiver<MSG_SIZE, NB_MSGS, Q>
where
[u8; MSG_SIZE as usize]:,
Expand Down
5 changes: 2 additions & 3 deletions src/sampling.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use a653rs::bindings::*;
use a653rs::prelude::*;
use arrayvec::ArrayVec;
use postcard::de_flavors::Slice as DeSlice;
Expand All @@ -20,7 +19,7 @@ pub trait SamplingPortDestinationExt<const MSG_SIZE: MessageSize> {
[u8; MSG_SIZE as usize]:;
}

impl<const MSG_SIZE: MessageSize, Q: ApexSamplingPortP4> SamplingPortSourceExt
impl<const MSG_SIZE: MessageSize, Q: ApexSamplingPortP4Ext> SamplingPortSourceExt
for SamplingPortSource<MSG_SIZE, Q>
where
[u8; MSG_SIZE as usize]:,
Expand All @@ -36,7 +35,7 @@ where
}
}

impl<const MSG_SIZE: MessageSize, Q: ApexSamplingPortP4> SamplingPortDestinationExt<MSG_SIZE>
impl<const MSG_SIZE: MessageSize, Q: ApexSamplingPortP4Ext> SamplingPortDestinationExt<MSG_SIZE>
for SamplingPortDestination<MSG_SIZE, Q>
where
[u8; MSG_SIZE as usize]:,
Expand Down
Loading