-
Notifications
You must be signed in to change notification settings - Fork 0
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
e4da055
commit da795d6
Showing
2 changed files
with
34 additions
and
10 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/mirrors-clang-format | ||
rev: v14.0.0 # Specify the version of clang-format you want to use | ||
hooks: | ||
- id: clang-format | ||
name: Apply clang-format | ||
description: Run clang-format to check and fix C/C++ files | ||
types: [c, c++] | ||
files: \.(c|h|cpp|hpp|cc|cxx|hxx)$ | ||
args: | ||
- --style=file | ||
- --config=../Embedded-Base/clang-format | ||
exclude: | | ||
^(?!.*Embedded-Base/\.clang-format-ignore).*$ | ||
additional_dependencies: [] | ||
|
||
- repo: local | ||
hooks: | ||
- id: clang_restage | ||
name: Restage formatted files | ||
entry: clang_restage | ||
language: system | ||
pass_filenames: false | ||
always_run: true | ||
stages: [commit] |
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,16 +1,15 @@ | ||
# Cerberus | ||
#Cerberus | ||
FreeRTOS Application that runs on MPU22A | ||
|
||
## Setting up Docker Environment | ||
> For initial installation and more info, visit here: https://nerdocs.atlassian.net/wiki/spaces/NER/pages/108888108/Setting+Up+STM32+Dev+Env | ||
##Setting up Environment | ||
> For initial installation and more info, | ||
visit here : https | ||
: // nerdocs.atlassian.net/wiki/spaces/NER/pages/524451844/2024+Firmware+Onboarding+Master | ||
|
||
``` | ||
# TLDR: | ||
# Pull Container: | ||
docker compose pull | ||
After clone, | ||
run : | ||
|
||
# Run Container | ||
docker compose run --rm ner-gcc-arm | ||
``` precommit install | ||
``` | ||
|
||
|
||
before attempting to make a commit |