Skip to content

Add a VFAT configuration export/import feature

Laurent Petre requested to merge feature/config-export-import into main

Description

In order to modernize the VFAT configurations at P5, we need an easy way to go through, remove, or adjust registers (semi-)manually. Going through the hierarchical configuration is tedious, so this merge request adds commands to export VFAT configurations to a flat CSV-like file and to import such register sets into another VFAT configuration.

This MR also adds an option to adjust the CFG_HYST registers whenever the CFG_THR_ARM ones are modified. See cmsgemos!341 (merged) for the rationale.

Related Issue

How Has This Been Tested?

Thoroughly tested on a set of VFAT configurations for the 904 integration setup.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Merge request reports