diff options
author | Ryan <fauxpark@gmail.com> | 2022-12-09 15:31:13 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-09 15:31:13 +1100 |
commit | 8c12559edb57811c4c7623637c2a95fc5cfea249 (patch) | |
tree | b4b2b936f010443bd3dc1eb7b54cb5d2a11096c9 /keyboards/kprepublic/bm16a/v2/config.h | |
parent | aa06a6e094710fc9eccffd5ec550e62f67b7a7a9 (diff) |
Add KPrepublic BM16A v2 (#19194)
Diffstat (limited to 'keyboards/kprepublic/bm16a/v2/config.h')
-rw-r--r-- | keyboards/kprepublic/bm16a/v2/config.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/kprepublic/bm16a/v2/config.h b/keyboards/kprepublic/bm16a/v2/config.h new file mode 100644 index 0000000000..f4ac9e7a3b --- /dev/null +++ b/keyboards/kprepublic/bm16a/v2/config.h @@ -0,0 +1,12 @@ +// Copyright 2022 fauxpark (@fauxpark) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#define RGB_DI_PIN B9 +#define RGB_MATRIX_LED_COUNT 16 + +#define WS2812_PWM_DRIVER PWMD4 +#define WS2812_PWM_CHANNEL 4 +#define WS2812_DMA_STREAM STM32_DMA1_STREAM7 +#define WS2812_DMA_CHANNEL 7 |