Skip to content

Commit

Permalink
Update README with build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
RacecarJ authored Dec 10, 2020
1 parent 8129bda commit 6151ce8
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,41 @@ The firmware and configuration file are version 5.01 of the firmware.

There is a configuration file for for VESC 6 Plus in the VESC-Configuration/VESC-6-Plus-30k.xml.

<h3>How firmware is built</h3>

The general instructions for building the firmware are on the Vedder Github account, bottom of the page:
https://github.com/vedderb/bldc Before building, you will need to change a parameter which tells the firmware to use the PPM port to as an output. We use that to control the steering servo.

<blockquote>
$ git clone https://github.com/vedderb/bldc.git
$ cd bldc
</blockquote>

Edit the file conf_general.h and change:
<blockquote>
#define SERVO_OUT_ENABLE 0
</blockquote>
to:
<blockquote>
#define SERVO_OUT_ENABLE 1
</blockquote>
then you are ready to build:
<blockquote>
$ make
</blockquote>

The resulting firmware file is inside the "build" directory: BLDC_4_ChibiOS.bin

Typically this is renamed to VESC_servoout.bin

You can then upload this to the VESC using the VESC tool.

<h3>Notes</h3>

<h4>November 2020</h4>

* The VESC 6 MkV has been released, but the master branch has not been updated in the Vedder bldc repository.

<h4>September 2020</h4>

* Add firmware and configuration for the VESC MkIV, firmware version 5.01.
Expand Down

0 comments on commit 6151ce8

Please sign in to comment.