Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
Language: Cpp
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignConsecutiveMacros: true
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
BinPackArguments: true
BinPackParameters: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: true
BreakStringLiterals: true
ColumnLimit: 120
CommentPragmas: ''
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
ForEachMacros: []
IncludeBlocks: Preserve
IncludeCategories: []
IncludeIsMainRegex: '$'
IndentCaseLabels: true
IndentPPDirectives: None
IndentWidth: 4
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
ReflowComments: true
SortIncludes: false
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpaceBeforeCpp11BracedList: true
SpacesBeforeTrailingComments: 1
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: c++11
TabWidth: 8
UseTab: Never
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
env:
CTEST_OUTPUT_ON_FAILURE: true

permissions:
contents: write

jobs:
fsw:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -70,4 +73,4 @@ jobs:
with:
name: coverage-artifacts
path: docs/coverage


2 changes: 1 addition & 1 deletion components/arducam
Submodule arducam updated 43 files
+64 −0 .clang-format
+38 −0 .github/workflows/linter.yml
+13 −14 fsw/cfs/mission_inc/cam_perfids.h
+16 −15 fsw/cfs/platform_inc/cam_msgids.h
+28 −27 fsw/cfs/platform_inc/cam_platform_cfg.h
+145 −151 fsw/cfs/src/cam_app.c
+38 −39 fsw/cfs/src/cam_app.h
+185 −177 fsw/cfs/src/cam_child.c
+12 −11 fsw/cfs/src/cam_child.h
+59 −58 fsw/cfs/src/cam_events.h
+53 −52 fsw/cfs/src/cam_msg.h
+15 −15 fsw/cfs/src/cam_version.h
+78 −92 fsw/cfs/unit_test/cam_cmd_test.c
+10 −10 fsw/cfs/unit_test/cam_cmd_test.h
+20 −25 fsw/cfs/unit_test/cam_init_test.c
+10 −10 fsw/cfs/unit_test/cam_init_test.h
+27 −25 fsw/cfs/unit_test/cam_test_utils.c
+18 −17 fsw/cfs/unit_test/cam_test_utils.h
+11 −11 fsw/cfs/unit_test/cam_testrunner.c
+13 −14 fsw/fprime/mission_inc/cam_perfids.h
+16 −15 fsw/fprime/platform_inc/cam_msgids.h
+33 −32 fsw/fprime/platform_inc/cam_platform_cfg.h
+145 −151 fsw/fprime/src/cam_app.c
+38 −39 fsw/fprime/src/cam_app.h
+1,716 −2,101 fsw/fprime/src/cam_device.c
+47 −47 fsw/fprime/src/cam_device.h
+59 −58 fsw/fprime/src/cam_events.h
+52 −51 fsw/fprime/src/cam_msg.h
+15 −15 fsw/fprime/src/cam_version.h
+78 −92 fsw/fprime/unit_test/cam_cmd_test.c
+10 −10 fsw/fprime/unit_test/cam_cmd_test.h
+20 −25 fsw/fprime/unit_test/cam_init_test.c
+10 −10 fsw/fprime/unit_test/cam_init_test.h
+27 −25 fsw/fprime/unit_test/cam_test_utils.c
+18 −17 fsw/fprime/unit_test/cam_test_utils.h
+11 −11 fsw/fprime/unit_test/cam_testrunner.c
+228 −227 fsw/shared/cam_device.c
+57 −56 fsw/shared/cam_device.h
+1,312 −1,706 fsw/shared/cam_registers.c
+12 −10 fsw/shared/cam_registers.h
+181 −173 fsw/standalone/arducam_checkout.c
+20 −22 fsw/standalone/arducam_checkout.h
+11 −11 fsw/standalone/device_cfg.h
2 changes: 1 addition & 1 deletion components/generic_adcs
2 changes: 1 addition & 1 deletion components/generic_star_tracker
Submodule generic_star_tracker updated 29 files
+64 −0 .clang-format
+38 −0 .github/workflows/linter.yml
+1 −1 fsw/cfs/mission_inc/generic_star_tracker_perfids.h
+7 −7 fsw/cfs/platform_inc/generic_star_tracker_msgids.h
+9 −9 fsw/cfs/platform_inc/generic_star_tracker_platform_cfg.h
+120 −110 fsw/cfs/src/generic_star_tracker_app.c
+18 −23 fsw/cfs/src/generic_star_tracker_app.h
+22 −22 fsw/cfs/src/generic_star_tracker_events.h
+20 −26 fsw/cfs/src/generic_star_tracker_msg.h
+5 −5 fsw/cfs/src/generic_star_tracker_version.h
+8 −7 fsw/cfs/unit-test/coveragetest/coveragetest_generic_star_tracker_app.c
+1 −1 fsw/cfs/unit-test/inc/ut_generic_star_tracker_app.h
+1 −1 fsw/fprime/mission_inc/generic_star_tracker_perfids.h
+7 −7 fsw/fprime/platform_inc/generic_star_tracker_msgids.h
+9 −9 fsw/fprime/platform_inc/generic_star_tracker_platform_cfg.h
+120 −110 fsw/fprime/src/generic_star_tracker_app.c
+18 −23 fsw/fprime/src/generic_star_tracker_app.h
+95 −96 fsw/fprime/src/generic_star_tracker_device.c
+27 −28 fsw/fprime/src/generic_star_tracker_device.h
+22 −22 fsw/fprime/src/generic_star_tracker_events.h
+20 −26 fsw/fprime/src/generic_star_tracker_msg.h
+5 −5 fsw/fprime/src/generic_star_tracker_version.h
+95 −96 fsw/shared/generic_star_tracker_device.c
+27 −28 fsw/shared/generic_star_tracker_device.h
+4 −4 fsw/standalone/device_cfg.h
+64 −68 fsw/standalone/generic_star_tracker_checkout.c
+15 −15 fsw/standalone/generic_star_tracker_checkout.h
+8 −7 fsw/unit-test/coveragetest/coveragetest_generic_star_tracker_app.c
+1 −1 fsw/unit-test/inc/ut_generic_star_tracker_app.h
2 changes: 1 addition & 1 deletion components/novatel_oem615