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

Bloolight Zephyr task planning #11

Open
ikerperezdelpalomar opened this issue Apr 27, 2021 · 0 comments
Open

Bloolight Zephyr task planning #11

ikerperezdelpalomar opened this issue Apr 27, 2021 · 0 comments

Comments

@ikerperezdelpalomar
Copy link
Collaborator

  1. Add in just the LED code. Make LEDs work #7
    • Get it compiling with Zephyr GPIO APIs
    • Add a main loop which goes through all the LEDs and toggles them on and off in order every second or so
  2. Add in USB code Add in USB code #8
    • Allow control of the LEDS via USB, so we can remove the test main loop above
  3. Add in Test sensor reading Add in Test sensor reading #9
    • Just get a single sensor reading to start, not over DMA
    • Report the value over USB
    • Some sensors will need the opamps to work, that's the next step, but get the ones that don't working
  4. Add in opamps Add in Test sensor reading #9
    • Get sensor readings working with the opamps
  5. Add in full sensor reading Add in full sensor reading #10
    • Use DMA to get the reading
    • At this point the code should be almost functionally the same as bloodlight is at the moment
      • It's ok if it runs a bit slower
  6. Optimise
    • We might end up with the task scheduling not being ideal after the above
    • Try to tune the task scheduling to get it running at full speed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant