diff --git a/boards/shields/nice_view/nice_view.overlay b/boards/shields/nice_view/nice_view.overlay new file mode 100644 index 0000000..58b5caf --- /dev/null +++ b/boards/shields/nice_view/nice_view.overlay @@ -0,0 +1,29 @@ +&pinctrl { + spi0_default: spi0_default { + group1 { + psels = , + , + ; + }; + }; + spi0_sleep: spi0_sleep { + group1 { + psels = , + , + ; + low-power-enable; + }; + }; +}; + +nice_view_spi: &spi0 { + compatible = "nordic,nrf-spim"; + pinctrl-0 = <&spi0_default>; + pinctrl-1 = <&spi0_sleep>; + pinctrl-names = "default", "sleep"; + cs-gpios = <&pro_micro 10 GPIO_ACTIVE_HIGH>; +}; + +&pro_micro_i2c { + status = "disabled"; +}; \ No newline at end of file diff --git a/build.yaml b/build.yaml index 3b16656..a53147f 100644 --- a/build.yaml +++ b/build.yaml @@ -21,6 +21,6 @@ # shield: [ "voltarium_left", "voltarium_right" ] include: - board: nice_nano_v2 - shield: voltarium_left nice_view_adapter nice_view + shield: voltarium_left nice_view - board: nice_nano_v2 shield: voltarium_right