Before you can build VESC firmware, you need a few system tools and the ARM cross-compiler toolchain.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/vedderb/bldc/llms.txt
Use this file to discover all available pages before exploring further.
System dependencies
- Ubuntu / Linux
- macOS
- Windows
Install the required packages with The packages provide:
apt:git— version controlbuild-essential—makeand core build toolslibgl-dev— OpenGL development headers (required for Qt tools)libxcb-xinerama0— X11 multi-monitor support (required for Qt tools)wget— used by the SDK installer
To use the STLink v2 programmer without root privileges, add the udev rules:
Clone the repository
Install the ARM toolchain
The firmware requires the GNU ARM GCC cross-compiler. The Makefile includes an installer target that downloads and sets up the toolchain automatically:tools/ directory inside the repository. All build output is placed in the build/ directory.
Python 3 and pip (IDE only)
If you plan to use the Qt Creator IDE integration, you also need Python 3 and pip. These are used by themake qt_install target.
- Ubuntu / macOS
- Windows
Python 3 and pip are typically available or installable through your system package manager:
