-
Notifications
You must be signed in to change notification settings - Fork 1.3k
ARMv7-R MPU Port #938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
ARMv7-R MPU Port #938
Changes from 70 commits
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
4a74745
First draft of a CRx MPU Port for FreeRTOS
Skptak d8b0827
Add support for the port in the CMakeLists.txt files
Skptak a33a6dd
Add new spell check words
Skptak 26019cd
Fix copyright headers in the new port files
Skptak 80d0987
Add in Access Control List support to the port
Skptak a119124
Merge branch 'ARM_CRx_MPU' of github.com:Skptak/FreeRTOS-Kernel into …
Skptak 43946db
Refactoring xPortIsAuthorizedToAccessBuffer
Skptak 8922749
Clang format the mpu_wrappers_v2_asm.h file with slight tweaks to the…
Skptak 4f65931
Clang format port.c with slight tweaks to the format options
Skptak 7650690
Clang format portmacro.h with slight tweaks to the format options
Skptak 4c53a43
Add the .clang-format file that is being used to the port
Skptak bdd9f71
Add the CI-CD check for clang formatting the ARM_CRx_MPU port
Skptak dc0e508
Add the ARM_CRx_MPU Demos to the kernel build checks
Skptak b701a46
Merge branch 'main' into ARM_CRx_MPU
Skptak b2c406c
Change to make the .clang-format file work with V14 of clang-format. …
Skptak be4dc05
Slight format change
Skptak d965464
Use my fork for the Demo builds
Skptak e25b6e1
Formatting fix
Skptak b0ec6d0
Ignore the clang format file for the header checks
Skptak fd19c0e
Throw an error if configALLOW_UNPRIVILEGED_CRITICAL_SECTIONS is set to 1
Skptak a60fe75
Fix cSpellWords issue
Skptak 56b400f
Change the parameters for prvMpuSetRegion() to follow the naming conv…
Skptak ae12720
Formatting changes for the portASM.S file
Skptak 96ab824
Merge branch 'main' into ARM_CRx_MPU
Skptak d230780
Remove the use of ulContext and a controlled SVC stack pointer for th…
Skptak 22ff900
Merge branch 'ARM_CRx_MPU' of github.com:Skptak/FreeRTOS-Kernel into …
Skptak 8202d2e
Merge branch 'main' into ARM_CRx_MPU
Skptak 0fc0a5f
Formatting fix
Skptak 63dfe61
Fix assert check in svc enter, remove un-used defines
Skptak aacae9f
Fix formatting in portmacro_asm.h
Skptak 8de6be2
Merge branch 'main' into ARM_CRx_MPU
Skptak 8f9deb4
Add the system call table as an actual extern declaration to the ASM …
Skptak 501daf4
Update spelling wordlist
Skptak c1124d5
Merge branch 'ARM_CRx_MPU' of github.com:Skptak/FreeRTOS-Kernel into …
Skptak 745384b
Make vPortYieldWithinAPI and FreeRTOS_Tick_Handler into more configur…
Skptak 53c84a1
Update the port to use FreeRTOS_IRQ_Handler instead of the VIM functions
Skptak bdeb9eb
Merge branch 'main' into ARM_CRx_MPU
Skptak fdd8565
Add words back to the lexicon that were accidentally removed
Skptak e3d023b
Move the declaration of prvGetMPURegionSizeSetting to the top of the …
Skptak ec67909
Remove the end of interrupt clearing from the FreeRTOS_IRQ_Handler. U…
Skptak 87a20e6
Merge branch 'ARM_CRx_MPU' of github.com:Skptak/FreeRTOS-Kernel into …
Skptak 3120bc3
Merge branch 'main' into ARM_CRx_MPU
Skptak ae6fc13
Formatting fix
Skptak 6f361a2
Remove the CI-CD Check from the FreeRTOS-Kernel repo until after http…
Skptak 9919eee
Merge branch 'main' into ARM_CRx_MPU
Skptak b15717f
Merge branch 'main' into ARM_CRx_MPU
Skptak 494c78d
Use Linux sort for the lexicon
Skptak 2f445ee
Merge branch 'main' into ARM_CRx_MPU
Skptak 3e86449
Merge branch 'main' into ARM_CRx_MPU
Skptak 91d4d24
Respond to PR Feedback
Skptak 902ae3d
Merge branch 'ARM_CRx_MPU' of github.com:Skptak/FreeRTOS-Kernel into …
Skptak 11beb71
Formatting fixes
Skptak 372b65a
Merge branch 'main' into ARM_CRx_MPU
Skptak ca37a2c
Respond to additional review feedback. Use periods at end of briefs. …
Skptak fe424a1
Merge branch 'ARM_CRx_MPU' of github.com:Skptak/FreeRTOS-Kernel into …
Skptak 9cf6c26
Add in functions to enable and disable the MPU background region. Add…
Skptak ec1332e
Remove the default peripheral MPU region from the port. Add declarati…
Skptak 56a51ff
Formatting changes, move function declarations around to make the fil…
Skptak 9da72c2
Merge branch 'main' into ARM_CRx_MPU
Skptak 797f2f2
Formatting tweaks for mpu_wrappers_v2_asm.S
Skptak db8f233
Remove the check for clear tick interrupt. Format comments a little. …
Skptak ca9f1cc
Merge branch 'main' into ARM_CRx_MPU
Skptak 72ee9e3
Fix two incorrect ifdef guards in mpu_wrappers_v2_asm.S
Skptak 5929dc7
Merge branch 'main' into ARM_CRx_MPU
Skptak 1eae231
Merge branch 'main' into ARM_CRx_MPU
Skptak 5f5ed08
Slight formatting change to mpu_wrappers files
Skptak 370498f
Slight changes to formatting
Skptak 80b99d6
Merge branch 'main' into ARM_CRx_MPU
Skptak 34c9579
Merge branch 'main' into ARM_CRx_MPU
Skptak bfb4378
Merge branch 'main' into ARM_CRx_MPU
Skptak 153af86
Fix an incorrect operating mode word in the portASM.S file, slight fo…
Skptak d6e2ab4
Merge branch 'main' into ARM_CRx_MPU
Skptak c195770
Apply git review ptach created by @aggarg
Skptak 2ef0b5d
Remove clang format of the ARM_CRx_MPU Port
Skptak ecd936b
Fix a grammar issue, use longer function ends in port.c. Use @note in…
Skptak e3e7343
Merge branch 'main' into ARM_CRx_MPU
Skptak d8fdd4e
Remove duplicate space from the copyright header
Skptak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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,104 @@ | ||
--- | ||
Language: Cpp | ||
AlignAfterOpenBracket: Align | ||
AlignConsecutiveAssignments: None | ||
AlignConsecutiveBitFields: AcrossEmptyLinesAndComments | ||
AlignConsecutiveDeclarations: None | ||
AlignConsecutiveMacros: AcrossEmptyLinesAndComments | ||
AlignEscapedNewlines: Left | ||
AlignOperands: AlignAfterOperator | ||
AlignTrailingComments: true | ||
AllowAllArgumentsOnNextLine: false | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
AllowShortBlocksOnASingleLine: Never | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortEnumsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: None | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLambdasOnASingleLine: All | ||
AllowShortLoopsOnASingleLine: false | ||
AlwaysBreakAfterReturnType: None | ||
AlwaysBreakBeforeMultilineStrings: false | ||
AlwaysBreakTemplateDeclarations: Yes | ||
BinPackArguments: false | ||
BinPackParameters: false | ||
BitFieldColonSpacing: Both | ||
BraceWrapping: | ||
AfterCaseLabel: true | ||
AfterClass: true | ||
AfterControlStatement: Always | ||
AfterEnum: true | ||
AfterExternBlock: false | ||
AfterFunction: true | ||
AfterNamespace: true | ||
AfterStruct: true | ||
AfterUnion: true | ||
BeforeCatch: true | ||
BeforeElse: true | ||
BeforeLambdaBody: false | ||
BeforeWhile: false | ||
IndentBraces: false | ||
SplitEmptyFunction: true | ||
SplitEmptyRecord: true | ||
SplitEmptyNamespace: true | ||
BreakBeforeBinaryOperators: NonAssignment | ||
BreakBeforeBraces: Custom | ||
BreakBeforeConceptDeclarations: true | ||
BreakBeforeTernaryOperators: true | ||
BreakConstructorInitializers: BeforeColon | ||
BreakInheritanceList: BeforeColon | ||
BreakStringLiterals: true | ||
ColumnLimit: 90 | ||
CompactNamespaces: false | ||
ContinuationIndentWidth: 4 | ||
Cpp11BracedListStyle: false | ||
DerivePointerAlignment: false | ||
EmptyLineBeforeAccessModifier: Always | ||
FixNamespaceComments: true | ||
IncludeBlocks: Preserve | ||
IndentCaseBlocks: false | ||
IndentCaseLabels: true | ||
IndentExternBlock: NoIndent | ||
IndentGotoLabels: true | ||
IndentPPDirectives: BeforeHash | ||
IndentWidth: 4 | ||
IndentWrappedFunctionNames: true | ||
KeepEmptyLinesAtTheStartOfBlocks: false | ||
MaxEmptyLinesToKeep: 1 | ||
NamespaceIndentation: None | ||
PenaltyBreakAssignment: 1000 | ||
PenaltyBreakBeforeFirstCallParameter: 200 | ||
PenaltyBreakComment: 50 | ||
PenaltyBreakFirstLessLess: 120 | ||
PenaltyBreakString: 100 | ||
PenaltyBreakTemplateDeclaration: 10 | ||
PenaltyExcessCharacter: 100 | ||
PenaltyIndentedWhitespace: 0 | ||
PenaltyReturnTypeOnItsOwnLine: 10000 | ||
PointerAlignment: Middle | ||
ReflowComments: true | ||
SortIncludes: false | ||
SortUsingDeclarations: true | ||
SpaceAfterCStyleCast: true | ||
SpaceAfterLogicalNot: false | ||
SpaceAfterTemplateKeyword: false | ||
SpaceBeforeCpp11BracedList: true | ||
SpaceBeforeCtorInitializerColon: false | ||
SpaceBeforeInheritanceColon: false | ||
SpaceBeforeParens: Never | ||
SpaceBeforeRangeBasedForLoopColon: false | ||
SpaceBeforeSquareBrackets: false | ||
SpaceInEmptyBlock: false | ||
SpaceInEmptyParentheses: false | ||
SpacesBeforeTrailingComments: 1 | ||
SpacesInAngles: false | ||
SpacesInConditionalStatement: true | ||
SpacesInContainerLiterals: true | ||
SpacesInCStyleCastParentheses: true | ||
SpacesInParentheses: true | ||
SpacesInSquareBrackets: true | ||
TabWidth: 4 | ||
UseCRLF: false | ||
UseTab: Never | ||
... | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.