Lely core libraries  1.9.2
doc/co/dcf2c.md
1 dcf2c - CANopen EDS/DCF to C conversion tool
2 ============================================
3 
4 Synopsis
5 --------
6 
7  dcf2c -h
8  dcf2c --help
9  dcf2c [--no-strings] [-o <file> | --output=<file>] [filename]
10  [variable_name]
11 
12 Description
13 -----------
14 
15 The CANopen EDS/DCF to C conversion tool reads the EDS or DCF file given by
16 `filename` and generates a `co_sdev` C struct containing a static device
17 description. This is typically used on embedded platforms which lack the
18 resources to parse an EDS/DCF file at runtime.
19 
20 The options are as follows:
21 
22  -h, --help Display help.
23  --no-strings Do not include optional strings in the output.
24  -o <file>, --output=<file> \
25  Write the output to <file> instead of stdout.
26 
27 The `--no-strings` option prevents the names of objects and sub-objects from
28 appearing in the generated struct (they are displayed in the comments instead).
29