Skip to content

Commit

Permalink
pillbuggy
Browse files Browse the repository at this point in the history
  • Loading branch information
bullwinkle3000 committed Dec 19, 2024
1 parent e87e09a commit 2f869cc
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 18 deletions.
24 changes: 22 additions & 2 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
---
include:
- board: pillbug
shield: wyld_dm_right nice_view_adapter nice_view
shield: wyld_dm_right nice_view
- board: pillbug
shield: wyld_dm_left nice_view_adapter nice_view
shield: wyld_dm_left nice_view
- board: pillbug
shield: settings_reset
9 changes: 1 addition & 8 deletions config/boards/shields/wyld_dm/wyld_dm.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,7 @@
diode-direction = "col2row";

// PILLBUG PINS
row-gpios
= <&gpio1 11 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PB1 / 1.11
, <&gpio0 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PB0 / 1.09
, <&gpio1 15 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PA4 / 1.11
, <&gpio0 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PA3 / 0.31
, <&gpio0 31 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PA2 / 1.15
// , <&gpio0 29 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PA1 / 0.29
;


// // NANO V2 PINS
// row-gpios
Expand Down
16 changes: 13 additions & 3 deletions config/boards/shields/wyld_dm/wyld_dm_left.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,24 @@
/// PILLBUG PINS

&kscan0 {
row-gpios
= <&gpio1 11 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PB1 / 1.11
, <&gpio0 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PB0 / 1.09
, <&gpio1 15 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PA4 / 1.11
, <&gpio0 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PA3 / 0.31
, <&gpio0 31 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PA2 / 1.15
, <&gpio0 3 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PA1 / 1.06
, <&gpio1 14 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PA1 / 1.06
;

col-gpios
= <&gpio0 19 GPIO_ACTIVE_HIGH> // PB4 / 0.19
, <&gpio1 1 GPIO_ACTIVE_HIGH> // PB5 / 1.01
, <&gpio0 29 GPIO_ACTIVE_HIGH> // PB5 / 0.29
, <&gpio1 10 GPIO_ACTIVE_HIGH> // PB13 / 1.10
, <&gpio1 02 GPIO_ACTIVE_HIGH> // PB13 / 1.02
, <&gpio1 04 GPIO_ACTIVE_HIGH> // PB13 / 1.04
, <&gpio1 06 GPIO_ACTIVE_HIGH> // PB13 / 1.06 encoder column only
, <&gpio1 2 GPIO_ACTIVE_HIGH> // PB13 / 1.02
, <&gpio1 4 GPIO_ACTIVE_HIGH> // PB13 / 1.04
, <&gpio1 6 GPIO_ACTIVE_HIGH> // PB13 / 1.06 encoder column only
;
};

Expand Down
16 changes: 13 additions & 3 deletions config/boards/shields/wyld_dm/wyld_dm_right.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,24 @@
/// PILLBUG PINS

&kscan0 {
row-gpios
= <&gpio1 11 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PB1 / 1.11
, <&gpio0 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PB0 / 1.09
, <&gpio1 15 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PA4 / 1.11
, <&gpio0 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PA3 / 0.31
, <&gpio0 31 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PA2 / 1.15
, <&gpio0 3 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PA1 / 1.06
, <&gpio1 14 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> // PA1 / 1.06
;

col-gpios
= <&gpio0 19 GPIO_ACTIVE_HIGH> // PB4 / 0.19
, <&gpio1 1 GPIO_ACTIVE_HIGH> // PB5 / 1.01
, <&gpio0 29 GPIO_ACTIVE_HIGH> // PB5 / 0.29
, <&gpio1 10 GPIO_ACTIVE_HIGH> // PB13 / 1.10
, <&gpio1 02 GPIO_ACTIVE_HIGH> // PB13 / 1.02
, <&gpio1 04 GPIO_ACTIVE_HIGH> // PB13 / 1.04
, <&gpio1 06 GPIO_ACTIVE_HIGH> // PB13 / 1.06 encoder column only
, <&gpio1 2 GPIO_ACTIVE_HIGH> // PB13 / 1.02
, <&gpio1 4 GPIO_ACTIVE_HIGH> // PB13 / 1.04
, <&gpio1 6 GPIO_ACTIVE_HIGH> // PB13 / 1.06 encoder column only
;
};

Expand Down

0 comments on commit 2f869cc

Please sign in to comment.