-
Notifications
You must be signed in to change notification settings - Fork 17
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
dependencies on version of radio confuse embedded-hal-compat #38
Comments
Oh my god thank you. I've been using your examples and I had |
Yes, the version interactions are messy. Something to look forward to when everything stabilizes a bit. I've looked briefly at |
ahh, yeah i left a removed the patch and release |
It's all good. The library code seems to be written well, I had my 2 feather boards blinking at each other earlier which was neat. |
Ok, in a small test it builds with
and no patch. I'll try updating my PR. |
@Cightline, what MCU do your feather boards have and which device HAL are you using? And does it have an RFM95 radio? |
there's something about things blinking over an RF link right?! glad it's mostly working for y'all. |
@pdgilbert: I have 2x of these. I'm using the feather_m0 crate. The ATSAMD Rust guys do some good work btw. Here's the boards they support.
@ryankurte: Oh yeah for sure. Hey I noticed you're subscribed to the rctestflight channel on YouTube. The whole reason why I bought these boards is so I can have reliable RC telemetry. ExpressLRS is doing some pretty impressive stuff with LoRa boards, figured I'd make a "safe" version. |
oh neat! way back i used to build / fly weird thrust-vectoring quadrotors, telemetry was always a bit of a trick huh. |
Yep. The following is getting off topic so let me know if I need to post this somewhere else. I have a rough-draft on Gitlab if you wanna see what I have so far. The code runs off interrupts. After starting up both of the Feather M0 LoRa boards they will oscillate between sending a beacon and listening for a beacon. Once the beacon is received they immediately start "talking" as fast as possible (which I am visualizing with the on-board LEDs). These boards have amazing range for their size. |
heads up i've published releases against |
After figuring out I now need
I am a bit puzzled that I had to change |
ahh yes, initially
try prefixes were dropped in |
I'm having trouble again with getting the proper mix of versions for
|
I was messing around with this the other day. The following builds successfully on my system. [dependencies]
cortex-m = "0.7.3"
feather_m0 = { version = "0.10.1", features = ["default", "rtic", "rt", "unproven", "rfm", "dma"] }
panic-halt = "0.2.0"
heapless = { verison = "0.7.7", features = ["default"], version = "0.7.7" }
panic-semihosting = "0.5.6"
cortex-m-rtic = { version = "0.6.0-rc.2", features = [] }
embedded-hal = { version = "1.0.0-alpha.5" }
old-e-h = { version = "0.2.6", package = "embedded-hal" }
radio = { version = "0.9.1" }
driver-pal = { version = "0.8.0-alpha.5", default_features = false }
radio-sx127x = { path = "../../rust-radio-sx127x", default-features = false }
shared-bus-rtic = { version = "0.2.2", features = ["thumbv6"] }
embedded-hal-compat = "0.4.0" |
I finally found my problem. In my
otherwise I'm not sure if there is yet a set of versions that work with |
ahh, unfortunately this is likely to occur any time embedded-hal changes, possibly we should be using strict version matching in
both this library and |
More obvious is always helpful for me. I have my hands full with other things at the moment, so I'll leave it on your list. There is no special rush for me but I would appreciate a heads up here when you do get around to it. |
I hope you might soon get to the update for |
Maybe skip |
Possibly it's not ready for use but I tried branch [email protected] and I'm stuck on
I'm not sure if this is a problem in my code or in |
i appreciate your ongoing effort! next e-h release we've got a bunch of SPI changes which should reduce / remove the need for some of this so, once we've done that i'll go through and simplify all the dependencies as best i can. if it'd help / you're willing to share the repo i can have a look at that to resolve your dependency woes for now,. |
Just to be clear, this is not about the |
This is all now resolved by switch to |
(Mentioned in #34, but unclear about details.)
rust-radio-sx127x
dependencies on the version ofradio
confuseembedded-hal-compat
Version 0.10.1 of
radio-sx127x
on crates.io usesradio
"0.4.0" . This does not work withembedded-hal-compat
. The builds fail with wrong number of arguments, with or withoutVersion 0.10.1 of
radio-sx127x
on https://github.com/rust-iot/rust-radio-sx127x usesradio
"0.7.0" and my fork with the PR adding examples usesradio
"0.8.1" . A crate using these needs to use the same version:or
The patch above has no affect on build for either (but I have not tested running). Is it possible the patch is no longer needed for anything?
Some consolidation would be good.
The text was updated successfully, but these errors were encountered: