fprime
fprime copied to clipboard
add hardware interface tutorial
F´ Version | v3.0.1 |
Affected Component |
Feature Description
A tutorial for building a component that provides a means to communicate with external hardware, s.a., via I2C
Rationale
Such a tutorial would be useful for reading external sensors, s.a., temperature sensors, magnetometers, accelerometers, etc.
This already exists in the form of the GPS tutorial: https://nasa.github.io/fprime/Tutorials/GpsTutorial/Tutorial.html
Thanks @codeflight1, I see the GPS tutorial is for creating a component that defines ports for supplying buffers to a UART driver. Will this port work for I2C as well?
Not sure if this is too late but I had make F' to use I2C driver and have it worked on raspberry pi 3B+. Note that this is built on F' v.2.0. You can check out my repo
This was completed with the system reference! We'll be cleaning up the documentation and layout there over the coming months. However, future work should is tracked there.