For an overview of EVT please see the following links:
This project-template serves as the skeleton template that is used for all EVT board repositories. It contains the following capabilities:
- Includes EVT-core as a submodule and compiled as a library for the board
- Set up to contain code pertinent to the board to be built
- Supports an arbitrary number of executable targets to be built and deployed onto a microcontroller
- These contain targets to be run on a specific EVT custom PCB
- Also contain utilities for validation and debugging
- Provides a framework for auto-generated and built documentation using Sphinx and hosted on
readthedocs.io
-
Create a new repo based on the project-template
- From project-template click
Use this template
- Set the owner of the repository to RIT-EVT
- Name the repo with the new board's acronym
- Set the privacy to Public
- Don't include all branches
- From project-template click
-
Clone the new repo and create a setup branch
git clone <URL>
git checkout -b feature/<github-username>/inital-setup
-
Set the project template up as an upstream repository
git remote add upstream https://github.com/RIT-EVT/project-template
git remote set-url --push upstream no-push
- Confirm that this worked by running
git remote -v
- This should produce output similar to this:
origin https://github.com/RIT-EVT/ABC.git (fetch) origin https://github.com/RIT-EVT/ABC.git (push) upstream https://github.com/RIT-EVT/project-template (fetch) upstream no-push (push)
- Confirm that this worked by running
git fetch upstream
git merge upstream/main --allow-unrelated-histories
-
Update the EVT submodule
git submodule update --init --recursive && git pull
cd ./libs/EVT-core
git merge origin/main
cd ../..
-
Import the project into Read the Docs, following the steps on the wiki
-
Update all instances of BOARD_NAME to match your project name
CMakeLists.txt:28
- Directory
./targets/BIKE_NAME-BOARD_NAME
targets/BIKE_NAME-BOARD_NAME/CMakeLists.txt:3
src/BOARD_NAME.cpp
include/BOARD_NAME.hpp
docs/Doxyfile:35
docs/source/index.rst:6
docs/source/api/index.rst:4,12,15
README.md:56
-
Sample files are included in
./src
and./include
. Once proper functionality has been confirmed, these files should be deleted. There are placeholders to demonstrate the board library building functionality. -
Everything in this README from this final step up should be deleted, leaving only the content below. When finished, all the changes should be committed and pushed to the setup branch, and a PR should be created to merge into main.
One-paragraph summary of the board and its purpose on the bike