Relys / vesc_express

The source code for the VESC Express

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VESC Express

The is the codebase for the VESC Express, which is a WiFi and Bluetooth-enabled logger and IO-board. At the moment it is tested and runs on the ESP32C3, but it might work on other ESP32-devices too.

Toolchain

Instructions for how to set up the toolchain can be found here: https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/get-started/linux-macos-setup.html

Note
ESP-IDF version 5.2 or later is required for building this project.

Get Release 5.2.2

The instructions linked above will install the master branch of ESP-IDF. To install the stable release you can navigate to the installation directory and use the following commands:

git clone -b v5.2.2 --recursive https://github.com/espressif/esp-idf.git esp-idf-v5.2.2
cd esp-idf-v5.2.2/
./install.sh esp32c3

At the moment development is done using the stable 5.2.2-release.

Compiling

Once the toolchain is set up in the current path, the project can be built with

idf.py build

That will create vesc_express.bin in the build directory, which can be used with the bootloader in VESC Tool. If the ESP32c3 does not come with firmware preinstalled, the USB-port can be used for flashing firmware using the built-in bootloader. That also requires bootloader.bin and partition-table.bin which also can be found in the build directory. This can be done from VESC Tool or using idf.py.

About

The source code for the VESC Express

License:GNU General Public License v3.0


Languages

Language:C 81.7%Language:Common Lisp 10.8%Language:NewLisp 4.0%Language:JavaScript 1.9%Language:Shell 0.8%Language:Makefile 0.5%Language:CSS 0.1%Language:CMake 0.1%Language:Python 0.1%Language:Kit 0.0%