aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/sca/target/flash.py
blob: bfdb79f393ef19153d6037ddc20f20a4e8b269fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
from public import public
from abc import ABC, abstractmethod


@public
class Flashable(ABC):
    """A flashable target."""

    @abstractmethod
    def flash(self, fw_path: str) -> bool:
        ...