This adds a new sample for LVGL that displays a real-time chart for accelerometer data acquired from &accel0 sensor. This also adds the appropriate overlays so that the sample can also run on native POSIX and native sim using emulated BMI160. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
17 lines
235 B
Plaintext
17 lines
235 B
Plaintext
/* Copyright (c) 2023 Benjamin Cabé <benjamin@zephyrproject.org>
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/ {
|
|
aliases {
|
|
accel0 = &bmi_i2c;
|
|
};
|
|
};
|
|
|
|
&i2c0 {
|
|
bmi_i2c: bmi@68 {
|
|
compatible = "bosch,bmi160";
|
|
reg = <0x68>;
|
|
};
|
|
};
|