Skip to content

Commit

Permalink
sensing: implement the phy_3d_sensor
Browse files Browse the repository at this point in the history
This patch is to implement the phy_3d_sensor in sensing subsystem. It's a
wrapper layer of AGM sensor driver for sensing subsystem. It supports
the accelerometer and gyrometer now.
This has been tested with lsm6dso and lis2dw12 on hardware and bmi160 on
native_posix simulator. It can work fine while sensor is either in polling
mode or in data ready trigger mode. And set_sensitivity function is just
implemented following api definition and not tested yet.

Tested with:
$ west build -p -b native_posix samples/subsys/sensing/simple/ -t run

Signed-off-by: Zhang Lixu <lixu.zhang@intel.com>
  • Loading branch information
lixuzha committed Jul 13, 2023
1 parent 7da18d0 commit dfe3886
Show file tree
Hide file tree
Showing 2 changed files with 376 additions and 14 deletions.
Loading

0 comments on commit dfe3886

Please sign in to comment.