Setup configuration

Setup configuration#

In this section, we defined parameters to configure hardware components.

Exemple to configure the ltc2975b and ltm4677a:

  cfg_ltc2975b:
    model: ltc2975
    connection: ftdi
    file: null
    labels: ltc2975b

  cfg_ltm4677a:
    model: ltm4677
    connection: ftdi
    file: null
    labels: ltm4677a

The grammar for The load_cfg is a dictionary. It key identifies the CLI argument used to replace the file path.

model

name of the class, in lower case, describing the component in the package p400model,

connection

connection to be used to configure the component. possible values are ftdi, jtag and pcie

file

the path to the configuration file. It is absolute or relative to the invocation directory. It can also be a file name which is searched in invocation directory and then in the directory p400cfg.PATH_CFG.

labels

label of the component in the map.