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

api: adc: exists needs to handle number of channels #485

Merged
merged 4 commits into from
Aug 8, 2023
Merged

Commits on Aug 4, 2023

  1. api: adc: exists needs to handle #channels

    This is a bug in the kernel which will be fixed in future releases but
    for now we enable the ADC example to work.
    bradjc committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    8fbffb7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3fac699 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. unittest: adc: mock actual kernel on exists

    Kernel reports success_u32 with the number of channels.
    bradjc committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    b04225d View commit details
    Browse the repository at this point in the history
  2. api: adc: implement desired exists

    We want exists to be a boolean, but it currently isn't in the kernel, so
    we hide the success_u32 in the api layer.
    
    When tock updates to change this we can remove this .and() call.
    bradjc committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    6c49c88 View commit details
    Browse the repository at this point in the history