aboutsummaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2021-06-03 09:48:16 +1000
committerGitHub <noreply@github.com>2021-06-03 09:48:16 +1000
commit597d2e0e7bdc3f2629965a5b393b725e9ab8442b (patch)
treee7cabc6c252a4c250704e42f9c2b34da076315b9 /keyboards
parent35dbe8ba035c8eefc1051226aa8e3dd7cd63a912 (diff)
downloadqmk_firmware-597d2e0e7bdc3f2629965a5b393b725e9ab8442b.tar.gz
qmk_firmware-597d2e0e7bdc3f2629965a5b393b725e9ab8442b.zip
Fix up WS2812 SPI driver on F072. (#13022)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/aeboards/ext65/rev2/config.h2
-rw-r--r--keyboards/cannonkeys/an_c/config.h2
-rw-r--r--keyboards/cannonkeys/atlas/config.h2
-rw-r--r--keyboards/cannonkeys/db60/config.h2
-rw-r--r--keyboards/cannonkeys/devastatingtkl/config.h2
-rw-r--r--keyboards/cannonkeys/instant60/config.h2
-rw-r--r--keyboards/cannonkeys/instant65/config.h2
-rw-r--r--keyboards/cannonkeys/obliterated75/config.h2
-rw-r--r--keyboards/cannonkeys/sagittarius/config.h2
-rw-r--r--keyboards/cannonkeys/savage65/config.h2
-rw-r--r--keyboards/cannonkeys/tmov2/config.h2
-rw-r--r--keyboards/cannonkeys/tsukuyomi/config.h2
-rwxr-xr-xkeyboards/nebula12/config.h2
-rw-r--r--keyboards/primekb/meridian/config.h2
-rw-r--r--keyboards/projectkb/alice/rev1/config.h2
-rw-r--r--keyboards/projectkb/alice/rev2/config.h2
-rw-r--r--keyboards/zoo/wampus/config.h2
17 files changed, 34 insertions, 0 deletions
diff --git a/keyboards/aeboards/ext65/rev2/config.h b/keyboards/aeboards/ext65/rev2/config.h
index dc1bfb71c..778fc3ea6 100644
--- a/keyboards/aeboards/ext65/rev2/config.h
+++ b/keyboards/aeboards/ext65/rev2/config.h
@@ -51,6 +51,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
51//SPI 51//SPI
52#define WS2812_SPI SPID2 52#define WS2812_SPI SPID2
53#define WS2812_SPI_MOSI_PAL_MODE 0 53#define WS2812_SPI_MOSI_PAL_MODE 0
54#define WS2812_SPI_SCK_PAL_MODE 0
55#define WS2812_SPI_SCK_PIN B13
54#define WS2812_EXTERNAL_PULLUP 56#define WS2812_EXTERNAL_PULLUP
55 57
56// I2C OLED defines 58// I2C OLED defines
diff --git a/keyboards/cannonkeys/an_c/config.h b/keyboards/cannonkeys/an_c/config.h
index 922ea37b2..83e98c2e2 100644
--- a/keyboards/cannonkeys/an_c/config.h
+++ b/keyboards/cannonkeys/an_c/config.h
@@ -56,6 +56,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
56#define RGBLED_NUM 14 56#define RGBLED_NUM 14
57#define WS2812_SPI SPID2 57#define WS2812_SPI SPID2
58#define WS2812_SPI_MOSI_PAL_MODE 0 58#define WS2812_SPI_MOSI_PAL_MODE 0
59#define WS2812_SPI_SCK_PAL_MODE 0
60#define WS2812_SPI_SCK_PIN B13
59 61
60/* 62/*
61 * Feature disable options 63 * Feature disable options
diff --git a/keyboards/cannonkeys/atlas/config.h b/keyboards/cannonkeys/atlas/config.h
index 72ee927e2..1ba5c0fb0 100644
--- a/keyboards/cannonkeys/atlas/config.h
+++ b/keyboards/cannonkeys/atlas/config.h
@@ -50,6 +50,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
50#define RGB_DI_PIN B15 50#define RGB_DI_PIN B15
51#define RGBLED_NUM 22 51#define RGBLED_NUM 22
52#define WS2812_SPI_MOSI_PAL_MODE 0 52#define WS2812_SPI_MOSI_PAL_MODE 0
53#define WS2812_SPI_SCK_PAL_MODE 0
54#define WS2812_SPI_SCK_PIN B13
53 55
54/* 56/*
55 * Feature disable options 57 * Feature disable options
diff --git a/keyboards/cannonkeys/db60/config.h b/keyboards/cannonkeys/db60/config.h
index db7269071..dc2007c17 100644
--- a/keyboards/cannonkeys/db60/config.h
+++ b/keyboards/cannonkeys/db60/config.h
@@ -55,6 +55,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
55#define RGB_DI_PIN B15 55#define RGB_DI_PIN B15
56#define RGBLED_NUM 20 56#define RGBLED_NUM 20
57#define WS2812_SPI_MOSI_PAL_MODE 0 57#define WS2812_SPI_MOSI_PAL_MODE 0
58#define WS2812_SPI_SCK_PAL_MODE 0
59#define WS2812_SPI_SCK_PIN B13
58 60
59/* 61/*
60 * Feature disable options 62 * Feature disable options
diff --git a/keyboards/cannonkeys/devastatingtkl/config.h b/keyboards/cannonkeys/devastatingtkl/config.h
index 15c0d4e35..0a76a3466 100644
--- a/keyboards/cannonkeys/devastatingtkl/config.h
+++ b/keyboards/cannonkeys/devastatingtkl/config.h
@@ -56,6 +56,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
56#define RGBLED_NUM 20 56#define RGBLED_NUM 20
57#define WS2812_SPI SPID2 57#define WS2812_SPI SPID2
58#define WS2812_SPI_MOSI_PAL_MODE 0 58#define WS2812_SPI_MOSI_PAL_MODE 0
59#define WS2812_SPI_SCK_PAL_MODE 0
60#define WS2812_SPI_SCK_PIN B13
59 61
60/* 62/*
61 * Feature disable options 63 * Feature disable options
diff --git a/keyboards/cannonkeys/instant60/config.h b/keyboards/cannonkeys/instant60/config.h
index bd0ae3160..d34bc0003 100644
--- a/keyboards/cannonkeys/instant60/config.h
+++ b/keyboards/cannonkeys/instant60/config.h
@@ -56,6 +56,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
56#define RGBLED_NUM 14 56#define RGBLED_NUM 14
57#define WS2812_SPI SPID2 57#define WS2812_SPI SPID2
58#define WS2812_SPI_MOSI_PAL_MODE 0 58#define WS2812_SPI_MOSI_PAL_MODE 0
59#define WS2812_SPI_SCK_PAL_MODE 0
60#define WS2812_SPI_SCK_PIN B13
59 61
60/* 62/*
61 * Feature disable options 63 * Feature disable options
diff --git a/keyboards/cannonkeys/instant65/config.h b/keyboards/cannonkeys/instant65/config.h
index ecfb55fe0..dc097494b 100644
--- a/keyboards/cannonkeys/instant65/config.h
+++ b/keyboards/cannonkeys/instant65/config.h
@@ -56,6 +56,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
56#define RGBLED_NUM 20 56#define RGBLED_NUM 20
57#define WS2812_SPI SPID2 57#define WS2812_SPI SPID2
58#define WS2812_SPI_MOSI_PAL_MODE 0 58#define WS2812_SPI_MOSI_PAL_MODE 0
59#define WS2812_SPI_SCK_PAL_MODE 0
60#define WS2812_SPI_SCK_PIN B13
59 61
60 62
61/* 63/*
diff --git a/keyboards/cannonkeys/obliterated75/config.h b/keyboards/cannonkeys/obliterated75/config.h
index b2edfecd3..7a8a7ff28 100644
--- a/keyboards/cannonkeys/obliterated75/config.h
+++ b/keyboards/cannonkeys/obliterated75/config.h
@@ -56,6 +56,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
56#define RGBLED_NUM 20 56#define RGBLED_NUM 20
57#define WS2812_SPI SPID2 57#define WS2812_SPI SPID2
58#define WS2812_SPI_MOSI_PAL_MODE 0 58#define WS2812_SPI_MOSI_PAL_MODE 0
59#define WS2812_SPI_SCK_PAL_MODE 0
60#define WS2812_SPI_SCK_PIN B13
59 61
60 62
61/* 63/*
diff --git a/keyboards/cannonkeys/sagittarius/config.h b/keyboards/cannonkeys/sagittarius/config.h
index 6c1648713..a263ebc71 100644
--- a/keyboards/cannonkeys/sagittarius/config.h
+++ b/keyboards/cannonkeys/sagittarius/config.h
@@ -60,6 +60,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
60#define RGBLED_NUM 8 60#define RGBLED_NUM 8
61#define WS2812_SPI SPID2 61#define WS2812_SPI SPID2
62#define WS2812_SPI_MOSI_PAL_MODE 0 62#define WS2812_SPI_MOSI_PAL_MODE 0
63#define WS2812_SPI_SCK_PAL_MODE 0
64#define WS2812_SPI_SCK_PIN B13
63 65
64#define DYNAMIC_KEYMAP_LAYER_COUNT 2 66#define DYNAMIC_KEYMAP_LAYER_COUNT 2
65 67
diff --git a/keyboards/cannonkeys/savage65/config.h b/keyboards/cannonkeys/savage65/config.h
index 07672643e..3c3166c91 100644
--- a/keyboards/cannonkeys/savage65/config.h
+++ b/keyboards/cannonkeys/savage65/config.h
@@ -56,6 +56,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
56#define RGBLED_NUM 20 56#define RGBLED_NUM 20
57#define WS2812_SPI SPID2 57#define WS2812_SPI SPID2
58#define WS2812_SPI_MOSI_PAL_MODE 0 58#define WS2812_SPI_MOSI_PAL_MODE 0
59#define WS2812_SPI_SCK_PAL_MODE 0
60#define WS2812_SPI_SCK_PIN B13
59 61
60 62
61/* 63/*
diff --git a/keyboards/cannonkeys/tmov2/config.h b/keyboards/cannonkeys/tmov2/config.h
index 5f44584e0..cddff4ce7 100644
--- a/keyboards/cannonkeys/tmov2/config.h
+++ b/keyboards/cannonkeys/tmov2/config.h
@@ -56,6 +56,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
56#define RGBLED_NUM 22 56#define RGBLED_NUM 22
57#define WS2812_SPI SPID2 57#define WS2812_SPI SPID2
58#define WS2812_SPI_MOSI_PAL_MODE 0 58#define WS2812_SPI_MOSI_PAL_MODE 0
59#define WS2812_SPI_SCK_PAL_MODE 0
60#define WS2812_SPI_SCK_PIN B13
59 61
60/* 62/*
61 * Feature disable options 63 * Feature disable options
diff --git a/keyboards/cannonkeys/tsukuyomi/config.h b/keyboards/cannonkeys/tsukuyomi/config.h
index 00cd0eee9..d3e955450 100644
--- a/keyboards/cannonkeys/tsukuyomi/config.h
+++ b/keyboards/cannonkeys/tsukuyomi/config.h
@@ -56,6 +56,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
56#define RGBLED_NUM 20 56#define RGBLED_NUM 20
57#define WS2812_SPI SPID2 57#define WS2812_SPI SPID2
58#define WS2812_SPI_MOSI_PAL_MODE 0 58#define WS2812_SPI_MOSI_PAL_MODE 0
59#define WS2812_SPI_SCK_PAL_MODE 0
60#define WS2812_SPI_SCK_PIN B13
59 61
60 62
61/* 63/*
diff --git a/keyboards/nebula12/config.h b/keyboards/nebula12/config.h
index 6f596beb3..da9fd1057 100755
--- a/keyboards/nebula12/config.h
+++ b/keyboards/nebula12/config.h
@@ -100,6 +100,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
100 100
101#define WS2812_SPI SPID2 // default: SPID1 101#define WS2812_SPI SPID2 // default: SPID1
102#define WS2812_SPI_MOSI_PAL_MODE 0 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 5 102#define WS2812_SPI_MOSI_PAL_MODE 0 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 5
103#define WS2812_SPI_SCK_PAL_MODE 0
104#define WS2812_SPI_SCK_PIN B13
103 105
104#define RGB_DI_PIN B15 106#define RGB_DI_PIN B15
105#ifdef RGB_DI_PIN 107#ifdef RGB_DI_PIN
diff --git a/keyboards/primekb/meridian/config.h b/keyboards/primekb/meridian/config.h
index 9194023ab..082392c6b 100644
--- a/keyboards/primekb/meridian/config.h
+++ b/keyboards/primekb/meridian/config.h
@@ -36,6 +36,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
36#define RGBLED_NUM 3 36#define RGBLED_NUM 3
37#define WS2812_SPI SPID2 37#define WS2812_SPI SPID2
38#define WS2812_SPI_MOSI_PAL_MODE 0 38#define WS2812_SPI_MOSI_PAL_MODE 0
39#define WS2812_SPI_SCK_PAL_MODE 0
40#define WS2812_SPI_SCK_PIN B13
39 41
40/* Set 0 if debouncing isn't needed */ 42/* Set 0 if debouncing isn't needed */
41#define DEBOUNCE 5 43#define DEBOUNCE 5
diff --git a/keyboards/projectkb/alice/rev1/config.h b/keyboards/projectkb/alice/rev1/config.h
index fcf9817fa..05180c756 100644
--- a/keyboards/projectkb/alice/rev1/config.h
+++ b/keyboards/projectkb/alice/rev1/config.h
@@ -56,6 +56,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
56#define RGBLED_NUM 14 56#define RGBLED_NUM 14
57#define WS2812_SPI SPID2 57#define WS2812_SPI SPID2
58#define WS2812_SPI_MOSI_PAL_MODE 0 58#define WS2812_SPI_MOSI_PAL_MODE 0
59#define WS2812_SPI_SCK_PAL_MODE 0
60#define WS2812_SPI_SCK_PIN B13
59 61
60#define INDICATOR_PIN_0 A0 62#define INDICATOR_PIN_0 A0
61#define INDICATOR_PIN_1 A1 63#define INDICATOR_PIN_1 A1
diff --git a/keyboards/projectkb/alice/rev2/config.h b/keyboards/projectkb/alice/rev2/config.h
index 174889d62..0b017936c 100644
--- a/keyboards/projectkb/alice/rev2/config.h
+++ b/keyboards/projectkb/alice/rev2/config.h
@@ -56,6 +56,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
56#define RGBLED_NUM 14 56#define RGBLED_NUM 14
57#define WS2812_SPI SPID2 57#define WS2812_SPI SPID2
58#define WS2812_SPI_MOSI_PAL_MODE 0 58#define WS2812_SPI_MOSI_PAL_MODE 0
59#define WS2812_SPI_SCK_PAL_MODE 0
60#define WS2812_SPI_SCK_PIN B13
59 61
60#define INDICATOR_PIN_0 A9 62#define INDICATOR_PIN_0 A9
61#define INDICATOR_PIN_1 A8 63#define INDICATOR_PIN_1 A8
diff --git a/keyboards/zoo/wampus/config.h b/keyboards/zoo/wampus/config.h
index c3a13ec35..f572c91fc 100644
--- a/keyboards/zoo/wampus/config.h
+++ b/keyboards/zoo/wampus/config.h
@@ -67,6 +67,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
67// SPI RGB Driver 67// SPI RGB Driver
68#define WS2812_SPI SPID2 68#define WS2812_SPI SPID2
69#define WS2812_SPI_MOSI_PAL_MODE 0 69#define WS2812_SPI_MOSI_PAL_MODE 0
70#define WS2812_SPI_SCK_PAL_MODE 0
71#define WS2812_SPI_SCK_PIN B13
70 72
71// OLED defines 73// OLED defines
72#define OLED_TIMEOUT 60000 74#define OLED_TIMEOUT 60000