zephyr/samples/sensor/bme280/boards/rpi_pico.overlay
Steve Boylan 0341c6cbcf samples: sensor: bme280: Demonstrate RP2040 PIO
Demonstrate use of the Raspberry Pi Pico PIO SPI driver.
Added rpi_pico test cases to sample.yaml

Signed-off-by: Steve Boylan <stephen.boylan@beechwoods.com>
2023-09-20 20:18:54 +01:00

11 lines
226 B
Plaintext

&spi0 {
status = "okay";
cs-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&spi0_default>;
bme280@0 {
compatible = "bosch,bme280";
reg = <0>;
spi-max-frequency = <1000000>; /* conservatively set to 1MHz */
};
};