pkg/arduino_adafruit_sensor: add Adafruit Unified Sensor Driver as package#17460
Conversation
e0433d3 to
8d32d6d
Compare
8d32d6d to
e577981
Compare
e577981 to
fa7d4d9
Compare
| @@ -0,0 +1,2 @@ | |||
| CFLAGS += "-DARDUINO = 100" | |||
There was a problem hiding this comment.
It just says the source code of the package that we have an Arduino version >= 1.0. This is usually set by the Arduino IDE.
There was a problem hiding this comment.
Mind adding a comment? Squashing out that f and triggering ci?
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
A number of Adafruit sensor drivers use the class Adafruit_Sensor from the Adafruit Unified Sensor Driver. To support such drivers, the Adafruit Unified Sensor Driver is imported as package.
Ok, after almost a year I rebased the PR onto the latest master and fixed the comment in the commit messages. The only change is that I upgraded the package to the latest version of the package. |
fa7d4d9 to
6b9690c
Compare
|
bors merge |
|
Build succeeded: |
|
Thanks for reviewing and merging. |
Contribution description
This PR provides the Adafruit Unified Sensor Driver as package.
There are a number of Adafruit sensor drivers which all use a common base class
Adafruit_Sensorfrom the Adafruit Unified Sensor Driver. To support such drivers, the Adafruit Unified Sensor Driver is provided as package.Adafruit sensor driver for ST LSM9DS0 will be provided as separat PR as package for demonstration and testing.
PR #12518 will be rebased for testing to have an Adafruit sensor driver for a sensor for which there is a native driver in RIOT.
Testing procedure
Use a board that provides the
arduinofeature and flashPR #12518 can be used as a more complex test for using the package.
Issues/PRs references
Prerequisite for PR #12518