adi-labgrid-plugins Documentation¶
adi-labgrid-plugins is a labgrid plugin package providing Analog Devices specific drivers, resources, and strategies for automated testing and device control of FPGA SoC systems.
New to adi-labgrid-plugins? Start here with installation and basic usage.
Complete API documentation for all components.
Learn how to configure and use drivers, resources, and strategies.
Contributing, architecture, and implementation patterns.
Version Information
Current version: 0.1.0 (early development)
This is early-stage software under active development. Expect incomplete features and ongoing architectural changes.
Features¶
Power Control: VeSync smart outlets and CyberPower PDU support
Shell Access: XMODEM file transfer over serial console
Boot Strategies: Automated FPGA SoC boot with kernel replacement
Mass Storage: SD card file management via USB mux
Kuiper Linux: Download and manage ADI Kuiper releases
Quick Example¶
# target.yaml
targets:
my_device:
resources:
VesyncOutlet:
outlet_names: 'Device Power'
username: 'user@example.com'
password: 'password'
drivers:
VesyncPowerDriver: {}
# Control device power
from labgrid import Environment
env = Environment("target.yaml")
target = env.get_target("my_device")
power = target.get_driver("VesyncPowerDriver")
power.on() # Turn on device
power.off() # Turn off device