-
Notifications
You must be signed in to change notification settings - Fork 0
sched fix (tested on PCU, LV-BMS, HV-BMS and LCU) #594
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
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
e9cbbdb
fix (tested on PCU, LV-BMS and LCU)
victor-Lopez25 773c446
get cleanup to compile
victor-Lopez25 5418b89
format checks
victor-Lopez25 7231bfd
fix tests and scheduler (off by one error)
victor-Lopez25 f60c159
Add a test for get_at
victor-Lopez25 643d2c8
formatting
victor-Lopez25 8629f5e
Add a test for set_at and fix it
victor-Lopez25 175dc80
formatting
victor-Lopez25 9862b38
formatting
victor-Lopez25 cb381bf
try to fix issue in LCU
victor-Lopez25 1c489af
add a test for front_id and pop_front
victor-Lopez25 f1171b4
Merge remote-tracking branch 'origin/development' into fix/scheduler-…
victor-Lopez25 3c16640
add changeset for this pr
victor-Lopez25 e49afea
formatting for changeset :/
victor-Lopez25 fb9fa43
fix (tested on PCU, LV-BMS and LCU)
victor-Lopez25 3eb88ab
get cleanup to compile
victor-Lopez25 6f2eaf8
format checks
victor-Lopez25 d07b4bb
fix tests and scheduler (off by one error)
victor-Lopez25 c199f42
Add a test for get_at
victor-Lopez25 d40395e
formatting
victor-Lopez25 df98f27
Add a test for set_at and fix it
victor-Lopez25 b0a91cd
formatting
victor-Lopez25 6dd5494
formatting
victor-Lopez25 1d96793
try to fix issue in LCU
victor-Lopez25 6e500e4
add a test for front_id and pop_front
victor-Lopez25 7a58320
revert merge from development
victor-Lopez25 8cad77f
searching for case-insensitive STM32 CLT path
jorgesg82 379319e
applied formatter
jorgesg82 8212c6c
removed unused include
jorgesg82 d14ece9
making PacketValue destructor virtual so that CLang doesn't cry
jorgesg82 581bb19
minor fix
jorgesg82 29467e2
commit old changes
victor-Lopez25 b24b1fe
Merge branch 'fix/scheduler-race-cond-part2' of https://github.com/Hy…
victor-Lopez25 b6ead59
fix off by one error in allocating a slot
victor-Lopez25 97473f0
formatting
victor-Lopez25 6c26813
fix old compile error which shouldn't be one
victor-Lopez25 84f0293
Add set_limit_value to set arr in TimerWrapper
victor-Lopez25 1924930
Merge remote-tracking branch 'origin/development' into fix/scheduler-…
victor-Lopez25 a3e7392
fix indentation
victor-Lopez25 e1a4185
indentation, again
victor-Lopez25 0aaac75
formatting
victor-Lopez25 ce5c4a6
Move errorhandler away from interrupt callback
victor-Lopez25 2602f10
ErrorHandler -> WARNING, prescaler calc -> TimerDomain
victor-Lopez25 2e3ae8d
formatting
victor-Lopez25 6e9b99e
Add Infowarning to tests, hopefully this compiles
victor-Lopez25 fa53ac6
formatting, and try to compile tests
victor-Lopez25 3d30a78
formatting
victor-Lopez25 3082bd2
formatting again
victor-Lopez25 6f15c38
change changeset to minor
victor-Lopez25 f7aa319
remove ErrorHandler in TIM_IC_CaptureCallback since it's an interrupt…
victor-Lopez25 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| release: minor | ||
| summary: fix remaining scheduler race conditions and add warning when tasks are not ran in time | ||
|
|
||
| The mechanism for checking if tasks are not ran in time is very simple but that also means the scheduler can only know if a task has not been called when the waiting time runs out for the second time. | ||
| This means you will know if you're too slow to execute the task in less than 2x its period but not if you're between 1 and 2x its period. |
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
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.
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.