add pressure sensor. Only reading once though
Some checks failed
Build / build (macos-12) (push) Waiting to run
Build / build (macos-14) (push) Waiting to run
Build / build (windows-2022) (push) Waiting to run
Build / build (ubuntu-22.04) (push) Failing after 20s
Documentation / build (push) Successful in 4s

This commit is contained in:
2024-04-23 23:55:27 -06:00
parent 6d42a445de
commit a02a1c2641
2 changed files with 34 additions and 11 deletions

View File

@ -95,12 +95,6 @@
label = "Interrupt 5 from BMX055 9-DOF";
zephyr,code = <INPUT_KEY_0>;
};
int_baro: int_baro {
gpios = <&gpio0 27 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
label = "Interrupt from BMP388 barometer";
zephyr,code = <INPUT_KEY_0>;
};
};
@ -161,6 +155,14 @@
rshunt-micro-ohms = <50000>;
adc-mode = "Bus and shunt voltage continuous";
};
bmp388: bmp388@76 {
compatible = "bosch,bmp388";
reg = <0x76>;
int-gpios = <&gpio0 27 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
odr = "1.563";
osr-press = <1>;
};
};
&spi1 {