From 048d60701a9620192cd559c2afe9b32c0d4c1dd1 Mon Sep 17 00:00:00 2001 From: honorless <86894501+lesshonor@users.noreply.github.com> Date: Wed, 29 Mar 2023 22:00:11 -0400 Subject: [PATCH] chores: prep for develop changes --- keyboards/ymdk/id75/config.h | 22 ++++++++++------------ keyboards/ymdk/id75/info.json | 3 +++ keyboards/ymdk/id75/rules.mk | 3 +++ 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/keyboards/ymdk/id75/config.h b/keyboards/ymdk/id75/config.h index 0f04e6e54a53..02e9d4a2833e 100644 --- a/keyboards/ymdk/id75/config.h +++ b/keyboards/ymdk/id75/config.h @@ -16,18 +16,16 @@ #pragma once -#if defined(RGB_MATRIX_ENABLE) -# define RGB_DI_PIN B9 -# define RGB_MATRIX_LED_COUNT 89 +#define RGB_DI_PIN B9 +#define RGB_MATRIX_LED_COUNT 89 -# define RGB_DISABLE_WHEN_USB_SUSPENDED +#define RGB_DISABLE_WHEN_USB_SUSPENDED -# define RGB_MATRIX_KEYPRESSES -# define RGB_MATRIX_FRAMEBUFFER_EFFECTS +#define RGB_MATRIX_KEYPRESSES +#define RGB_MATRIX_FRAMEBUFFER_EFFECTS -# define WS2812_PWM_DRIVER PWMD4 -# define WS2812_PWM_CHANNEL 4 -# define WS2812_PWM_PAL_MODE 2 -# define WS2812_DMA_STREAM STM32_DMA1_STREAM7 -# define WS2812_DMA_CHANNEL 7 -#endif +#define WS2812_PWM_DRIVER PWMD4 +#define WS2812_PWM_CHANNEL 4 +#define WS2812_PWM_PAL_MODE 2 +#define WS2812_DMA_STREAM STM32_DMA1_STREAM7 +#define WS2812_DMA_CHANNEL 7 diff --git a/keyboards/ymdk/id75/info.json b/keyboards/ymdk/id75/info.json index f620b0314c07..5ed25bc28eb5 100644 --- a/keyboards/ymdk/id75/info.json +++ b/keyboards/ymdk/id75/info.json @@ -17,6 +17,9 @@ "rows": ["B2", "B1", "B0", "A7", "B10"] }, "processor": "STM32F103", + "ws2812": { + "driver": "pwm" + }, "rgb_matrix": { "animations": { "alphas_mods": true, diff --git a/keyboards/ymdk/id75/rules.mk b/keyboards/ymdk/id75/rules.mk index 8a9f88a9e1b6..61d5793cc2fc 100644 --- a/keyboards/ymdk/id75/rules.mk +++ b/keyboards/ymdk/id75/rules.mk @@ -1,3 +1,6 @@ +# Configure for 128K flash +#MCU_LDSCRIPT = STM32F103xB + # Wildcard to allow APM32 MCU DFU_SUFFIX_ARGS = -p FFFF -v FFFF