summaryrefslogtreecommitdiff
path: root/src/drivers/Bma421.cpp
AgeCommit message (Collapse)AuthorFilesLines
2022-06-05Apply clang-format to all C++ filesFinlay Davidson1-4/+10
2021-11-15Move up file header include to topReinhold Gschweicher1-1/+1
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher1-2/+2
Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
2021-06-19Add support for BMA425 acceleration sensor. (#440)JF0021-0/+9
* Add support for BMA425 acceleration sensor.
2021-06-06Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants1-2/+0
variable instead of variables on the heap. We don't need them on the heap as we know their size at build time, it'll reduce memory fragmentation and it'll make memory analysis easier.
2021-04-24Reformatted all the files according to clang-format styleAvamander1-13/+22
2021-04-100.16.0 TWI problems fixJoaquim1-1/+1
More memory for freertos heap and timer stack Fix warning in watchface Fix number of bytes read by cst816 Debug app to show freertos tasks Increased the number of bytes of the twi write buffer
2021-04-08TwiMaster is now based on the NRFX TWI driver, as it handles more edge cases ↵Jean-François Milants1-5/+10
and workarounds for errors on the bus. Reset the TWI bus after the soft-reset of the motion sensor to workaround issues on the TWI bus.
2021-04-04Reset the step count every day at midnight.Jean-François Milants1-0/+4
2021-04-04Handle return code from BMA driver, and set a flag is the initialization ↵Jean-François Milants1-9/+14
fails. This allows to boot InfiniTime even if the device cannot initialize.
2021-04-04Code cleaning in BMA421 driver. Do the axis inversion in the driver and not ↵Jean-François Milants1-48/+28
in the application. NOTE: Axis remapping from the SDK do not apply to the "raw" X/Y/Z values returned to the sensor. According to the doc, the remapping is only applied to features, but I cannot check if it has any effect on step counting (I'm not sure I use it correctly, doc is not complete enough about this feature).
2021-04-04First integration of the motion sensor (bma 421) : step counting + wake on ↵Jean-François Milants1-0/+122
wrist rotation + app to see the value of the 3 axis in "real time".