mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-13 23:44:54 +00:00
4eb6d19530
* Update encoder callback * Move encoder callback - Encoder callback function was moved from ``encoder_update_user`` in ``keymap.c`` to ``encoder_update_kb`` in ``keyboard.c`` * Update keyboards/evolv/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Use tap_code() on encoder callback Co-authored-by: Ryan <fauxpark@gmail.com> * Use tap_code_delay * Minor readability changes Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
22 lines
748 B
Makefile
22 lines
748 B
Makefile
# MCU name
|
|
MCU = STM32F072
|
|
|
|
# Bootloader selection
|
|
BOOTLOADER = stm32-dfu
|
|
|
|
# Build Options
|
|
# change yes to no to disable
|
|
#
|
|
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
|
MOUSEKEY_ENABLE = yes # Mouse keys
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
|
CONSOLE_ENABLE = no # Console for debug
|
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
|
NKRO_ENABLE = yes # Enable N-Key Rollover
|
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
|
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
|
AUDIO_ENABLE = no # Audio output
|
|
ENCODER_ENABLE = yes
|
|
|
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|