Auto-generated files

Most files, containing settings, values, commands and messages data and forms are auto-generated at build time, as they depend on Settings.json file and are dependent on specific tracker type.

Python parser py2h.py and validation script validate_data.py are used to convert settings.json file to c files.

In particular the following files are generated:

  • hardware_def.h - containing only definitions from "hardware" field

  • settings_def.h and settings_def.c - containing settings structure and auto-generated functions for access and writing to structure

  • commands_def.h and commands_def.c - commands defines and settings

  • values_def.h and values_def.c - containing main values structure and auto-generated functions for access and writing to structure

  • messages_def.h and messages_def.c - message defines and messages

All auto-generated files are equipped with /* AUTOGENERATED FILE - DO NOT MODIFY! */ comment. Sections below describe content of each generated file and helping files.

Last updated