mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-12-20 18:53:08 +00:00
28 lines
510 B
Python
28 lines
510 B
Python
|
# SPDX-License-Identifier: MIT
|
||
|
|
||
|
from m1n1.trace.dart import DARTTracer
|
||
|
|
||
|
DARTTracer = DARTTracer._reloadcls()
|
||
|
|
||
|
DEVICES = [
|
||
|
"/arm-io/dart-pmp",
|
||
|
"/arm-io/dart-sep",
|
||
|
"/arm-io/dart-sio",
|
||
|
"/arm-io/dart-usb1",
|
||
|
"/arm-io/dart-disp0",
|
||
|
"/arm-io/dart-dcp",
|
||
|
"/arm-io/dart-dispext0",
|
||
|
"/arm-io/dart-dcpext",
|
||
|
"/arm-io/dart-scaler",
|
||
|
]
|
||
|
|
||
|
dart_tracers = {}
|
||
|
|
||
|
for i in DEVICES:
|
||
|
tracer = DARTTracer(hv, i, verbose=3)
|
||
|
tracer.start()
|
||
|
|
||
|
dart_tracers[i.split("-")[-1]] = tracer
|
||
|
|
||
|
del tracer
|