#can #testing #x86 #canopen #can-open

canopen_rust

适用于Rust的CANOpen实现

4个版本

0.1.3 2023年12月11日
0.1.2 2023年12月9日
0.1.1 2023年12月8日
0.1.0 2023年12月8日

767嵌入式开发

每月下载量 26

Apache-2.0

140KB
3K SLoC

CANOpen for Rust

将测试移动到demo仓库

由于我们需要共享测试/和examples/文件夹的一些测试工具,集成测试用例已移动到canopen-demo仓库。这有助于与RP2040和x86一起进行端到端测试。如果您有更好的想法,请告诉我们。([email protected])

如何构建

在"x86_64-unknown-linux-gnu"和"thumbv6m-none-eabi"上构建crate。

cargo build --target=x86_64-unknown-linux-gnu
cargo build --target=thumbv6m-none-eabi 

并且你可以测试项目

cargo test

我们这里还有一些单元测试。

依赖关系

~2.4–3.5MB
~58K SLoC