-
Notifications
You must be signed in to change notification settings - Fork 7
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
✨ (drivers): Add CoreSPI #423
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #423 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 67 70 +3
Lines 1211 1215 +4
=========================================
+ Hits 1211 1215 +4
Continue to review full report at Codecov.
|
File comparision analysis report🔖 Info
📝 SummaryClick to show summary
🗺️ Map files diff outputClick to show diff listNo differenes where found in map files. |
File comparision analysis report🔖 Info
📝 SummaryClick to show summary
🗺️ Map files diff outputClick to show diff listNo differenes where found in map files. |
File comparision analysis report🔖 Info
📝 SummaryClick to show summary
🗺️ Map files diff outputClick to show diff listNo differenes where found in map files. |
e587abd
to
2b870fe
Compare
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.
good first PR! 👍
quelques trucs à faire:
- revoir les suggestions et les intérgrer
- supprimer le dossier CoreLED et toutes les références
- il y a un mocks/leka/SPI.h vide qui traine
- changer tous les 2021 en 2022
783f5c8
to
8c8ce8e
Compare
f8e301c
to
dbb97df
Compare
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.
LGTM 👍
dbb97df
to
6c58b04
Compare
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.
Modulo la question à propos de override
et la suggestion d'initialisation dans les tests, c'est tout bon pour moi 👍
|
||
TEST_F(CoreSPITests, writeOneByte) | ||
{ | ||
expected_written_values = {0x01}; |
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.
Je recommande plutôt de le créer ici plutôt que dans la classe un peu plus haut
expected_written_values = {0x01}; | |
auto expected_written_values = std::vector<uint8_t> {0x01}; |
Ca prend pas plus de place et c'est plus lisible d'une part quand on lit l'entête des classe et pour identifier rapidement quel type on envoie en test
Co-authored-by: Ladislas de Toldi <ladislas@detoldi.me>
Co-authored-by: Ladislas de Toldi <ladislas@detoldi.me>
Co-authored-by: Ladislas de Toldi <ladislas@detoldi.me>
Co-authored-by: Ladislas de Toldi <ladislas@detoldi.me>
6c58b04
to
c72f604
Compare
Kudos, SonarCloud Quality Gate passed! |
No description provided.