sirojudinMunir/sf-motion ? reverse-engineered prompt

Reverse engineered prompt

Build me an open source motor control project for a BLDC or PMSM motor with STM32 firmware and field oriented control.

I want the repo to include the firmware, the custom driver board hardware files, and a small Python app I can use to connect to the board, monitor the motor, and run basic tests like setting pole pairs, doing self commissioning, saving the config, and switching between current, speed, position, open loop, and disable modes.

Make it easy to build and upload from VS Code with PlatformIO, and include clear starter code and setup steps so someone can plug in an ST Link, power the board, and try the first test without guessing. If you need current details for STM32CubeMX, PlatformIO, or the Python GUI libraries, look up the latest docs online.