Skip to content

Host support

Christian Köhlke edited this page Dec 28, 2025 · 3 revisions

Single Board Computer (Raspberry Pi)

  • Raspberry Pi
  • Nvidia Jetson
  • Luckfox Pico
  • Orange Pi The lib detects the Board based on the content of /proc/device-tree/model automatically. If you want your board supported, you need to find a gpio library that works on your board (RPi.GPIO, gpiozero etc) and write a wrapper for it. Then it needs to be added to this board_mapping

Just clone the Repository directly on the board and run a demo script on it.

Windows (FT232H)

With the lib PyFtdi this lib can be used to control a TMC driver via USB and a FT232H. One Limitation of this is, that the FT232H does not support interrupts and therefore StallGuard via interrupt pin can't be used.

Micropython

With version 0.9 changes were made to support Micropython. Micropython does not have all lib builtin that the normal CPython has. Some of those dependencies were removed, but some are still needed. Some of the minimal implementation as replacements for Micropython are available through mip (abc, threading, types). But Enum ist still not supported. All external modules needed for Micropython are currently in the repository subfolder.

MicroPico

The VScode Addon MicroPico can be used to upload the lib to the Micropython Controller:

https://github.com/paulober/MicroPico

https://marketplace.visualstudio.com/items?itemName=paulober.pico-w-go

Before running a demo script, this lib and all external libs need to be uploaded to the board

grafik grafik grafik

Both the content of the src folder and the external libs in the micropython folder needs to be uploaded to the controller.

Afterward a demo script can be run with the Run button on the status bar

grafik

Clone this wiki locally