Skip to content

Commit

Permalink
Updated keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
VoltaicGRiD committed Aug 2, 2024
1 parent fda60e6 commit 14a6a9f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions boards/shields/nice_view/nice_view.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
&pinctrl {
spi0_default: spi0_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 20)>,
<NRF_PSEL(SPIM_MOSI, 0, 17)>,
<NRF_PSEL(SPIM_MISO, 0, 25)>;
};
};
spi0_sleep: spi0_sleep {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 20)>,
<NRF_PSEL(SPIM_MOSI, 0, 17)>,
<NRF_PSEL(SPIM_MISO, 0, 25)>;
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";
};
2 changes: 1 addition & 1 deletion build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 14a6a9f

Please sign in to comment.