Fix keyboards failing to build

This commit is contained in:
Ilya Zhuravlev 2021-12-11 21:11:31 -05:00
parent f0ae3fb701
commit 2fc27b48b6
28 changed files with 33 additions and 18 deletions

View file

@ -7,7 +7,7 @@ BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
BOOTMAGIC_ENABLE = yes
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug

View file

@ -1,3 +1,4 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = yes
QMK_SETTINGS = no

View file

@ -165,11 +165,12 @@ static void render_anim(void) {
}
}
void oled_task_user(void) {
bool oled_task_user(void) {
render_anim();
oled_set_cursor(0,0);
sprintf(wpm_str, "WPM:%03d", get_current_wpm());
oled_write(wpm_str, false);
return false;
}
oled_rotation_t oled_init_user(oled_rotation_t rotation) { return OLED_ROTATION_180; };

View file

@ -165,11 +165,12 @@ static void render_anim(void) {
}
}
void oled_task_user(void) {
bool oled_task_user(void) {
render_anim();
oled_set_cursor(0,0);
sprintf(wpm_str, "WPM:%03d", get_current_wpm());
oled_write(wpm_str, false);
return false;
}
oled_rotation_t oled_init_user(oled_rotation_t rotation) { return OLED_ROTATION_180; };

View file

@ -1,5 +1,4 @@
BOOTMAGIC_ENABLE = lite
VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = yes
QMK_SETTINGS = no

View file

@ -7,7 +7,7 @@ BOOTLOADER = stm32-dfu
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
BOOTMAGIC_ENABLE = yes
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug

View file

@ -7,7 +7,7 @@ BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
BOOTMAGIC_ENABLE = yes
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug

View file

@ -1,3 +1,4 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = yes
QMK_SETTINGS = no

View file

@ -64,8 +64,9 @@ void keyboard_post_init_user(void) {
// Rev3 and above only
#ifdef OLED_ENABLE
void oled_task_user(void) {
bool oled_task_user(void) {
oled_write_ln_P(PSTR("Plaid-Pad ///////////"), false);
return false;
}
#endif

View file

@ -7,7 +7,7 @@ BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite
BOOTMAGIC_ENABLE = yes
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug

View file

@ -1,7 +1,6 @@
#include QMK_KEYBOARD_H
#include "quantum.h"
#define _______ KC_TRNS
#define NUMPAD TO(_NUMPAD)
enum layers {
_NUMPAD = 0,

View file

@ -1,7 +1,6 @@
#include QMK_KEYBOARD_H
#include "quantum.h"
#define _______ KC_TRNS
#define NUMPAD TO(_NUMPAD)
enum layers {
_NUMPAD = 0,

View file

@ -16,7 +16,7 @@ BOOTLOADER = caterina
#
LTO_ENABLE = yes
BOOTMAGIC_ENABLE = lite
BOOTMAGIC_ENABLE = yes
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug

View file

@ -2,3 +2,4 @@ LTO_ENABLE = yes
VIA_ENABLE = yes
VIAL_ENABLE = yes
TAP_DANCE_ENABLE = no
QMK_SETTINGS = no

View file

@ -1,3 +1,4 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = yes
QMK_SETTINGS = no

View file

@ -7,7 +7,7 @@ BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
BOOTMAGIC_ENABLE = yes
MOUSEKEY_ENABLE = no # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug

View file

@ -1,2 +1,3 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
VIAL_ENABLE = yes
QMK_SETTINGS = no

View file

@ -2,3 +2,7 @@ LTO_ENABLE = yes
VIA_ENABLE = yes
VIAL_ENABLE = yes
VIAL_ENCODERS_ENABLE = yes
QMK_SETTINGS = no
COMBO_ENABLE = no
TAP_DANCE_ENABLE = no
OLED_ENABLE = no

View file

@ -11,3 +11,4 @@ RGBLIGHT_ENABLE = yes
VIA_ENABLE = yes
VIAL_ENABLE = yes
QMK_SETTINGS = no
COMBO_ENABLE = no

View file

@ -4,3 +4,4 @@ VIA_ENABLE = yes
VIAL_ENABLE = yes
QMK_SETTINGS = no
TAP_DANCE_ENABLE = no
COMBO_ENABLE = no

View file

@ -2,3 +2,4 @@ VIA_ENABLE = yes
VIAL_ENABLE = yes
VIAL_INSECURE = yes
VIAL_ENCODERS_ENABLE = yes
QMK_SETTINGS = no

View file

@ -2,3 +2,4 @@ VIA_ENABLE = yes
VIAL_ENABLE = yes
VIAL_INSECURE = yes
VIAL_ENCODERS_ENABLE = yes
QMK_SETTINGS = no

View file

@ -9,3 +9,4 @@ LTO_ENABLE = yes
RGBLIGHT_ENABLE = no
QMK_SETTINGS = no
MOUSEKEY_ENABLE = yes
COMBO_ENABLE = no

View file

@ -1,2 +1,3 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = yes

View file

@ -7,7 +7,7 @@ BOOTLOADER = atmel-dfu
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
BOOTMAGIC_ENABLE = yes
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug

View file

@ -4,7 +4,7 @@ MCU = STM32F072
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
BOOTMAGIC_ENABLE = yes
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug

View file

@ -5,7 +5,7 @@ BOOTLOADER = vibl
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
BOOTMAGIC_ENABLE = yes
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug

View file

@ -4,7 +4,7 @@ MCU = STM32F401
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
BOOTMAGIC_ENABLE = yes
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug