diff options
| author | Tomáš Jusko | 2022-12-04 20:55:55 +0100 |
|---|---|---|
| committer | J08nY | 2022-12-07 14:01:42 +0100 |
| commit | 28906aa42a64e9349dfeb9bde32e93ec68c0bc27 (patch) | |
| tree | a167fe50da9e108762247c3002f47ef83413800d | |
| parent | 5bfcfa8d958366811a3869b0bf3372593bed075d (diff) | |
| download | pyecsca-28906aa42a64e9349dfeb9bde32e93ec68c0bc27.tar.gz pyecsca-28906aa42a64e9349dfeb9bde32e93ec68c0bc27.tar.zst pyecsca-28906aa42a64e9349dfeb9bde32e93ec68c0bc27.zip | |
| -rw-r--r-- | pyecsca/sca/target/chipwhisperer.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyecsca/sca/target/chipwhisperer.py b/pyecsca/sca/target/chipwhisperer.py index c9380cc..47e3ab0 100644 --- a/pyecsca/sca/target/chipwhisperer.py +++ b/pyecsca/sca/target/chipwhisperer.py @@ -8,8 +8,8 @@ using ChipWhisperer-Lite or Pro. from time import sleep import chipwhisperer as cw -from chipwhisperer.capture.scopes.base import ScopeTemplate -from chipwhisperer.capture.targets import SimpleSerial +from chipwhisperer.capture.scopes import ScopeTypes +from chipwhisperer.capture.targets.SimpleSerial import SimpleSerial from public import public from .flash import Flashable @@ -21,7 +21,7 @@ class ChipWhispererTarget(Flashable, SimpleSerialTarget): # pragma: no cover """ChipWhisperer-based target, using the SimpleSerial protocol and communicating using ChipWhisperer-Lite/Pro.""" def __init__( - self, target: SimpleSerial, scope: ScopeTemplate, programmer, **kwargs + self, target: SimpleSerial, scope: ScopeTypes, programmer, **kwargs ): super().__init__() self.target = target |
