-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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 gpio_basic_api hangs on cc3220sf_launchxl #22847
Labels
Comments
vanti
changed the title
gpio_basic_api hangs on cc3220sf
gpio_basic_api hangs on cc3220sf_launchxl
Feb 14, 2020
vanti
changed the title
gpio_basic_api hangs on cc3220sf_launchxl
Test gpio_basic_api hangs on cc3220sf_launchxl
Feb 14, 2020
vanti
added a commit
to vanti/zephyr
that referenced
this issue
Feb 15, 2020
In the gpio isr, gpio interrupts are disabled when invoking the registered callbacks. This is unnecessary, and causes a problem if the callback attempts to disable gpio interrupts by reconfiguring the pin as in the test gpio_basic_api. Fixes zephyrproject-rtos#22847 Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
vanti
added a commit
to vanti/zephyr
that referenced
this issue
Feb 17, 2020
Disabling gpio interrupts on the pin prior to changing its interrupt type to level-based helps prevent spurious interrupts that would be otherwise observed, if gpio interrupts were originally enabled when gpio_cc32xx_pin_interrupt_configure() is invoked. Fixes zephyrproject-rtos#22847 Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
galak
pushed a commit
that referenced
this issue
Feb 18, 2020
In the gpio isr, gpio interrupts are disabled when invoking the registered callbacks. This is unnecessary, and causes a problem if the callback attempts to disable gpio interrupts by reconfiguring the pin as in the test gpio_basic_api. Fixes #22847 Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
galak
pushed a commit
that referenced
this issue
Feb 18, 2020
Disabling gpio interrupts on the pin prior to changing its interrupt type to level-based helps prevent spurious interrupts that would be otherwise observed, if gpio interrupts were originally enabled when gpio_cc32xx_pin_interrupt_configure() is invoked. Fixes #22847 Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The test hangs in the middle of execution of test_gpio_deprecated:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The test should not hang
Impact
sanitycheck fails as a result.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: