-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor/mpu manager #537
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
Refactor/mpu manager #537
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
e2af8c5
Initial structure
jorgesg82 3eec305
no need to have an id for instance
jorgesg82 fa3498b
erased no longer needed code
jorgesg82 c92a738
Added DigitalInput and DigitalOutput Services, and added support for …
jorgesg82 9dc516b
Replaced throw by undefined function
jorgesg82 d9263fe
Implemented alternate functions
jorgesg82 4cd2796
Added linker script and startup code, and fixed using hal template conf
jorgesg82 c4748dd
Added initial GPIO mock
jorgesg82 c440540
feat(MPU): Initial structure && design of the API
FoniksFox 3286140
fix(MPU): Bug fixing (MPU subregion calculation, throws and alignment…
FoniksFox 755fd4b
fix(MPU): Minor bug fixes (missing std::, incorrect subregion mask)
FoniksFox 1b5c8fe
feat(MPU): Initial implementation of MPUManager refactor
FoniksFox ed0a65a
feat(MPU)!: Bug fixing and changes on the infrastructure to allow pro…
FoniksFox aa7dddc
reafactor(MPU): Support legacy MPUManager without conflicts
FoniksFox 3f826bd
fix(MPU): Remove MPUManager start call from HALAL init
FoniksFox 6c28294
feat(MPU): Modify linker scripts for MPU configuration
FoniksFox 4352de3
fix(MPU): Remove legacy things
FoniksFox 5d0dbd0
fix(MPU): Fix legacy MPUManager
FoniksFox a365558
fix(MPU): Fix no buffer array of size zero issue
FoniksFox d40a213
fix(MPU): Fix ST-LIB so that it accepts templated objects for MPU buf…
FoniksFox 6e8eac8
feat(MPU): Add concepts and safer interface
FoniksFox f0f99ec
feat(MPU): Make construct method return a reference instead of pointer
FoniksFox 6410c72
fix(MPU): Relax constraints on MPU buffers to allow trivially destruc…
FoniksFox 2a291dc
style(MPU): Better wording and documentation
FoniksFox 846d52d
feat(MPU): Make MPU ultra restrictive, should check that there's no r…
FoniksFox 20d2b63
Merge branch 'development' into refactor/MPUManager
FoniksFox ad4bda0
fixed getting wrong instance
jorgesg82 328cca0
marked indexs as mutable
jorgesg82 285ee2c
Merge remote-tracking branch 'origin/fix/compile-infrastructure' into…
FoniksFox 804e7b9
fix(MPU): Implemente st-lib fix
FoniksFox f27035c
Fixed instance_of method. Now add interface needs the Device
jorgesg82 7250221
Merge branch 'fix/compile-infrastructure' into refactor/MPUManager
FoniksFox ae95584
fix(MPU): Apply the fix of the fix
FoniksFox 33bb954
fix(MPU): Make the MPUManager take it's buffer pointer from a linker …
FoniksFox 42a3b99
style(MPU): Remove comment
FoniksFox 9ad00ad
Merge remote-tracking branch 'origin/development' into refactor/MPUMa…
FoniksFox a5c621f
feat(MPU): Some missing things
FoniksFox c8de2d6
fix: Delete hal_gpio_interface.h from this branch
FoniksFox 2e3bbb8
refactor(MPU): Refactor the refactor of the MPU, now use linker scrip…
FoniksFox 17a8c54
feat(MPU): Use more coherent MPU settings for better performance
FoniksFox 4b49baa
fix(MPU): Make Stack and Heap use DTCM RAM
FoniksFox c7afa17
fix(MPU): Move ETH buffers to D1_NC ram, also add the buffer definiti…
FoniksFox 74b393e
fix(MPU): Use DTCM for static memory
FoniksFox c4d8a48
feat(MPU): Add ram_code section for functions to be executed from ITC…
FoniksFox 2e9e9ad
fix(MPU): Fix comment with invalid syntax
FoniksFox 3695e16
fix(MPU): ADD ram_dx definitions to linker scripts
FoniksFox bed6a77
fix(MPU): Fix linker incompatibility thing
FoniksFox a770b07
fix(MPU): Differentiate user, legacy, and buffer sections for MPU RAM…
FoniksFox e003dad
fix(MPU): Reorder sections in linker script to ensure buffers are pla…
FoniksFox d353691
fix(MPU): Apply same change as before to the other linker
FoniksFox 736fac5
fix(MPU): Delete Ethernet::mpu_start functions for safety
FoniksFox 19c87a0
feat(MPU): Add helpers
FoniksFox 7fc94a8
style(MPU): Use log2 and max instead of cascading logic in linker scr…
FoniksFox f63b57e
feat(MPU): Minor improvements
FoniksFox aac818f
Merge branch 'refactor/MPUManager' of https://github.com/Hyperloop-UP…
FoniksFox 2e19ce0
fix(MPU): Use std::ranges::find instead of contains to pass checks
FoniksFox cf94046
feat(MPU): Change default memory domain to D1 for buffer allocations
FoniksFox 3676cf5
feat(MPU): Use absolute values rather than addresses and casts for Li…
FoniksFox c3f8f7a
feat(MPU): Add constructor using entry to allow for named parameters
FoniksFox 87b5291
fix(MPU): Fix the compile error given by compile_error
FoniksFox eb3be8f
Merge branch 'development' into refactor/MPUManager
FoniksFox 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
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
|---|---|---|
|
|
@@ -38,7 +38,6 @@ class Ethernet{ | |
| static void update(); | ||
|
|
||
| private: | ||
| static void mpu_start(); | ||
| }; | ||
|
|
||
| #endif | ||
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
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.