File tree Expand file tree Collapse file tree
python/packages/jumpstarter-driver-ridesx Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,14 +105,14 @@ Both drivers require:
105105
106106### Flash Single Partition
107107
108- ``` {testcode}
109- # Flash a single partition
108+ ``` {code-block} python
109+ # Flash a single partition (paths must exist; flash runs fastboot on the exporter)
110110ridesx_client.flash("/path/to/boot.img", target="boot")
111111```
112112
113113### Flash Multiple Partitions
114114
115- ``` {testcode}
115+ ``` {code-block} python
116116# Flash multiple partitions
117117partitions = {
118118 "boot": "/path/to/boot.img",
@@ -126,22 +126,22 @@ ridesx_client.flash(partitions)
126126
127127The driver automatically handles compressed images (` .gz ` , ` .gzip ` , ` .xz ` ):
128128
129- ``` {testcode}
129+ ``` {code-block} python
130130# Flash compressed images - decompression is automatic
131131ridesx_client.flash("/path/to/boot.img.gz", target="boot")
132132```
133133
134134### Power Control
135135
136- ``` {testcode}
136+ ``` {code-block} python
137137# Turn device power on
138- ridesx_power_client .on()
138+ power_client .on()
139139
140140# Turn device power off
141- ridesx_power_client .off()
141+ power_client .off()
142142
143143# Power cycle the device
144- ridesx_power_client .cycle(wait=5) # Wait 5 seconds between off/on
144+ power_client .cycle(wait=5) # Wait 5 seconds between off/on
145145```
146146
147147## Features
You can’t perform that action at this time.
0 commit comments