Software to run the BLDC-Motorcontrol board. Here is the hardware (KiCAD): link Software for the USB-Host here: link
Kudos to libopencm3 for all those register definitions! For convenience CRANC is utilized here to speed up the software development process and render the code more readable.
Most of the code should be pretty self explanatory; and thanks to CRANC there isn't much code to speak of!