forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Keymap] Drashna updates for 0.19 (qmk#19175)
* Fix up bastardkb boards since blackpill support is officially added. * Check for blackpill version, not elite c. * Add checks in chibiOS config since multiple ARM controllers supported. * Rework rules.mk for keymaps to better handle arm vs avr support * Start moving away from `matrix_*_*` functions. * `housekeeping_task_*` instead of `matrix_scan_*` * `keyboard_(pre|post)_init_*` instead of `matrix_init_*` * Add ℂℴmⅈℂ unicode input method. * Clean up unicode code to be more compact and flexible. * Remove/move Pro Micro LED commands to userspace and better filter them * Fixup OLED code * Use newer quantum keycode functions/preprocessors rather than manual bit manipulation * Make unicode mode render much more compact/simple. * Make qmk secrets more self contained * Remove custom implementation of split watchdog
- Loading branch information
Showing
49 changed files
with
630 additions
and
568 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 38 additions & 21 deletions
59
keyboards/bastardkb/charybdis/3x5/keymaps/drashna/rules.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,45 @@ | ||
# MCU name | ||
MCU = STM32F411 | ||
BOARD = BLACKPILL_STM32_F411 | ||
RGB_MATRIX_ENABLE = no | ||
CUSTOM_UNICODE_ENABLE = no | ||
CUSTOM_POINTING_DEVICE = no | ||
CUSTOM_SPLIT_TRANSPORT_SYNC = no | ||
|
||
# Bootloader selection | ||
# BOOTLOADER = stm32-dfu | ||
BOOTLOADER := tinyuf2 | ||
|
||
LTO_ENABLE := no | ||
ifeq ($(strip $(KEYBOARD)), bastardkb/charybdis/3x5/blackpill) | ||
# Bootloader selection | ||
BOOTLOADER := tinyuf2 | ||
|
||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
KEYBOARD_SHARED_EP = yes | ||
MOUSE_SHARED_EP = yes | ||
LTO_ENABLE := no | ||
|
||
EEPROM_DRIVER = spi | ||
WS2812_DRIVER = pwm | ||
SERIAL_DRIVER = usart | ||
AUDIO_DRIVER = pwm_hardware | ||
AUDIO_SUPPORTED = yes | ||
AUDIO_ENABLE = yes | ||
AUDIO_DRIVER = pwm_hardware | ||
|
||
AUDIO_SUPPORTED = yes | ||
AUDIO_ENABLE = yes | ||
MOUSEKEY_ENABLE = yes | ||
NKRO_ENABLE = yes | ||
CONSOLE_ENABLE = yes | ||
OVERLOAD_FEATURES = yes | ||
endif | ||
|
||
AUTOCORRECT_ENABLE = yes | ||
ifeq ($(strip $(KEYBOARD)), bastardkb/charybdis/3x5/v2/stemcell) | ||
OVERLOAD_FEATURES = yes | ||
endif | ||
ifeq ($(strip $(KEYBOARD)), bastardkb/charybdis/3x5/v2/splinky) | ||
OVERLOAD_FEATURES = yes | ||
endif | ||
|
||
DEBOUNCE_TYPE = asym_eager_defer_pk | ||
|
||
ifeq ($(strip $(OVERLOAD_FEATURES)), yes) | ||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
KEYBOARD_SHARED_EP = yes | ||
MOUSE_SHARED_EP = yes | ||
|
||
MOUSEKEY_ENABLE = yes | ||
NKRO_ENABLE = yes | ||
CONSOLE_ENABLE = yes | ||
RGB_MATRIX_ENABLE = yes | ||
|
||
AUTOCORRECT_ENABLE = yes | ||
|
||
CUSTOM_UNICODE_ENABLE = yes | ||
CUSTOM_POINTING_DEVICE = yes | ||
CUSTOM_SPLIT_TRANSPORT_SYNC = yes | ||
|
||
DEBOUNCE_TYPE = asym_eager_defer_pk | ||
endif |
Oops, something went wrong.