aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/Bma421.cpp
Commit message (Collapse)AuthorAgeFilesLines
* src: Enable unused parameter warningRiku Isokoski2023-01-241-1/+1
| | | | | | Fix warnings. Some clang-formatting was necessary. DebugPins is unused and was removed.
* Update clang-{format,tidy} to 14Finlay Davidson2023-01-041-0/+2
| | | | | Also add configuration options only available in 13 and 14. Fixes warning about -fstack-usage in clang-tidy check.
* Apply clang-format to all C++ filesFinlay Davidson2022-06-051-4/+10
|
* Move up file header include to topReinhold Gschweicher2021-11-151-1/+1
|
* Update includes to to be relative to src directoryReinhold Gschweicher2021-11-151-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.
* Add support for BMA425 acceleration sensor. (#440)JF0022021-06-191-0/+9
| | | * Add support for BMA425 acceleration sensor.
* Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants2021-06-061-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.
* Reformatted all the files according to clang-format styleAvamander2021-04-241-13/+22
|
* 0.16.0 TWI problems fixJoaquim2021-04-101-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
* TwiMaster is now based on the NRFX TWI driver, as it handles more edge cases ↵Jean-François Milants2021-04-081-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.
* Reset the step count every day at midnight.Jean-François Milants2021-04-041-0/+4
|
* Handle return code from BMA driver, and set a flag is the initialization ↵Jean-François Milants2021-04-041-9/+14
| | | | fails. This allows to boot InfiniTime even if the device cannot initialize.
* Code cleaning in BMA421 driver. Do the axis inversion in the driver and not ↵Jean-François Milants2021-04-041-46/+26
| | | | | | 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).
* First integration of the motion sensor (bma 421) : step counting + wake on ↵Jean-François Milants2021-04-041-0/+122
wrist rotation + app to see the value of the 3 axis in "real time".