From 8e7cc39f9cd0d96773a2c9a8ac2d8ba726eb65dd Mon Sep 17 00:00:00 2001 From: Deividas Petraitis Date: Wed, 1 May 2024 18:25:14 +0300 Subject: [PATCH] nine!view configuration init --- build.yaml | 4 ++-- config/boards/shields/think_corne/think_corne.dtsi | 2 +- scripts/build.sh | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.yaml b/build.yaml index dfcd03c..a99c7d3 100644 --- a/build.yaml +++ b/build.yaml @@ -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 diff --git a/config/boards/shields/think_corne/think_corne.dtsi b/config/boards/shields/think_corne/think_corne.dtsi index e056f71..f889624 100644 --- a/config/boards/shields/think_corne/think_corne.dtsi +++ b/config/boards/shields/think_corne/think_corne.dtsi @@ -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 { diff --git a/scripts/build.sh b/scripts/build.sh index 76b43cc..199c27c 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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"