Usage
This project is built using Cmake and Makefiles in order to allow users to easily run our code and tets it.
Please follow these necessary steps:
- Clone the project with:
git clone https://github.com/OmarJabri7/Cycle_Buddy.git
- Change directorites and relocate in Cycle_Buddy project:
cd Cycle_Buddy
- Make Build directory containing all executables:
mkdir build && cd build
- Link the necessary executables and libraries using CMake (in build dir):
cmake ..
- Build the project using make (in build dir):
make
- Before Testing and Running the system:
Be sure to either use our GPIO setup, or change to your own in:
GPIO numbering - Generate Unit tests and check if all components pass (in build dir):
make test
- Go to main directory:
cd ..
- Make sure you have permissions to execute run.sh:
chmod +x run.sh
- Run the bash script labeled run.sh:
./run.sh
For more information, please visit this: