-
Notifications
You must be signed in to change notification settings - Fork 3
src/corelibs/digitalio: Modified testcase runner. #81
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
Conversation
jaenrig-ifx
left a comment
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.
👍
|
|
||
| TEST_ASSERT_EQUAL_MESSAGE(LOW, digitalRead(TEST_PIN_DIGITAL_IO_INPUT), "Input Pin should be set to LOW initially"); | ||
|
|
||
| //Due to few XMC digital I/O s connected in level translator its always in HIGH state even if we set PULLDOWN, so could not able to test this condition. |
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.
This comment is more helpful if next to the conditional #ifndef block...., or?
LinjingZhang
left a comment
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.
We have to check again if the board type affect the test result.
In HiL, pull down is actually passing and pull up failed: https://github.com/Infineon/XMC-for-Arduino/actions/runs/17151188928/job/48663850307
The Board used in HiL has microSD and Ethernet - please check the one you used is identical.
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
f550ae2 to
ced6f2e
Compare
LinjingZhang
left a comment
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.
test pass. I will approve!
Signed-off-by: MDin <Dinesh.M-EE@infineon.com>
jaenrig-ifx
left a comment
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.
perfect!
By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---
CONTRIBUTING.md also tells you what to expect in the PR process.
Description
Modified digitalio implementation for recent test case update, due to different type of board variants we met failing the test case. Now we decided to use 4700 Relax Kit.
INPUT_PULLUP test case need small delay to stabilize the voltage in floating state so added.
Related Issue
Invalid pin and pinmode got hanged in test case, so left those test case.
Context

tested with XMC4700 Relax kit Board Shorted INPUT and OUTPUT with Jumper wire