m1n1.trace: Add SPI tracer

Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
Janne Grunau 2021-12-07 00:36:01 +01:00 committed by Hector Martin
parent 45824d2676
commit 025fa41e90

View file

@ -0,0 +1,12 @@
# SPDX-License-Identifier: MIT
from ..hw.spi import *
from ..hv import TraceMode
from ..utils import *
from . import ADTDevTracer
class SPITracer(ADTDevTracer):
DEFAULT_MODE = TraceMode.UNBUF
REGMAPS = [SPIRegs]
NAMES = ["spi"]