Skip to content

iColgateZz/dbc-codegen2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

183 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dbc-codegen2

dbc-codegen2 is a DBC code generator for CAN bus messages.

It parses a .dbc file, builds an intermediate representation (IR), and generates strongly typed code for working with CAN frames.

Currently supported targets:

  • Rust

Installation

Install using Cargo from crates.io:

cargo install dbc-codegen2

After installation the CLI is available as:

dbc-codegen2

Usage

dbc-codegen2 <COMMAND> <INPUT> -o <OUTPUT>

Commands:

Commands:

Command Description
parse Parse a DBC file and print parsed output
ir Show intermediate representation
gen Generate code from a DBC file

You can view help with:

dbc-codegen2 --help

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages