hsk-libs-scripts  270
High Speed Karlsruhe XC878 build scripts
dbc.sh File Reference

This script produces a make file with instructions to generate C headers from Vector DBC files. More...

Detailed Description

This script produces a make file with instructions to generate C headers from Vector DBC files.

Parameters
*The directories containing .dbc files

The script uses the LIBPROJDIR and AWK environment variables similar to the way build.sh uses them.

For each .dbc file a target to create an UTF-8 version of the file is created. The file is expected to use CP1252 (Windows encoding), the conversion is performed by iconv.

The next target uses dbc2c.awk to generate the desired C headers.

The meta target dbc generates all headers.