With prerequisites in place, you are ready to build firmware.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.
List supported targets
Runningmake with no arguments prints the full list of supported boards:
100_250.
Build for a specific target
100_250 with the name of your board from the supported boards list.
Build output
Compiled firmware is placed in thebuild/<target>/ directory:
.bin file is used for USB upload via VESC Tool. The .elf file is used when flashing with a SWD debugger.
Additional make targets
| Target | Description |
|---|---|
make | Print the help and supported board list |
make <board> | Build firmware for <board> |
make <board>_flash | Build and flash to <board> via SWD/JTAG |
make <board>_clean | Remove build artifacts for <board> |
make all_fw | Build firmware for all supported boards |
make arm_sdk_install | Install the ARM GCC toolchain |
make qt_install | Install Qt Creator IDE |
Custom hardware
To build firmware for a custom hardware configuration, supply the hardware source and header file paths directly:Build options in conf_general.h
Additional compile-time options are available inconf_general.h. Notable options include:
DISABLE_HW_LIMITS— disables hardware-enforced limits on configuration parameters (commented out by default)USER_MC_CONF— path to a custom motor controller configuration headerUSER_APP_CONF— path to a custom application configuration header
