-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Note
This is not applicable until we implement the RF24Mesh layer.
No STD libs in embedded-hal
See the embedded-hal book about rationale. Basically, driver libraries for embedded-hal projects cannot use rust's standard libraries. This includes Vec
, BTreeMap
data collections because it involves allocating memory at runtime.
This will be a problem down the road when I get around to implementing the Mesh layer because we need a way to dynamically allocate memory as Logical Addresses are assigned to a mesh node's ID. There are third party libs that aim to accommodate this shortcoming, but I'll cross that bridge when I get there.
Tip
The embeded-hal implementations on Linux and ESP32 boards can use the std libs. 🎉
Originally posted by @2bndy5 in #1 (comment)
Metadata
Metadata
Assignees
Labels
No labels