An open source motor controller firmware.
This is the source code for the VESC DC/BLDC/FOC controller. Read more at https://vesc-project.com/
All of them!
Check the supported boards by typing make
[Firmware]
fw - Build firmware for default target
supported boards are: 100_250 100_250_no_limits 100_500...
There are also many other options that can be changed in conf_general.h.
git
, wget
, and make
libgl-dev
and libxcb-xinerama0
sudo apt install git build-essential libgl-dev libxcb-xinerama0 wget git-gui
brew install stlink
brew install openocd
Open up a terminal
git clone http://github.com/vedderb/bldc.git
cd bldc
choco install make
git clone http://github.com/vedderb/bldc
cd bldc
git checkout origin/master
make arm_sdk_install
make
<-- Pick out the name of your target device from the supported boards list. For instance, I have a Trampa VESC 100/250, so my target is 100_250
make 100_250
<-- This will build the VESC 100/250 firmware and place it into the bldc/builds/100_250/
directoryLinux Optional - Add udev rules to use the stlink v2 programmer without being root
wget vedder.se/Temp/49-stlinkv2.rules
sudo mv 49-stlinkv2.rules /etc/udev/rules.d/
sudo udevadm trigger
python3
, and pip
pip install aqtinstall
make qt_install
tools/Qt/Tools/QtCreator/bin/qtcreator
Project/Qt Creator/vesc.pro
_flash
to the target of your choice. So for instance, for the VESC 100/250:
make 100_250_flash
In VESC tool
build/100_250/100_250.bin
)you will need to upload a new working firmware to the VESC.
However, to upload a firmware to a bricked VESC, you have to use a SWD Debugger.
Head to the forums to get involved and improve this project. Join the Discord for real-time support and chat
Every firmware release has a tag. They are created as follows:
git tag -a [version] [commit] -m "VESC Firmware Version [version]"
git push --tags
The software is released under the GNU General Public License version 3.0