Skip to content
forked from formulaslug/fs-2

FS-2 control and bms code written using mbed 6

Notifications You must be signed in to change notification settings

DustinWang1/fs-2

 
 

Repository files navigation

FS-2

This repo contains all the software for the fs-2 racecar running on mbed os 5 on the LPC1768 microcontroller.

Projects

  • bms: LTC6811-based bms code for use with the fs-2 accumulator

Getting Started

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.

Method 1: Docker (Recommended)

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.

Method 2: Native

This last method requires the tools be installed manually. The full list of required tools is given below.

Workflow

The workflow should be used as follows.

Git

Features/fixes can only be added with a pull request. Branches should be named as follows.

  • Fix: fix/<short description>
  • Feature: feature/<short description>

All other issues

For any other issues see the mbed documentation.

About

FS-2 control and bms code written using mbed 6

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 82.3%
  • C 12.2%
  • Makefile 2.6%
  • CMake 2.5%
  • GDB 0.4%