Skip to content

Commit

Permalink
chores: prep for develop changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lesshonor committed Mar 30, 2023
1 parent 4134d00 commit 048d607
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
22 changes: 10 additions & 12 deletions keyboards/ymdk/id75/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions keyboards/ymdk/id75/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"rows": ["B2", "B1", "B0", "A7", "B10"]
},
"processor": "STM32F103",
"ws2812": {
"driver": "pwm"
},
"rgb_matrix": {
"animations": {
"alphas_mods": true,
Expand Down
3 changes: 3 additions & 0 deletions keyboards/ymdk/id75/rules.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Configure for 128K flash
#MCU_LDSCRIPT = STM32F103xB

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

Expand Down

0 comments on commit 048d607

Please sign in to comment.