Skip to content
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

adc: test and sample failed on STM32 #31782

Closed
erwango opened this issue Jan 29, 2021 · 0 comments · Fixed by #31780
Closed

adc: test and sample failed on STM32 #31782

erwango opened this issue Jan 29, 2021 · 0 comments · Fixed by #31780
Assignees
Labels
area: ADC Analog-to-Digital Converter (ADC) bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@erwango
Copy link
Member

erwango commented Jan 29, 2021

Describe the bug
Following issues were seen on adc driver during CI tests on STM32:

samples/drivers/adc/sample.drivers.adc, nucleo_l073rz
tests/drivers/adc/adc_api/drivers.adc, disco_l475_iot1
tests/drivers/adc/adc_api/drivers.adc, nucleo_h743zi

To Reproduce
Run twister on these using stm32 device

Expected behavior
Should be passed

Impact
Sample issue is a simple annoyance, but driver issue can prevent driver usage in some cases

Logs and console output

Running test suite adc_basic_test
===================================================================
START - test_adc_sample_one_channel
E: Only single channel supported

    Assertion failed at ../../src/test_adc.c:352: test_task_one_channel: (ret)
adc_read() failed with code -35

Environment (please complete the following information):

  • OS: (e.g. Linux, MacOS, Windows)
  • Toolchain (e.g Zephyr SDK, ...)
  • Commit SHA or Version used

Additional context
Add any other context about the problem here.

@erwango erwango added the bug The issue is a bug, or the PR is fixing a bug label Jan 29, 2021
@erwango erwango self-assigned this Jan 29, 2021
@erwango erwango added area: ADC Analog-to-Digital Converter (ADC) priority: medium Medium impact/importance bug labels Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ADC Analog-to-Digital Converter (ADC) bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant