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>
11 lines
226 B
Plaintext
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 */
|
|
};
|
|
};
|