Skip to content
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

no_std support #40

Open
bahlo opened this issue Mar 9, 2021 · 4 comments
Open

no_std support #40

bahlo opened this issue Mar 9, 2021 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@bahlo
Copy link

bahlo commented Mar 9, 2021

Would be amazing to be able to use this on embedded devices, for that we need no_std support though.

@ewilken
Copy link
Owner

ewilken commented May 16, 2021

Hey! Sorry it went quiet here.

The implemented IP transport relies heavily on tokio, so I don't see it working without a std net implementation or an OS-specific I/O driver anytime soon.

BLE transport could be a different story tho, should we manage to implement it at some point and feature-gate the IP part away. No timeline on it yet, but happy about contributions.

What's your embedded target platform?

@bahlo
Copy link
Author

bahlo commented May 17, 2021

Hey, no worries! Not decided yet, probably cortex-m. Would be amazing to do embedded devices with native HomeKit support all written in Rust.

@urbaniak
Copy link

I'm also interested in getting something like embedded nordic's nRF (arm, well supported), espressif esp32 (rust fork needed tor xtensa arch here), bl602 (risc-v, compilation supported, need drivers/PAC crates) homekit device programmed in Rust.

For embedded networking we may use smoltcp (rust) or lwip (C, which we need to link against) - depending on the chip/sdk

@bahlo
Copy link
Author

bahlo commented May 25, 2021

There are also libraries like rust-embedded-community/embedded-nal that should hopefully make it easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants