diff options
Diffstat (limited to 'keyboards/planck/rev6')
-rw-r--r-- | keyboards/planck/rev6/chconf.h | 18 | ||||
-rw-r--r-- | keyboards/planck/rev6/config.h | 6 | ||||
-rw-r--r-- | keyboards/planck/rev6/rules.mk | 1 |
3 files changed, 18 insertions, 7 deletions
diff --git a/keyboards/planck/rev6/chconf.h b/keyboards/planck/rev6/chconf.h index 0298c11c40..e1243f23ec 100644 --- a/keyboards/planck/rev6/chconf.h +++ b/keyboards/planck/rev6/chconf.h @@ -1,8 +1,8 @@ -/* Copyright 2020 QMK Contributors +/* Copyright 2020 QMK * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -14,8 +14,16 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -// Need to override the SysTick timer to use TIM3 -- this is a 16-bit timer on F303 -// so we need to change resolution and frequency to match. +/* + * This file was auto-generated by: + * `qmk chibios-confmigrate -i keyboards/planck/rev6/chconf.h -r platforms/chibios/QMK_PROTON_C/configs/chconf.h` + */ + +#pragma once + #define CH_CFG_ST_RESOLUTION 16 + #define CH_CFG_ST_FREQUENCY 10000 -#include_next "chconf.h" + +#include_next <chconf.h> + diff --git a/keyboards/planck/rev6/config.h b/keyboards/planck/rev6/config.h index f60b0ec2ef..055610c699 100644 --- a/keyboards/planck/rev6/config.h +++ b/keyboards/planck/rev6/config.h @@ -53,8 +53,10 @@ #define MUSIC_MAP #undef AUDIO_VOICES -// Note: following undef isn't really necessary on STM32, C6_AUDIO is AVR related -#undef C6_AUDIO +#undef AUDIO_PIN +#define AUDIO_PIN A5 +#define AUDIO_PIN_ALT A4 +#define AUDIO_PIN_ALT_AS_NEGATIVE /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ // #define DEBOUNCE 6 diff --git a/keyboards/planck/rev6/rules.mk b/keyboards/planck/rev6/rules.mk index 22dc321af6..c3fcf3dbd5 100644 --- a/keyboards/planck/rev6/rules.mk +++ b/keyboards/planck/rev6/rules.mk @@ -1,5 +1,6 @@ # MCU name MCU = STM32F303 +BOARD = QMK_PROTON_C # Build Options # change to "no" to disable the options, or define them in the Makefile in |