31 lines
1.2 KiB
YAML
31 lines
1.2 KiB
YAML
# MUM (Melexis Universal Master) interface example.
|
|
# Copy to test_config.yaml or point ECU_TESTS_CONFIG at this file.
|
|
#
|
|
# Prerequisites:
|
|
# - MUM is reachable over IP (default 192.168.7.2 over USB-RNDIS).
|
|
# - Melexis Python packages 'pylin' and 'pymumclient' are importable.
|
|
# See vendor/automated_lin_test/install_packages.sh.
|
|
|
|
interface:
|
|
type: mum
|
|
host: 192.168.7.2 # MUM IP address
|
|
lin_device: lin0 # MUM LIN device name
|
|
power_device: power_out0 # MUM power-control device
|
|
bitrate: 19200 # LIN baudrate
|
|
boot_settle_seconds: 0.5 # Delay after power-up before first frame
|
|
# Path to an LDF; auto-populates frame_lengths and is exposed to tests
|
|
# via the `ldf` fixture (db.frame("ALM_Req_A").pack(...) etc.).
|
|
ldf_path: ./vendor/4SEVEN_color_lib_test.ldf
|
|
# Optional per-frame-id data lengths. When ldf_path is set, anything here
|
|
# only acts as an override on top of the LDF lengths.
|
|
frame_lengths: {}
|
|
|
|
flash:
|
|
enabled: false
|
|
hex_path:
|
|
|
|
# The Owon PSU is unused on the MUM flow (MUM provides power on power_out0).
|
|
# Leave disabled unless you also want to drive the Owon for a separate test.
|
|
power_supply:
|
|
enabled: false
|