## __Linklayer library versioning__
The linklayer library generation under the keil environment provides a versioning mechanism.

The versioning tracks down both parts of the Linklayer: System and Source parts.

Those versions are two short commit IDs that are retrieved right before the lib compilation. They are then stored inside a constant variable and accessible through dedicated APIs or directly by dumping the target memory.

### __Preriquisites__
 1. Git-bash shall be available on the compilation host.
 2. The git-bash directories shall be present in the Windows Path environment variable. i.e.: Git, Git\bin and Git\cmd.

### __How to ?__
 1. Open the lib project you want to (re)generate.
 2. Start the compilation.
 3. PRE_BUILD.bat/.sh scripts are executed before the compilation mechanism starts. Versions are gathered and provided for compilation
 Depending on the git state, clean or dirty, either the right commit value or a dedicated value is used.
 4. Compilation ends and the versions are present inside the lib generated.
 5. User can access those values with data dumping or APIs use.