Restoring configuration from source code

All Config tools have a possibility of restoring configuration from the source code. The generated code below contains information about the Clocks tool settings that are used in the tool (block within a comment in YAML format).

The following is an example of the settings information in the generated source code.
Figure 1. Setting Information in the source code
If this information is not corrupted, it is possible to reimport the clock settings into the tool using the following steps.
  1. In the Menu bar, select File > Import….
  2. From the list, select S32 Configuration Tools > Import Source Files.
  3. Click Next.
  4. Click Browse.
  5. Navigate and select the source file previously produced by one of the Config tools (for example, clock_config.c).
  6. If the settings parse successfully, clock configurations are added into the current global configuration.