-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1da5b7a
commit 32f61ad
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
# Optimized Back EMF Observer | ||
|
||
### Dependencies | ||
- C++ 17 compiler (GCC) | ||
- cmake 3.15 | ||
- pre-commit | ||
- clang-format-14 | ||
|
||
### Building the project | ||
1. Open a shell and navigate to project root folder | ||
2. Run the build bash script. This calls the underlying cmake command and runs tests. | ||
``` | ||
./build.sh | ||
``` | ||
3. Binaries are made in the bin folder. Run any executable from the bin folder. | ||
``` | ||
./bin/pi_test | ||
``` | ||
4. To clean the build and bin files, pass `--clean` flag to the build script. | ||
``` | ||
./build.sh --clean | ||
``` |