diff options
Diffstat (limited to 'keyboards/planck/rev6/config.h')
-rw-r--r-- | keyboards/planck/rev6/config.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/keyboards/planck/rev6/config.h b/keyboards/planck/rev6/config.h index 3fbbae027..0adca592b 100644 --- a/keyboards/planck/rev6/config.h +++ b/keyboards/planck/rev6/config.h | |||
@@ -126,17 +126,18 @@ | |||
126 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | 126 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ |
127 | //#define MIDI_TONE_KEYCODE_OCTAVES 1 | 127 | //#define MIDI_TONE_KEYCODE_OCTAVES 1 |
128 | 128 | ||
129 | // #define WS2812_LED_N 2 | 129 | |
130 | // #define RGBLED_NUM WS2812_LED_N | 130 | /* |
131 | // #define WS2812_TIM_N 2 | 131 | * WS2812 Underglow Matrix options |
132 | // #define WS2812_TIM_CH 2 | 132 | */ |
133 | // #define PORT_WS2812 GPIOA | ||
134 | // #define PIN_WS2812 1 | ||
135 | // #define WS2812_DMA_STREAM STM32_DMA1_STREAM2 // DMA stream for TIMx_UP (look up in reference manual under DMA Channel selection) | ||
136 | //#define WS2812_DMA_CHANNEL 7 // DMA channel for TIMx_UP | ||
137 | //#define WS2812_EXTERNAL_PULLUP | ||
138 | #define RGB_DI_PIN A1 | 133 | #define RGB_DI_PIN A1 |
139 | #define RGBLED_NUM 9 | 134 | #define RGBLED_NUM 9 |
140 | #define RGBLIGHT_ANIMATIONS | 135 | #define DRIVER_LED_TOTAL RGBLED_NUM |
136 | |||
137 | #define WS2812_PWM_DRIVER PWMD2 | ||
138 | #define WS2812_PWM_CHANNEL 2 | ||
139 | #define WS2812_PWM_PAL_MODE 1 | ||
140 | #define WS2812_DMA_STREAM STM32_DMA1_STREAM2 | ||
141 | #define WS2812_DMA_CHANNEL 2 | ||
141 | 142 | ||
142 | #endif | 143 | #endif |