mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-30 12:47:37 +06:00
51cfb1b457
* sync oled code over the keymaps * put different product ids * put different product ids for the rest * put different product ids for the rest * try to reduce code duplication * make ifdefs nice and correct * move the leds code out of keymap * try to reduce code duplication * move the rgb code outside the keymaps for reuse * Update keyboards/mlego/m65/m65.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/mlego/m65/m65.c Co-authored-by: Drashna Jaelre <drashna@live.com> * move more code outside keymaps for reuse * add few more xps * add mic mute * update to new name of macros for reset * style for matrix * clean split * use tinyuf2 as bootloader * Update keyboards/mlego/m65/rev4/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * radionalise product id and device version * add tinyuf2 as default bootloader for stm32f4 * update tinyuf2 * update tinyuf2 and via. f411 remove tinyuf2 since is not really working. make the config more conditional * sync the keymap with default * revert via non building with gcc 11 Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
26 lines
922 B
Makefile
26 lines
922 B
Makefile
# MCU name
|
|
MCU = STM32F401
|
|
|
|
# Bootloader selection
|
|
BOOTLOADER = tinyuf2
|
|
#BOOTLOADER = stm32-dfu
|
|
MCU_LDSCRIPT = STM32F401xE
|
|
EEPROM_DRIVER = vendor
|
|
|
|
# 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 # Enable encoder
|
|
OLED_ENABLE = yes # Enable OLED
|
|
OLED_DRIVER = SSD1306 # Enable Support for SSD1306 or SH1106 OLED Displays; Communicating over I2C
|
|
WPM_ENABLE = yes # Enable WPM Counter
|