This repo contains all the software for the fs-2 racecar running on mbed os 5 on the LPC1768 microcontroller.
bms
: LTC6811-based bms code for use with the fs-2 accumulator
There are two ways to get started with fs-2 development: Docker and native. Docker is the recommended method because it is the easiest to set up and is the best documented.
Docker is the easiest method to get a fully functional toolchain. Docker containers allow for pre-packaged environments to be distributed with minimal setup.
First, install docker here.
Next, to download the docker container with the Mbed toolchain installed, run
docker pull ghcr.io/armmbed/mbed-os-env:mbed-os-6-latest
And then to start a container with the current directory mounted run
docker run -it --rm --mount=type=bind,source="$(pwd)",destination=/var/mbed -w /var/mbed ghcr.io/armmbed/mbed-os-env:mbed-os-6-latest
See the Mbed Docker documentation if you have issues getting the container started.
This last method requires the tools be installed manually. The full list of required tools is given below.
- mbed-tools
- GNU Arm Embedded Toolchain
- Ubuntu/Debian:
gcc-arm-none-eabi
- Brew:
gcc-arm-embedded
- Nix:
nixpkgs.gcc-arm-embedded
- Ubuntu/Debian:
- Make
- CMake
- Your favorite unix shell
The workflow should be used as follows.
Features/fixes can only be added with a pull request. Branches should be named as follows.
- Fix:
fix/<short description>
- Feature:
feature/<short description>
For any other issues see the mbed documentation.