-
I want to use pub struct IPAddr(pub [u8; 16]); which is defined in tock/capsules/src/net/ipv6/ip_utils.rs. I was not able to find examples of how to reference items defined in tock capsules from libtock-rs application code and the examples in libtock-rs redefine data such as the capsule's driver number led example. |
Beta Was this translation helpful? Give feedback.
Answered by
potto216
Dec 23, 2022
Replies: 1 comment 1 reply
-
The solution I'm using which I don't know is best practice is to make the capsule package in the tock submodule a dependency. For example:
If there is something better let me know. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
potto216
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The solution I'm using which I don't know is best practice is to make the capsule package in the tock submodule a dependency. For example:
If there is something better let me know.