AmbSignalMaper: Implement dbc2amb
authorPetr Nechaev <petr.nechaev@cogentembedded.com>
Thu, 5 Mar 2015 16:09:52 +0000 (19:09 +0300)
committerPetr Nechaev <petr.nechaev@cogentembedded.com>
Mon, 30 Mar 2015 11:25:19 +0000 (14:25 +0300)
commit5a506ef294d04e7b204a11cbe3ddd0b074469f0f
treeb263e48ae487d29739589489130e7d0f052e461e
parentd29b4946d218d0044af240c316fa492a5ead2909
AmbSignalMaper: Implement dbc2amb

Adds a "Direct Workflow" for generating CAN plugin from *.dbc file without
intermediate *.json file. dbc2amb selects signals from *.dbc file according to a pre-defined *.msg file which doesn't change when *.dbc file changes. This avoids repeating manual steps on *.json file.

May be useful at very early and late stages of vehicle software development, when there are many changes (cosmetic or other)  to *.dbc files.

TODO list:
* implement "mixing" of multiple *.dbc files into one plugin
* allow manual specification of message composition in *.msg file
* implement handling of SEND in addition to RECEIVE
tools/AmbSignalMapper/Makefile.PL
tools/AmbSignalMapper/README
tools/AmbSignalMapper/bin/dbc2amb [new file with mode: 0755]
tools/AmbSignalMapper/bin/json2amb
tools/AmbSignalMapper/lib/Intel/IviPoc/AmbPluginGenerator.pm
tools/AmbSignalMapper/lib/Intel/IviPoc/DbcGrammar
tools/AmbSignalMapper/lib/Intel/IviPoc/MsgGrammar [new file with mode: 0644]
tools/AmbSignalMapper/lib/Intel/IviPoc/templates/CMakeLists.txt
tools/AmbSignalMapper/lib/Intel/IviPoc/templates/ambtmpl.in.json [new file with mode: 0644]
tools/AmbSignalMapper/t/syntax.msg [new file with mode: 0644]