Windows Distribution and SDK Usage
Channel compatibility: See shared/channel-compat.mdFor full cross-platform diagnostics (Linux
slcan + Windows pcan), see can-debugging.md.
This guide explains how to ship and consume motorbridge on Windows.
Artifact Matrix
- Python users:
- install
.whl(motorbridge-<ver>-cp3xx-...-win_amd64.whl)
- install
- C/C++ users:
- use ABI
.zip(motorbridge-abi-<ver>-windows-x86_64.zip)
- use ABI
- Linux-only package:
.debis for Ubuntu/Linux and is not installable on Windows
- MSI:
- optional convenience installer, not required for SDK usage
Runtime Dependencies
- PEAK PCAN driver installed
PCANBasic.dllavailable from PCAN-Basic runtime
Build Windows ABI Locally
target/release/motor_abi.dlltarget/release/motor_abi.lib
Build Windows Python Wheel Locally
- The wheel build now embeds the ABI DLL automatically.
- If the ABI DLL cannot be found, wheel build fails fast with a clear error.
Install and Verify Python SDK
Install and Verify C/C++ ABI
- Download
motorbridge-abi-<ver>-windows-x86_64.zip. - Extract include/lib to your dependency folder.
- Link
motor_abi.dll+ import lib in your project.
Channel and Bitrate Conventions on Windows
can0maps toPCAN_USBBUS1can1maps toPCAN_USBBUS2- Add bitrate as suffix:
can0@1000000