Configuration¶
Target Configuration Basics¶
adi-labgrid-plugins uses YAML files to configure targets, resources, and drivers.
Tip
You can use the interactive configuration wizard to generate a valid configuration file automatically:
adi-lg generate-config
Basic Structure¶
targets:
target_name:
resources:
ResourceType:
parameter1: value1
parameter2: value2
drivers:
DriverType: {}
Resource Configuration¶
See Resources API for complete documentation of all available resources.
Driver Configuration¶
See Drivers API for complete documentation of all available drivers.
Example Configurations¶
Complete example configuration files are available in the examples/target_examples/ directory:
simple_power.yaml- Basic power controlboot_fpga_soc.yaml- Complete FPGA SoC bootselmap_boot.yaml- Dual FPGA boot
See Also¶
Configuring Resources - Resource configuration guide
Using Drivers - Driver usage guide
Working with Strategies - Strategy configuration