-
Notifications
You must be signed in to change notification settings - Fork 8
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
ladislas/feature/mock mbed digitalout #264
Conversation
ladislas
commented
May 31, 2021
- 🔧 (mbed): Add EXPERIMENTAL_API to target's features
- 🤡 (mbed): Mock mbed::interface::DigitalOut
e6c848c
to
eaaab27
Compare
Codecov Report
@@ Coverage Diff @@
## develop #264 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 56 56
Lines 940 940
=========================================
Hits 940 940 Continue to review full report at Codecov.
|
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.
C'est bon pour moi
Attention toutefois, ça ne fonctionnera que avec mbed-os 6.11 et ultérieur !
|
||
#include "PinNames.h" | ||
|
||
#include "drivers/interfaces/InterfaceDigitalOut.h" |
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.
mbed-os en 6.11, sinon l'erreur suivante survient:
fatal error: 'drivers/interfaces/InterfaceDigitalOut.h' file not found
#include "drivers/interfaces/InterfaceDigitalOut.h"
6d628ad
to
c3de701
Compare
This is necessary to use the DigitalIn interface
To work we need to also stub mbed::gpio_read and mbed::gpio_is_connected
c3de701
to
395a1b9
Compare
Code Climate has analyzed commit 395a1b9 and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |