Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
807edfd
Initial commit
JasonBrave Nov 11, 2023
bee751c
Update config file for clang-format 19
JasonBrave Aug 27, 2024
10fe45a
Update config file for clang-format 19 (#15)
JasonBrave Sep 13, 2024
70d175d
Migrate PIC18 timer driver and millis from canlib
JasonBrave Sep 15, 2024
be6f855
Add common return status code enum
JasonBrave Oct 3, 2024
cd11de8
Setup workflow for unit test
JasonBrave Oct 3, 2024
470e828
clang-format low_pass_filter.c
JasonBrave Oct 6, 2024
485bcaf
Common code and unit test (#24)
JasonBrave Oct 8, 2024
a4731ca
Finished porting over low pass filter logic
taisirhassan Oct 16, 2024
0a65caa
Added comments and made alpha_low a pointer in order to allow multipl…
taisirhassan Oct 17, 2024
39975ec
Rename error code enum to w_status_t
JasonBrave Oct 19, 2024
65fad36
Add rocketlib assert function
JasonBrave Oct 21, 2024
3217f7f
Add error code for different error types
JasonBrave Oct 25, 2024
672557f
Error handling and Assert function (#27)
JasonBrave Oct 25, 2024
b9176a7
Update clang-format config on 2D array initialize block
JasonBrave Sep 27, 2024
c8fcae4
Update clang-format 19 config (#20)
JasonBrave Oct 25, 2024
2dd3d88
Rename error code enum to w_status_t
JasonBrave Oct 19, 2024
7faa919
Add rocketlib assert function
JasonBrave Oct 21, 2024
115cb72
Add error code for different error types
JasonBrave Oct 25, 2024
a31defb
Update clang-format config on 2D array initialize block
JasonBrave Sep 27, 2024
869f95e
Finished porting over low pass filter logic
taisirhassan Oct 16, 2024
9b79882
Added comments and made alpha_low a pointer in order to allow multipl…
taisirhassan Oct 17, 2024
d7ea122
Finished porting over low pass filter logic
taisirhassan Oct 16, 2024
0ee279e
Added comments and made alpha_low a pointer in order to allow multipl…
taisirhassan Oct 17, 2024
decca85
Add rocketlib assert function
JasonBrave Oct 21, 2024
d6761fd
Merge branch 'master' into low_pass_filter
taisirhassan Oct 29, 2024
fe96772
fixed some issues with redefining function twice
taisirhassan Oct 29, 2024
355a473
added some comments and also fixed some errors with unit tests workfl…
taisirhassan Oct 30, 2024
f405472
Refactored low pass filter functions to improve error handling and re…
taisirhassan Nov 3, 2024
32b3aeb
Fixed errors with sphinx not compiling properly
taisirhassan Nov 3, 2024
2d17931
Add rocketlib assert function
JasonBrave Oct 21, 2024
a5c7319
fixed some issues with redefining function twice
taisirhassan Oct 29, 2024
4d508bd
Changed update function to return w_status_t instead of a bool; Updat…
taisirhassan Nov 3, 2024
4ab20bc
Added validation for alpha range and improve test output for a singul…
taisirhassan Nov 6, 2024
0a79f2c
forgot to uncomment xc.h library
taisirhassan Nov 6, 2024
09d9705
seriously included a stray comma; also deleted mcu specific library
taisirhassan Nov 11, 2024
9cc97e3
Refactored low-pass filter implementation to replace macros with inli…
taisirhassan Nov 14, 2024
0d9ab18
Refactored low-pass filter update function to use direct alpha parame…
taisirhassan Nov 14, 2024
94cb089
Forgot to update update_low_pass function calls to call alpha using p…
taisirhassan Nov 14, 2024
9d7cd0c
Low Pass Filter Logic Function (#26)
taisirhassan Nov 16, 2024
a2ed6a6
Update version number to 2025.1
JasonBrave Oct 25, 2024
8d324a7
Remove PIC18F26K83 in PIC18 timer driver file
JasonBrave Oct 25, 2024
8955217
2025.1 Release (Washago) (#28)
JasonBrave Nov 28, 2024
8cae1de
Initial electrical constant header
JasonBrave Mar 9, 2025
a414cd0
Electrical constant header (#34)
JasonBrave Apr 27, 2025
410480d
Inital push
joelleg123 May 13, 2025
7c400a9
Added Relevant Include Statements
joelleg123 May 14, 2025
81b3ceb
Alphabetized include statements
joelleg123 May 14, 2025
d70f563
CRC8 Table and Checksum (#39)
joelleg123 May 14, 2025
0a2175a
Add extern C to common.h and low_pass_filter.h
JasonBrave Jun 17, 2025
806c441
Add CRC8 header file
JasonBrave Jun 17, 2025
38cb1f2
Add C++ not supported
JasonBrave Jun 17, 2025
cc7d55b
Improve common.h comment
JasonBrave Jun 17, 2025
ed6a560
Extern c (#45)
JasonBrave Jun 18, 2025
747af47
Update clang-format configuration to version 21
JasonBrave Aug 26, 2025
bbb07ab
Update clang-format 21 options
JasonBrave Aug 27, 2025
1969687
Switch to use tabs
JasonBrave Aug 27, 2025
e3c33ae
Clang-format all code
JasonBrave Aug 27, 2025
e2df5a6
Update clang-format configuration to version 21 (#47)
JasonBrave Aug 27, 2025
48479c9
Migrate pic18 timer doc to doxygen
JasonBrave Oct 4, 2025
d861332
Add CRC8 function documentation
JasonBrave Oct 4, 2025
0440aee
Document standard error code
JasonBrave Oct 4, 2025
c573e24
Document assertion
JasonBrave Oct 4, 2025
90c3826
Format all code
JasonBrave Oct 4, 2025
c208423
Fix typo
JasonBrave Oct 4, 2025
bc6a850
Initial doxygen documentation (#49)
JasonBrave Oct 4, 2025
db3a2dd
Fix low pass filter lint errors
JasonBrave Oct 12, 2025
e1dbcc9
Update unit test to use rockettest framework
JasonBrave Oct 12, 2025
8ff3784
Workflow update (#51)
JasonBrave Oct 15, 2025
cea0490
Document low_pass_filter.h with doxygen docstring
taisirhassan Nov 5, 2025
700c7f9
Add doxygen documentation for low_pass_filter.c functions
taisirhassan Nov 5, 2025
92cf252
PWM Driver Fix (#35)
taisirhassan Nov 7, 2025
e104645
add mbr parser function
x-ximena Nov 10, 2025
acf5eb7
header file includes
x-ximena Nov 10, 2025
d5a3266
adjust header files inclusions
x-ximena Nov 10, 2025
f4f2fda
Add boot signature check
x-ximena Nov 22, 2025
456e0ce
MBR header file update
x-ximena Nov 22, 2025
2dd12d7
add mbr parser function (#62)
x-ximena Nov 22, 2025
528313c
Update rockettest to support testing assertion triggering
JasonBrave Feb 19, 2026
e7f23f4
Add support for assert testing
JasonBrave Feb 20, 2026
087bb7b
Add a CRC8 calculation test
JasonBrave Feb 20, 2026
df17275
Update rockettest to support testing assertion triggering (#75)
JasonBrave Feb 20, 2026
116ec82
Move makefile to root directory
JasonBrave Mar 6, 2026
b3ec387
enable InsertNewlineAtEOF clang-format option
JasonBrave Mar 7, 2026
2dfd052
Create a separate build directory
JasonBrave Mar 7, 2026
e23b162
Enable MC/DC code coverage
JasonBrave Mar 7, 2026
a6f70af
refactor rockettest path handling
JasonBrave Mar 7, 2026
72c3277
Update rockettest related makefile variable
JasonBrave Mar 7, 2026
c03f86e
Add a function in rockettest to generate random integers in range
JasonBrave Mar 8, 2026
c815f4a
Add a clang-format check makefile target
JasonBrave Mar 11, 2026
6bf0ae8
Add xc8 and xc16 compile makefile target
JasonBrave Mar 11, 2026
4e15515
Generalize XC8 compiler DFP path
JasonBrave Mar 11, 2026
3ad5613
refactor unit test section of makefile
JasonBrave Mar 11, 2026
ddf98bf
Fully refactor unit test makefile
JasonBrave Mar 11, 2026
57ae9e2
add a rockettest submodule path make variable
JasonBrave Mar 11, 2026
92af5a5
specify clang-format config file path
JasonBrave Mar 11, 2026
fa03510
Apply user specified C/C++ flags be applied to linting
JasonBrave Mar 11, 2026
e90644b
Use user specified C/C++ flags on Microchip xc8 and xc16 compile
JasonBrave Mar 11, 2026
6e138c7
Workflow update (#83)
JasonBrave Mar 11, 2026
74e7a6c
Add CLAMP macro
lukeqin-s Mar 30, 2026
79a1da5
Changed clamping functions for uint32, int32, and float
lukeqin-s Mar 30, 2026
f25387d
- Added test_map.cpp to test the math functions in common.h.
lukeqin-s Mar 31, 2026
382ca3a
- Removed unused include in test_math.cpp and common.h
lukeqin-s Mar 31, 2026
076ba4e
- Followed clang-format for test_math.cpp
lukeqin-s Mar 31, 2026
e7486bb
Added typedefs for float32_t and float64_t common.h with static asser…
lukeqin-s Apr 3, 2026
3896900
Renamed test_math.cpp to test_mathops.cpp and changed Makefile accord…
lukeqin-s Apr 5, 2026
a505941
Added float32_t, float64_t, and mathops.h with clamp functions (#86)
lukeqin-s Apr 6, 2026
689c964
Use no optimization for unit test run to ensure correct coverage
JasonBrave Apr 12, 2026
491a6a1
Add an option to enable gcc analyzer
JasonBrave Apr 12, 2026
4d01d0f
Add option to enable sanatizers
JasonBrave Apr 12, 2026
c1d6bc0
Apr 12 Library Unit Test flow improvements (#96)
JasonBrave Apr 14, 2026
458684f
Add MBR parse test coverage for invalid boot signature
sky46 Apr 16, 2026
040692d
Add MBR parse test coverage for invalid boot signature (#99)
sky46 Apr 16, 2026
ebf5865
Add a data format error common error code
JasonBrave Apr 15, 2026
36ed0f9
Add a data format error common error code (#98)
JasonBrave Apr 16, 2026
72d2c6b
Add rockettest self test
JasonBrave Apr 20, 2026
9238c06
Implement random with exclude function
JasonBrave Apr 20, 2026
619949a
Add rockettest self test and random generate with exclude function (#…
JasonBrave Apr 20, 2026
085a6dd
Add a buffer underflow error code
JasonBrave Apr 22, 2026
1d63b1f
Add a buffer underflow error code (#102)
JasonBrave Apr 23, 2026
9f39aef
Add W_NO_DATA
JasonBrave Jul 4, 2026
fd5d969
Add W_NO_DATA (#104)
JasonBrave Jul 4, 2026
512c13d
Update clang-format configuration file to version 23
JasonBrave Aug 30, 2026
29d620a
Format all code
JasonBrave Aug 30, 2026
5e8404f
Fix lint error
JasonBrave Aug 30, 2026
a910be6
Update clang-format to version 23 (#106)
JasonBrave Sep 12, 2026
1539642
Remove rocketlib submodule
JasonBrave Sep 30, 2026
fdea79d
merge rocketlib
JasonBrave Sep 30, 2026
301654c
canlib file reorganization, remove dspic33e can driver
JasonBrave Oct 3, 2026
69103ee
Sort all files into folders
JasonBrave Oct 3, 2026
fee9beb
Update include guard format
JasonBrave Oct 4, 2026
0e39e37
Make all header include use absolute path
JasonBrave Oct 7, 2026
0073c94
Update library versioning in common.h
JasonBrave Oct 7, 2026
d198a1f
Add rocketlib.h which includes all device independent headers
JasonBrave Oct 7, 2026
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
308 changes: 308 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,308 @@
# Configuration file for clang-format 23
---
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignConsecutiveAssignments:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
EnumAssignments: false
PadOperators: true
AlignConsecutiveBitFields:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
EnumAssignments: false
PadOperators: false
AlignConsecutiveDeclarations:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: true
AlignFunctionPointers: false
EnumAssignments: false
PadOperators: false
AlignConsecutiveMacros:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
EnumAssignments: false
PadOperators: false
AlignConsecutiveShortCaseStatements:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCaseArrows: false
AlignCaseColons: false
AlignConsecutiveTableGenBreakingDAGArgColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
EnumAssignments: false
PadOperators: false
AlignConsecutiveTableGenCondOperatorColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
EnumAssignments: false
PadOperators: false
AlignConsecutiveTableGenDefinitionColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
EnumAssignments: false
PadOperators: false
AlignEscapedNewlines: Right
AlignOperands: Align
AlignTrailingComments:
AlignPPAndNotPP: false
Kind: Never
OverEmptyLines: 0
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowBreakBeforeNoexceptSpecifier: Never
AllowBreakBeforeQtProperty: false
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseExpressionOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortCompoundRequirementOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine:
Empty: true
Inline: false
Other: false
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: false
AllowShortNamespacesOnASingleLine: false
AllowShortRecordOnASingleLine: EmptyAndAttached
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakBeforeMultilineStrings: false
BinPackLongBracedList: true
BitFieldColonSpacing: Both
BracedInitializerIndentWidth: -1
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterExternBlock: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakAdjacentStringLiterals: true
BreakAfterAttributes: Never
BreakAfterJavaFieldAnnotations: false
BreakAfterOpenBracketBracedList: true
BreakAfterOpenBracketFunction: false
BreakAfterOpenBracketIf: false
BreakAfterOpenBracketLoop: false
BreakAfterOpenBracketSwitch: false
BreakAfterReturnType: None
BreakArrays: true
BreakBeforeBinaryOperators: None
BreakBeforeCloseBracketBracedList: true
BreakBeforeCloseBracketFunction: false
BreakBeforeCloseBracketIf: false
BreakBeforeCloseBracketLoop: false
BreakBeforeCloseBracketSwitch: false
BreakBeforeConceptDeclarations: Always
BreakBeforeBraces: Attach
BreakBeforeInlineASMColon: OnlyMultiline
BreakBeforeReturnType: None
BreakBeforeTemplateCloser: false
BreakBeforeTernaryOperators: true
BreakBinaryOperations:
Default: Never
BreakConstructorInitializers: BeforeColon
BreakFunctionDeclarationParameters: false
BreakFunctionDefinitionParameters: false
BreakInheritanceList: BeforeColon
BreakStringLiterals: true
BreakTemplateDeclarations: MultiLine
ColumnLimit: 100
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: AlignFirstComment
DerivePointerAlignment: false
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
EnumTrailingComma: Remove
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
IncludeBlocks: Preserve
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentAccessModifiers: false
IndentCaseBlocks: false
IndentCaseLabels: true
IndentExportBlock: true
IndentExternBlock: AfterExternBlock
IndentGotoLabels: OuterIndent
IndentPPDirectives: None
IndentRequiresClause: true
IndentWidth: 4
IndentWrappedFunctionNames: false
InsertBraces: true
InsertNewlineAtEOF: true
InsertTrailingCommas: None
IntegerLiteralSeparator:
Binary: 0
BinaryMinDigitsInsert: 0
BinaryMaxDigitsRemove: 0
Decimal: 0
DecimalMinDigitsInsert: 0
DecimalMaxDigitsRemove: 0
Hex: 0
HexMinDigitsInsert: 0
HexMaxDigitsRemove: 0
BinaryMinDigits: 0
DecimalMinDigits: 0
HexMinDigits: 0
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLines:
AtEndOfFile: true
AtStartOfBlock: false
AtStartOfFile: true
KeepFormFeed: false
LambdaBodyIndentation: Signature
LineEnding: DeriveLF
MacroBlockBegin: ''
MacroBlockEnd: ''
MainIncludeChar: Quote
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
NumericLiteralCase:
ExponentLetter: Lower
HexDigit: Lower
Prefix: Lower
Suffix: Upper
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterMethodDeclarationPrefix: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
OneLineFormatOffRegex: ''
PackArguments:
BinPack: BinPack
BreakAfter: 0
PackConstructorInitializers: BinPack
PackParameters:
BinPack: BinPack
BreakAfter: 0
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakBeforeMemberAccess: 150
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakOpenParenthesis: 0
PenaltyBreakScopeResolution: 500
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyIndentedWhitespace: 0
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
PPIndentWidth: -1
QualifierAlignment: Leave
ReferenceAlignment: Pointer
ReflowComments: Always
RemoveBracesLLVM: false
RemoveEmptyLinesInUnwrappedLines: true
RemoveParentheses: Leave
RemoveSemicolon: false
RequiresClausePosition: OwnLine
RequiresExpressionIndentation: OuterScope
SeparateDefinitionBlocks: Always
ShortNamespaceLines: 1
SkipMacroDefinitionBody: false
SortIncludes:
Enabled: true
IgnoreCase: false
IgnoreExtension: false
SortJavaStaticImport: Before
SortUsingDeclarations: LexicographicNumeric
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterOperatorKeyword: false
SpaceAfterTemplateKeyword: true
SpaceAroundPointerQualifiers: Default
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeEnumUnderlyingTypeColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeJsonColon: false
SpaceBeforeParens: ControlStatements
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
AfterNot: false
AfterOverloadedOperator: false
AfterPlacementOperator: true
AfterRequiresInClause: false
AfterRequiresInExpression: false
BeforeNonEmptyParentheses: false
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBraces: Never
SpacesBeforeTrailingComments: 1
SpacesInAngles: Never
SpacesInContainerLiterals: true
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParens: Never
SpacesInParensOptions:
ExceptDoubleParentheses: false
InCStyleCasts: false
InConditionalStatements: false
InEmptyParentheses: false
Other: false
SpacesInSquareBrackets: false
Standard: Latest
TableGenBreakInsideDAGArg: DontBreak
TabWidth: 4
UseTab: AlignWithSpaces
VerilogBreakBetweenInstancePorts: true
WrapNamespaceBodyWithEmptyLines: Always
...
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

Loading
Loading