Skip to content

Commit

Permalink
nine!view configuration init
Browse files Browse the repository at this point in the history
  • Loading branch information
deividaspetraitis committed May 1, 2024
1 parent 2007322 commit 8e7cc39
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
---
include:
- board: nice_nano_v2
shield: think_corne_left
shield: think_corne_left nice_view_adapter nice_view
- board: nice_nano_v2
shield: think_corne_right
shield: think_corne_right nice_view_adapter nice_view
- board: nice_nano_v2
shield: settings_reset
2 changes: 1 addition & 1 deletion config/boards/shields/think_corne/think_corne.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ nice_view_spi: &spi0 {
pinctrl-0 = <&spi0_default>;
pinctrl-1 = <&spi0_sleep>;
pinctrl-names = "default", "sleep";
cs-gpios = <&pro_micro 9 GPIO_ACTIVE_HIGH>; // Not the default 1
cs-gpios = <&pro_micro 1 GPIO_ACTIVE_HIGH>; // Not the default 1
};

&pro_micro_i2c {
Expand Down
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

CFG="/home/deividas/github.com/deividaspetraitis/zmk-config"

west build -s "$CFG/zmk/app" -p -d "$CFG/build/right" -b nice_nano_v2 -- -DSHIELD=think_corne_right -DZMK_CONFIG="$CFG/config"
west build -s "$CFG/zmk/app" -p -d "$CFG/build/left" -b nice_nano_v2 -- -DSHIELD=think_corne_left -DZMK_CONFIG="$CFG/config"
west build -s "$CFG/zmk/app" -p -d "$CFG/build/right" -b nice_nano_v2 -- -DSHIELD="think_corne_right nice_view_adapter nice_view" -DZMK_CONFIG="$CFG/config"
west build -s "$CFG/zmk/app" -p -d "$CFG/build/left" -b nice_nano_v2 -- -DSHIELD="think_corne_left nice_view_adapter nice_view" -DZMK_CONFIG="$CFG/config"
west build -s "$CFG/zmk/app" -p -d "$CFG/build/reset" -b nice_nano_v2 -- -DSHIELD=settings_reset -DZMK_CONFIG="$CFG/config"

0 comments on commit 8e7cc39

Please sign in to comment.