From 14a6a9f5172acf34ac8abc07dc534781a35aaf10 Mon Sep 17 00:00:00 2001 From: Dustin Conlon Date: Fri, 2 Aug 2024 17:34:32 -0600 Subject: [PATCH] Updated keymap --- boards/shields/nice_view/nice_view.overlay | 29 ++++++++++++++++++++++ build.yaml | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 boards/shields/nice_view/nice_view.overlay 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