From 070c4165b436a645897876a6d0fb1b486d197fda Mon Sep 17 00:00:00 2001 From: Luke Miller Date: Sun, 19 Mar 2023 16:08:17 -0700 Subject: [PATCH] switched to nice-nano as board? --- build.yaml | 2 +- config/boards/shields/ergofan/ergofan.overlay | 32 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/build.yaml b/build.yaml index d56cc37..ac96614 100644 --- a/build.yaml +++ b/build.yaml @@ -13,5 +13,5 @@ # --- include: - - board: nrf52840dk_nrf52840 + - board: nice_nano_v2 shield: ergofan diff --git a/config/boards/shields/ergofan/ergofan.overlay b/config/boards/shields/ergofan/ergofan.overlay index 5a3061e..45a782d 100644 --- a/config/boards/shields/ergofan/ergofan.overlay +++ b/config/boards/shields/ergofan/ergofan.overlay @@ -11,23 +11,23 @@ label = "default_kscan"; diode-direction = "col2row"; - row-gpios = <&pro_micro 18 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>, - <&pro_micro 19 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>, - <&pro_micro 26 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>, - <&pro_micro 25 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; + row-gpios = <&gpio0 18 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>, + <&gpio0 19 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>, + <&gpio0 26 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>, + <&gpio0 25 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; - col-gpios = <&pro_micro 24 GPIO_ACTIVE_HIGH>, - <&pro_micro 1 GPIO_ACTIVE_HIGH>, - <&pro_micro 0 GPIO_ACTIVE_HIGH>, - <&pro_micro 2 GPIO_ACTIVE_HIGH>, - <&pro_micro 17 GPIO_ACTIVE_HIGH>, - <&pro_micro 23 GPIO_ACTIVE_HIGH>, - <&pro_micro 5 GPIO_ACTIVE_HIGH>, - <&pro_micro 6 GPIO_ACTIVE_HIGH>, - <&pro_micro 9 GPIO_ACTIVE_HIGH>, - <&pro_micro 10 GPIO_ACTIVE_HIGH>, - <&pro_micro 11 GPIO_ACTIVE_HIGH>, - <&pro_micro 12 GPIO_ACTIVE_HIGH>, + col-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>, + <&gpio0 1 GPIO_ACTIVE_HIGH>, + <&gpio0 0 GPIO_ACTIVE_HIGH>, + <&gpio0 2 GPIO_ACTIVE_HIGH>, + <&gpio0 17 GPIO_ACTIVE_HIGH>, + <&gpio0 23 GPIO_ACTIVE_HIGH>, + <&gpio0 5 GPIO_ACTIVE_HIGH>, + <&gpio0 6 GPIO_ACTIVE_HIGH>, + <&gpio0 9 GPIO_ACTIVE_HIGH>, + <&gpio0 10 GPIO_ACTIVE_HIGH>, + <&gpio0 11 GPIO_ACTIVE_HIGH>, + <&gpio0 12 GPIO_ACTIVE_HIGH>, }; default_transform: matrix_transform {