-
Notifications
You must be signed in to change notification settings - Fork 6
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
Provisions for running on systems where nimble is already built #5
Comments
If I'm understanding this correctly, we essentially have the following scenario:
In that case, yes, I think for the most part, those points you listed are correct.
(assuming you meant This makes sense to me. My initial thought to do this would be to add an "empty" port layer (maybe a
For this point in particular, I don't know if we need to add another feature flag. In the example, we use
The scope of that crate isn't super well-defined, besides being "higher-level abstractions on top of the low-level bindings provided by |
Yes, we have the same scenario in mind. Thanks, I'll give it a try with a PR, then.
I'll give that another look. IIRC, the provided implementations called functions that for some reason were not even available. Might be that I found what caused that and fixed it differently down the line; I'll see that once I more systematically collect all the things that are currently spread across my checkouts. |
I'd like to use these crates (mainly apache-nimble, and trouble building on it) on RIOT OS; I figure the situation with other C RTOSes might be similar when they come to a point where applications and modules can be built in Rust. Nimble is already built as part of RIOT OS (currently 1.5, but 1.8 is WIP), so I'd need to apply a few configurable changes.
As far as I can assess things so far (I got things to build but did not test running), this will need:
I should have a draft PR ready soon-ish, but at this point I'm unsure: What is the intended scope of the apache-nimble crate? I plan on using this with trouble sitting on top of it, so the part of the apache-nimble crate that is not modified is the
impl bt_hci::controller::Controller for NimbleController
-- is that the core of apache-nimble (in which case I do think that it makes sense to allow disabling the build and link parts), or rather something that would be shared as an external component (so it may make sense to split that into a sharable component)?The text was updated successfully, but these errors were encountered: