mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-30 04:37:14 +06:00
bc538e3776
* Add Malicious Ergo keyboard to QMK * Update layout * update info.json * update info.json again * Update info.json again * i h8 info.json * its default not all * Update keyboards/cannonkeys/malicious_ergo/config.h * Add bootloader instructions and license header * Update keyboards/cannonkeys/malicious_ergo/rules.mk * Update keyboards/cannonkeys/malicious_ergo/rules.mk * Update keyboards/cannonkeys/malicious_ergo/readme.md * Remove rotation from info.json * Remove labels * Update keyboards/cannonkeys/malicious_ergo/readme.md * Update keyboards/cannonkeys/malicious_ergo/malicious_ergo.h * Revise info.json again * whitespace fix * Apply suggestions from code review Move pid/vid into info json Fix rounding errors in info json Thanks to fauxpark and noroadsleft!
26 lines
812 B
Makefile
26 lines
812 B
Makefile
# MCU name
|
|
MCU = STM32F072
|
|
|
|
# Bootloader selection
|
|
BOOTLOADER = stm32-dfu
|
|
|
|
# Wildcard to allow APM32 MCU
|
|
DFU_SUFFIX_ARGS = -v FFFF -p FFFF
|
|
|
|
# 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 = yes # Console for debug
|
|
COMMAND_ENABLE = yes # Commands for debug and configuration
|
|
NKRO_ENABLE = yes # Enable N-Key Rollover
|
|
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
|
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
|
AUDIO_ENABLE = no # Audio output
|
|
WS2812_DRIVER = spi
|
|
|
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|