neoxic / ESCape32

BLDC motor control firmware for 32-bit ESCs
http://wiki.escape32.org
GNU General Public License v3.0
147 stars 35 forks source link
bldc bldc-esc-firmware bldc-motor-control bldc-motor-controller dshot esc rc

ESCape32

Firmware for 32-bit BLDC motor electronic speed controllers that aims for simplicity. It is designed to deliver smooth and efficient motor drive, fast transitions from a complete stop to full throttle, robust direction reversals, and maximum hardware support.

Features

Installation

The list of compatible ESCs can be found here.

The latest release can be downloaded here.

Visit the ESCape32 Wiki for more information.

Dependencies

Building from source

Use LIBOPENCM3_DIR to specify a path to LibOpenCM3 if it is not in the system root:

git clone https://github.com/libopencm3/libopencm3.git
make -C libopencm3 TARGETS='stm32/f0 stm32/g0 stm32/g4'
cmake -B build -D LIBOPENCM3_DIR=libopencm3

Use CMAKE_INSTALL_PREFIX to specify an alternative system root:

cmake -B build -D CMAKE_INSTALL_PREFIX=~/local

To build all targets, run:

cmake -B build
cd build
make

To flash a particular target using an ST-LINK programmer, run:

make flash-<target>