mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-26 18:47:24 +06:00
3d01794b12
* initial commit * various fixes * minor formatting fixes * fixed typo in config * switched underglow from bitbang to pwm * fixed indicator leds not working * improved comment syntax * fixed matrix * remove outdated indicator custom code Co-authored-by: Joel Challis <git@zvecr.com> * add new indicator definitions Co-authored-by: Joel Challis <git@zvecr.com> * removed duplicate define for underglow pin Co-authored-by: Drashna Jaelre <drashna@live.com> * removed unneeded lines * fixed readme to fit template * added picture to readme * fixed readme formatting Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
24 lines
1016 B
Makefile
24 lines
1016 B
Makefile
# MCU name
|
|
MCU = STM32F303
|
|
|
|
# Build Options
|
|
# change yes to no to disable
|
|
#
|
|
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
|
|
MOUSEKEY_ENABLE = no # Mouse keys
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
|
CONSOLE_ENABLE = no # Console for debug
|
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
|
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
|
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
|
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
|
NKRO_ENABLE = yes # USB Nkey Rollover
|
|
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
|
|
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
|
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
|
AUDIO_ENABLE = no # Audio output
|
|
ENCODER_ENABLE = yes
|
|
WS2812_DRIVER = pwm
|
|
|
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|