From 78d2e2846b65adb281f508e38cad006610dfda0e Mon Sep 17 00:00:00 2001
From: bullwinkle3000 <91431084+bullwinkle3000@users.noreply.github.com>
Date: Fri, 12 Jan 2024 15:29:13 -0500
Subject: [PATCH] Rely on chosen in dtsi
---
.idea/workspace.xml | 24 ++++++++++++------------
config/boards/pillbug.overlay | 26 +++++++++++++-------------
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 51a4377..de5cb3a 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -9,7 +9,7 @@
-
+
@@ -74,14 +74,6 @@
-
-
- 1704572874886
-
-
-
- 1704572874886
-
1704573074449
@@ -466,7 +458,15 @@
1705086566611
-
+
+
+ 1705090113106
+
+
+
+ 1705090113106
+
+
@@ -498,7 +498,6 @@
-
@@ -523,6 +522,7 @@
-
+
+
\ No newline at end of file
diff --git a/config/boards/pillbug.overlay b/config/boards/pillbug.overlay
index 7fbb727..b33fa30 100644
--- a/config/boards/pillbug.overlay
+++ b/config/boards/pillbug.overlay
@@ -1,15 +1,15 @@
#include
&pinctrl {
- spi2_default: spi2_default {
+ spi3_default: spi3_default {
group1 {
- psels = ; // 0.5
+ psels = ; // 0.6
};
};
- spi2_sleep: spi2_sleep {
+ spi3_sleep: spi3_sleep {
group1 {
- psels = ; // 0.5
+ psels = ; // 0.6
low-power-enable;
};
};
@@ -56,12 +56,12 @@
};
};
-&spi2 {
+&spi3 {
compatible = "nordic,nrf-spim";
status = "okay";
- pinctrl-0 = <&spi2_default>;
- pinctrl-1 = <&spi2_sleep>;
+ pinctrl-0 = <&spi3_default>;
+ pinctrl-1 = <&spi3_sleep>;
pinctrl-names = "default", "sleep";
led_strip: ws2812@0 {
@@ -72,7 +72,7 @@
spi-max-frequency = <4000000>;
/* WS2812 */
- chain-length = <10>; /* number of LEDs */
+ chain-length = <30>; /* number of LEDs */
spi-one-frame = <0x70>;
spi-zero-frame = <0x40>;
color-mapping =