mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-12-25 20:53:05 +00:00
22 lines
382 B
Python
22 lines
382 B
Python
|
# SPDX-License-Identifier: MIT
|
||
|
|
||
|
from m1n1.trace.dart8110 import DART8110Tracer
|
||
|
|
||
|
DART8110Tracer = DART8110Tracer._reloadcls()
|
||
|
|
||
|
DEVICES = [
|
||
|
"/arm-io/dart-apr0",
|
||
|
"/arm-io/dart-apr1",
|
||
|
]
|
||
|
|
||
|
dart_tracers = {}
|
||
|
|
||
|
for i in DEVICES:
|
||
|
p.pmgr_adt_clocks_enable(i)
|
||
|
tracer = DART8110Tracer(hv, i, verbose=3)
|
||
|
tracer.start()
|
||
|
|
||
|
dart_tracers[i.split("-")[-1]] = tracer
|
||
|
|
||
|
del tracer
|