4.48. Version

The wscript of this project retrieves the current version (if available) from version control and generates during compilation of the project a version.c/h file containing information about the current version.

In order to be able to find the version easily in any foxBMS 2 binary, the linker script places this information always at the same location in memory. It uses the linker section VER_VERSION_INFORMATION (for details see Linker Script).