diff options
Diffstat (limited to 'keyboards/handwired/onekey/bluepill_f103c6')
-rw-r--r-- | keyboards/handwired/onekey/bluepill_f103c6/config.h | 2 | ||||
-rw-r--r-- | keyboards/handwired/onekey/bluepill_f103c6/info.json | 6 | ||||
-rw-r--r-- | keyboards/handwired/onekey/bluepill_f103c6/rules.mk | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/handwired/onekey/bluepill_f103c6/config.h b/keyboards/handwired/onekey/bluepill_f103c6/config.h index 12f4596e7b..5edcf5a2e1 100644 --- a/keyboards/handwired/onekey/bluepill_f103c6/config.h +++ b/keyboards/handwired/onekey/bluepill_f103c6/config.h @@ -22,8 +22,6 @@ #define ADC_PIN A0 -#define RGB_CI_PIN A2 - // This code does not fit into the really small flash of STM32F103x6 together // with CONSOLE_ENABLE=yes, and the debugging console is probably more // important for the "onekey" testing firmware. In a real firmware you may be diff --git a/keyboards/handwired/onekey/bluepill_f103c6/info.json b/keyboards/handwired/onekey/bluepill_f103c6/info.json index 353f074d92..9460b43f5f 100644 --- a/keyboards/handwired/onekey/bluepill_f103c6/info.json +++ b/keyboards/handwired/onekey/bluepill_f103c6/info.json @@ -9,7 +9,11 @@ "backlight": { "pin": "A0" }, - "rgblight": { + "ws2812": { "pin": "A1" + }, + "apa102": { + "data_pin": "A1", + "clock_pin": "A2" } } diff --git a/keyboards/handwired/onekey/bluepill_f103c6/rules.mk b/keyboards/handwired/onekey/bluepill_f103c6/rules.mk index 208165ab31..8fd4321938 100644 --- a/keyboards/handwired/onekey/bluepill_f103c6/rules.mk +++ b/keyboards/handwired/onekey/bluepill_f103c6/rules.mk @@ -2,7 +2,7 @@ # Cannot use `BOOTLOADER = stm32duino` due to the need to override # `MCU_LDSCRIPT`, therefore all parameters need to be specified here manually. OPT_DEFS += -DBOOTLOADER_STM32DUINO -MCU_LDSCRIPT = STM32F103x6_stm32duino_bootloader +MCU_LDSCRIPT = STM32F103x6_stm32duino BOOTLOADER_TYPE = stm32duino DFU_ARGS = -d 1EAF:0003 -a 2 -R DFU_SUFFIX_ARGS = -v 1EAF -p 0003 |