-
Notifications
You must be signed in to change notification settings - Fork 2
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
Test error handling for SPI code #315
Open
kamilchmela
wants to merge
42
commits into
master
Choose a base branch
from
test-error-handling-for-spi
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #315 +/- ##
==========================================
- Coverage 87.27% 82.00% -5.28%
==========================================
Files 37 42 +5
Lines 1352 1439 +87
Branches 50 50
==========================================
Hits 1180 1180
- Misses 172 259 +87 ☔ View full report in Codecov by Sentry. |
PatrickKa
force-pushed
the
test-error-handling-for-spi
branch
from
July 27, 2024 11:08
7e5fde1
to
994e1bb
Compare
PatrickKa
force-pushed
the
test-error-handling-for-spi
branch
from
August 23, 2024 13:33
cd593b3
to
80b9b51
Compare
PatrickKa
requested changes
Aug 29, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FlashMock.hpp
only needs to declare what is necessary for mocking in addition toFlash.hpp
. That means you need to remove everything up to and includingextern hal::Spi spi;
and includeFlash.hpp
instead. Also remove the duplicated comments at the top of the file.
PatrickKa
force-pushed
the
test-error-handling-for-spi
branch
2 times, most recently
from
September 3, 2024 19:09
3c9064f
to
72944b6
Compare
kamilchmela
force-pushed
the
test-error-handling-for-spi
branch
from
September 4, 2024 13:21
ee5999c
to
a048173
Compare
kamilchmela
force-pushed
the
test-error-handling-for-spi
branch
4 times, most recently
from
September 16, 2024 12:54
afebffb
to
e7de75c
Compare
PatrickKa
force-pushed
the
test-error-handling-for-spi
branch
4 times, most recently
from
September 23, 2024 18:38
1969100
to
54f7c8a
Compare
PatrickKa
approved these changes
Sep 23, 2024
PatrickKa
force-pushed
the
test-error-handling-for-spi
branch
from
September 29, 2024 12:05
191119d
to
199a3f9
Compare
kamilchmela
force-pushed
the
test-error-handling-for-spi
branch
3 times, most recently
from
September 29, 2024 18:40
fe01b0d
to
09d9d18
Compare
PatrickKa
force-pushed
the
test-error-handling-for-spi
branch
from
November 2, 2024 10:26
51e57a4
to
d5a484f
Compare
- Use proper English grammar and spelling - Add missing line breaks
Rename PeripherySupervision to SpiSupervisor, part 2
This makes it easier to avoid cyclic dependencies.
We actually do need this to break the cyclic dependency between `RealTime.hpp` and `FramLayout.hpp`.
PatrickKa
force-pushed
the
test-error-handling-for-spi
branch
from
November 9, 2024 16:28
1ac2489
to
b202cf8
Compare
The resume functions were not enough. We really needed the threads.
Everything is set up such that the startup tests pass and the real fun can begin in the `run()` method of the test thread.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #305