Skip to content

Commit 7ba98e5

Browse files
authored
Merge pull request #1647 from Bastian-Krause/bst/fastboot-erase
driver/fastbootdriver: add erase method
2 parents 080502d + e827a27 commit 7ba98e5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

labgrid/driver/fastbootdriver.py

+5
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ def flash_all(self):
109109
for partition in self.flash_images.keys():
110110
self.flash(partition)
111111

112+
@Driver.check_active
113+
@step(args=['partition'])
114+
def erase(self, partition):
115+
self('erase', partition)
116+
112117
@Driver.check_active
113118
@step(args=['cmd'])
114119
def run(self, cmd):

0 commit comments

Comments
 (0)