ecu-tests/config/test_config.yaml

45 lines
1.5 KiB
YAML

interface:
# MUM (Melexis Universal Master) is the current default. Switch type to
# 'babylin' for the legacy SDK flow, or 'mock' for hardware-free runs.
type: mum
host: 192.168.7.2 # MUM IP (USB-RNDIS default)
lin_device: lin0 # MUM LIN device name
power_device: power_out0 # MUM power-control device (built-in PSU)
bitrate: 19200 # LIN baudrate
boot_settle_seconds: 0.5 # Wait after power-up before sending the first frame
# Path to an LDF (LIN description file). When set, tests can use the
# `ldf` fixture to pack/unpack frames by signal name, and the MUM adapter
# auto-populates frame_lengths from the LDF (any keys you add below
# override the LDF on a per-frame-id basis).
ldf_path: ./vendor/4SEVEN_color_lib_test.ldf
frame_lengths: {} # leave empty unless you need a non-LDF override
# --- BabyLIN (legacy) settings, used only when type: babylin ---
channel: 0
node_name: ECU_TEST_NODE
sdf_path: .\vendor\4SEVEN_color_lib_test.sdf
schedule_nr: -1 # -1 = don't auto-start a schedule
flash:
enabled: false
hex_path:
# Owon PSU is independent of the LIN interface. The MUM provides its own
# power on power_out0, so leave the PSU disabled unless you specifically
# need to drive an external supply for over/under-voltage scenarios.
power_supply:
enabled: false
# port: COM4
baudrate: 115200
timeout: 2.0
eol: "\n"
parity: N
stopbits: 1
xonxoff: false
rtscts: false
dsrdtr: false
# idn_substr: OWON
do_set: false
set_voltage: 13.0
set_current: 1.0