Skip to content

Commit

Permalink
move spi override to shield overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlucachi authored May 26, 2024
1 parent 88b5817 commit 036c18e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion config/boards/shields/corne/corne_left.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@
, <&pro_micro 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&pro_micro 7 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
;
};
};

&nice_view_spi { cs-gpios = <&pro_micro 0 GPIO_ACTIVE_HIGH>; };
4 changes: 3 additions & 1 deletion config/boards/shields/corne/corne_right.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@
, <&pro_micro 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
, <&pro_micro 7 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
;
};
};

&nice_view_spi { cs-gpios = <&pro_micro 0 GPIO_ACTIVE_HIGH>; };
4 changes: 1 addition & 3 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,4 @@
>;
};
};
};

&nice_view_spi { cs-gpios = <&pro_micro 0 GPIO_ACTIVE_HIGH>; };
};

0 comments on commit 036c18e

Please sign in to comment.