a2lfile
a2lfile
is a library that allows you to read, modify and write a2l files.
Features
- full support for files using A2L version 1.61
- nearly complete support for version 1.71. It handles existing files, but unusual elements might cause problems.
- it is fast
- the layout and formatting of the input file is preserved. The intention is that afer reading, modifying and then writing a file the resulting diff should be minimal
- easy access to application-specific data inside of IF_DATA blocks is provided through a macro that generates code based on an A2ML specification
What is an a2l file
A2l files are commonly used during the development and testing of automotive ECUs. If you have never seen an a2l file then you are unlikely to need this library.
Documentation
Add this to your Cargo.toml
:
[]
= "0.8.0"
A simple program based on the a2lfile
library might look like this:
use *;
License
Licensed under either of
- Apache License, Version 2.0 (
LICENSE-APACHE
or http://www.apache.org/licenses/LICENSE-2.0) - MIT license (
LICENSE-MIT
or http://opensource.org/licenses/MIT)