Skip to content

iwasz/example-zephyr-module-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What

Thi is an application testing my out-of-tree module for Zephyr RTOS.

  • The out of tree module (driver) is here.
  • A blog post on this subject is here.

Copied from zephyr/samples/sensor/lsm6dsl. The only modifications are :

  • boards dir with an overlay for H743ZI. It defines a LSM6DS3 accelerometer.
  • LSM6DSL changed to LSM6DS3 in 3 places.

Compile

cmake -B build -G Ninja -DBOARD=nucleo_h743zi -DBOARD_ROOT=. -DZEPHYR_EXTRA_MODULES=~/my-zephyr-module .
ninja -C build
west flash

Connections

I used nucleo_h743zi, and I provided an overlay for it. You can use any other target supported by Zephyr.

LSM6DS3 nucleo_h743zi
SDA PB11
SCL PB10
INT1 PD11

About

An application showing how to use my `example-zephyr-module`

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published