error[E0433]: failed to resolve: could not find `blocking` in `hal`
--> src/adxl345.rs:4:10
|
4 | use hal::blocking::spi::{Transfer, Write};
| ^^^^^^^^ could not find `blocking` in `hal`
error[E0432]: unresolved import `hal::digital::v2`
--> src/adxl345.rs:5:19
|
5 | use hal::digital::v2::OutputPin;
| ^^ could not find `v2` in `digital`
Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `rampon_anchor` (bin "rampon_anchor") due to 2 previous errors
I am trying to complile it using WSFL Ubuntu and Raspbian x64 on RPI4B. I installed environment using mentiond commands, set up target, but "cargo build" and "make all" both end up with errors.
Hello,
I have tried to build firmware but I am stuck at
I am trying to complile it using WSFL Ubuntu and Raspbian x64 on RPI4B. I installed environment using mentiond commands, set up target, but "cargo build" and "make all" both end up with errors.
What am I doing wrong?