Software
Mini Cheetah motor controller firmware (motorcontrol)
From github.com/bgkatz/motorcontrol (opens in a new tab)
- Robot arms and industry
- Firmware
- Runs on hardware you can build
- MIT
Firmware for the motor controller boards of the Mini Cheetah robot, written for a specific integrated three-phase controller and designed to be portable to other boards.
Facts
- GitHub stars
- 326read on 28 Nov 2026
- Last update
- 12 Aug 2026Newest commit on master
- Maintenance
- Maintaineda commit in the last 12 months
- Difficulty
- Advanced
- Hardware it needs, as the project states it
- An STM32-based three-phase motor controller board (the bgkatz 3phase_integrated design) with an ST-Link programmer for flashing; a computer with the GNU Arm Embedded Toolchain and make, or STM32CubeIDE.
Checked on GitHub on 28 Nov 2026.
Licenses
- Code
- MIT (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit 93bbc60 (opens in a new tab), on 16 Oct 2026.
- Commercial use
- Yes
At a glance
- What it is
- Targets the motor controller hardware from the companion 3phase_integrated project.
- Builds from the command line with the GNU Arm Embedded Toolchain and make, producing ELF, BIN and HEX outputs.
- Offers a debug build option for easier troubleshooting.
- Can flash the firmware to the board over an ST-Link programmer using STM32_Programmer_CLI or st-flash.
- Also builds inside ST's STM32CubeIDE.
- Most hardware settings are configured through a single hw_config.h file.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- MIT. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Maintained, last commit on 12 Aug 2026.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/bgkatz/motorcontrol (opens in a new tab)
- The version Robotheca read93bbc60 (opens in a new tab)
- Latest releaseNone published on GitHub
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by @bgkatz, at commit 93bbc60, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
motorcontrol
Written specifically for these motor controllers https://github.com/bgkatz/3phase_integrated (opens in a new tab) but intended to be easy to port.
To build from the command line, install the GNU Arm Embedded Toolchain (arm-none-eabi-gcc) and make, then:
make # outputs build/motorcontrol.elf/.bin/.hex
make DEBUG=1 # -Og/-g3 debug build
make flash # flash over ST-Link (STM32_Programmer_CLI or st-flash)
make clean
Also still builds with ST's Cube IDE: https://www.st.com/en/development-tools/stm32cubeide.html (opens in a new tab)
Most hardware configuration can be done through hw_config.h
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.