107-systems / 107-Arduino-Cyphal

Arduino library for providing a convenient C++ interface for accessing OpenCyphal.
https://107-systems.org
MIT License
69 stars 31 forks source link

Extending DSDL #205

Closed not7cd closed 1 year ago

not7cd commented 1 year ago

What is the recommended way to add project-specific Cyphal type definitions? Considering that I have a structure similar to https://github.com/OpenCyphal/public_regulated_data_types how do I generate those types and use them with this library?

aentinger commented 1 year ago

This can be done with nunavut. However, GitHub issues are not there for support requests, please head on over to the OpenCyphal forum, post your question there, and put the link in this thread.

That way, the next person wondering this may also profit.

not7cd commented 1 year ago

I sure will do that. But it doesn't solve my question specific to this library. Should I give output directory as src/types or .pio/libdeps/pico/107-Arduino-Cyphal/src/types

aentinger commented 1 year ago

Yes. But as I wrote before, this is not the place for support. The forum is. I'll answer you over there. Not here.

not7cd commented 1 year ago

backref: Using custom DSDL with 107-Arduino-OpenCyphal and PIO - Applications & Usage / Nunavut - OpenCyphal Forum