aboutsummaryrefslogtreecommitdiff
path: root/pyecsca/sca/target/flash.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyecsca/sca/target/flash.py')
-rw-r--r--pyecsca/sca/target/flash.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/pyecsca/sca/target/flash.py b/pyecsca/sca/target/flash.py
new file mode 100644
index 0000000..be3cfb0
--- /dev/null
+++ b/pyecsca/sca/target/flash.py
@@ -0,0 +1,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:
+ ... \ No newline at end of file