-
Notifications
You must be signed in to change notification settings - Fork 8.2k
tests: drivers: gpio: gpio_basic_api: Enable test on rpi_pico #83427
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
tests: drivers: gpio: gpio_basic_api: Enable test on rpi_pico #83427
Conversation
7399159 to
8748061
Compare
If GPIO_DISCONNECTED is requested with gpio_pin_configure, it will return -ENOTSUP since rpi_pico does not support it. Signed-off-by: TOKITA Hiroshi <[email protected]>
8748061 to
55dfd2c
Compare
55dfd2c to
cb6058d
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.
|
@ThreeEights |
ThreeEights
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.
Approved.
Add an overlay for `rpi_pico` and `rpi_pico2` to run this test. Signed-off-by: TOKITA Hiroshi <[email protected]>
cb6058d to
79ee6dc
Compare
|
@henrikbrixandersen @ThreeEights I have only changed the GPIO pin numbers a little. |
|
@kartben @fabiobaltieri |
I found that gpio_basic_api testing had not been performed in rpi_pico, so I added this setting and performed testing.
As a result, GPIO_DISCONNECTED was being mishandled, so I have fixed this.
For rpi_pico2, due to an errata for RP2350-E9, INPUT and PULLDOWN cannot be enabled
simultaneously on the RP2350.
Set CONFIG_SKIP_PULL_TEST to avoid the test that causes the issue.