Skip to content

Commit

Permalink
feat(shields): Add ZMK Uno nice!view support.
Browse files Browse the repository at this point in the history
Export the `nice_view_spi` node properly from the ZMK Uno overlay
to ensure the shield will work when built along with the `nice_view`
shield.
  • Loading branch information
petejohanson committed Oct 3, 2023
1 parent 6a3cc91 commit 710b38a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion app/boards/shields/zmk_uno/zmk_uno.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,17 @@
status = "okay";
};

&arduino_spi {
nice_view_spi: &arduino_spi {
status = "okay";

cs-gpios = <&arduino_header 16 GPIO_ACTIVE_HIGH>;

// Needed so the nice_view shield will enhance the existing node which falls *first*
// on the bus, properly picking up the first `cs-gpios` specifier.
ls0xx@0 {
reg = <0>;
};

led_strip: ws2812@0 {
compatible = "worldsemi,ws2812-spi";

Expand Down

0 comments on commit 710b38a

Please sign in to comment.