technocreatives / dbc-codegen

Generate Rust structs for messages from a dbc (CAN bus definition) file.
Apache License 2.0
43 stars 21 forks source link

Generate full crate #35

Open killercup opened 3 years ago

killercup commented 3 years ago

My main way of using this would be to run dbc-codegen some.dbc crates/can-messages. The target would probably always be a crate just for the CAN de/encode part, and I'd check that code into the repo.

For that it'd be neat to:

As I'm not currently using this however, it is not a prio just yet.

kilpkonn commented 1 month ago

FYI I have some experimentations for something like this here: https://github.com/kilpkonn/dbc-codegen It is obviously kind of hacky, but likely useful to take as a inspiration/baseline.