new_daisy_board!() is for stealing peripherals so that users does not accidentally use them contrary to what Daisy board intends to.
So it should be used on the user side.
But using it on the bin crate that has daisy_embassy for its dependencies makes an error:
error[E0063]: missing fields `SCL` and `SDA` in initializer of `CodecPins`
--> src/main.rs:36:17
|
36 | let board = new_daisy_board!(p);
| ^^^^^^^^^^^^^^^^^^^ missing `SCL` and `SDA`
|
new_daisy_board!()
is for stealing peripherals so that users does not accidentally use them contrary to what Daisy board intends to. So it should be used on the user side. But using it on thebin
crate that hasdaisy_embassy
for itsdependencies
makes an error:This error is because there are no features called
seed_1_1
on the bin crate. see where the actual error happensCould someone suggest a solution or workaround?
Note: This error doesn't happens when you build examples of
daisy_embassy
on its repository.