Skip to content

Commit ff130f8

Browse files
committed
Update for prebuilt image for OS 934 compatibility
1 parent bf37f33 commit ff130f8

File tree

1 file changed

+16
-0
lines changed
  • content/hardware/04.pro/boards/portenta-x8/tutorials/04.python-arduino-data-exchange

1 file changed

+16
-0
lines changed

content/hardware/04.pro/boards/portenta-x8/tutorials/04.python-arduino-data-exchange/content.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,22 @@ rpc_client = RpcClient(rpc_address)
181181
temperature = rpc_client.call('temperature')
182182
```
183183

184+
You have two options to run the Python® application. For a quick setup, you can use the pre-built `arduino/python-rpc-sensors` image that's maintained. This makes sure you always have the latest compatible version:
185+
186+
```bash
187+
adb shell
188+
```
189+
190+
Pull and run the pre-built image using following command:
191+
192+
```bash
193+
docker run --rm --network=host arduino/python-rpc-sensors
194+
```
195+
196+
This approach is recommended as it's simpler and always uses the latest tested version compatible with the current OS.
197+
198+
If you want to modify the Python® script or learn how the container is built, you can build the image from source.
199+
184200
The complete Python® application files are available in the repository [here](https://github.com/arduino/portenta-containers/tree/main/python-rpc-sensors). Clone or download the repository to your local machine, then upload the `python-rpc-sensors` folder to the Portenta X8 via:
185201

186202
```bash

0 commit comments

Comments
 (0)