A problem someone should probably be working on: high quality high performance stepper motor drivers (ala TMCs) as open source firmware to run on dirt cheap commodity MCUs.

Both supply chain instability and fascist regimes wanting to restrict ordinary people's access to CNC machinery (including #3dprinting) risk making it hard to get commercial drivers, and they're overpriced anyway. But general purpose MCUs and mosfets are easy to get.

@dalias
How many microsteps do you need?
maybe you could modify a bldc library like https://www.simplefoc.com/
Arduino Simple Field Oriented Control project

Arduino Based Field Oriented Control library and shield aimed to demystify the FOC algorithm for the hobby community.

Simple FOC