caemor / epd-waveshare

Drivers for various EPDs from Waveshare
ISC License
207 stars 128 forks source link

Cannot build example epd2in13_v2 #178

Closed theHausdorffMetric closed 6 months ago

theHausdorffMetric commented 7 months ago

On an unchanged repo clone and using stable-x86_64-unknown-linux-gnu unchanged - rustc 1.74.0 (79e9716c9 2023-11-13) Running cargo build --example epd2in13_v2 results in

error[E0432]: unresolved import `linux_embedded_hal::Spidev`
  --> examples/epd2in13_v2.rs:19:22
   |
19 |     Delay, SPIError, Spidev, SysfsPin,
   |                      ^^^^^^
   |                      |
   |                      no `Spidev` in the root
   |                      help: a similar name exists in the module (notice the capitalization): `spidev`
   |
   = help: consider importing this struct instead:
           crate::spidev::Spidev

For more information about this error, try `rustc --explain E0432`.
error: could not compile `epd-waveshare` (example "epd2in13_v2") due to previous error
DaveRichmond commented 7 months ago

So I just repaired this in pull request #179 but due to not having hardware to test this on right now I can't say for sure if anything else is broken

caemor commented 6 months ago

Thanks! This got fixed in #181 (and #179)