-
Notifications
You must be signed in to change notification settings - Fork 212
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
sandwiched eh versions failure #722
Comments
Hi @pdgilbert my fork has updated to rc3 but I haven't tested it yet so it's quite possible that it does not work as expected. I'll likely stay on rc2 in my libraries until 1.0 lands so I won't adjust the fork anymore. |
Ok, thanks @TeyKey1 for the confirmation. I can wait, hopefully it won't be long. |
see the migration guide, |
Thanks for point this out @rursprung . I am not having much luck with the |
I have been testing
embedded-hal-1.0.0-rc3
with relatively good results in many examples, usingstm32f4xx_hal
andstm32h7xx_hal
. Of course many of my examples use crates which do not have aembedded-hal-1.0.0-rc3
version. Thus, they fail withstm32h7xx_hal
because it does not have the magic dualembedded-hal
version suport. (OTOH, that highlights the device crates that do not yet supportembedded-hal-1.0.0
.)One problem I have encountered with
stm32f4xx_hal
is whenshared-bus
withembedded-hal = "0.2.3"
is sandwiched between myembedded-hal-1.0.0
code and anembedded-hal-1.0.0-rc3
version of thessd1306
display driver. I use this driver in several examples. From details below I hope someone can confirm if I am missing something simple. Also, if anyone is aware of ashared-bus
withembedded-hal = "1.0.0-rc3"
please point me to it. (I have tried @TeyKey1 's fork at https://github.com/TeyKey1/shared-bus" but I don't think it is working yet - please correct me if I am wrong.)Below is code simplified from an example that does not necessarily need
shared-bus
. The code works whenshared-bus
is omitted and fails when it is included. The error isClick to expand error messages
I compile with
The
embedded-hal-1.0.0-rc3
hal and crate branches I have been using areThe example code is
Click to expand code
Results from my testing are at https://github.com/pdgilbert/rust-integration-testing/actions in the
eh-1-rc3
workflow runs. The code above is extracted from exampledisplay_stuff_rtic
. A different problem regardingserial
is reported at stm32-rs/stm32h7xx-hal#474 (comment)The text was updated successfully, but these errors were encountered: