diff options
author | Andrew Kannan <andrew.kannan@klaviyo.com> | 2021-01-11 01:18:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-10 22:18:01 -0800 |
commit | 65d8ac47598aa4aa439181627743749d18a19558 (patch) | |
tree | 82158d8d82b7ab47c3d4bf36c45bfda4ed5b2708 /keyboards/cannonkeys/onyx/rules.mk | |
parent | 8657f54f9eee97c1905b8fa347497a518f147455 (diff) |
[Keyboard] Add Onyx keyboard to QMK (#11292)
* Add Onyx keyboard to QMK
* Apply suggestions from code review
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/cannonkeys/onyx/rules.mk')
-rw-r--r-- | keyboards/cannonkeys/onyx/rules.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/cannonkeys/onyx/rules.mk b/keyboards/cannonkeys/onyx/rules.mk new file mode 100644 index 0000000000..50235c6e11 --- /dev/null +++ b/keyboards/cannonkeys/onyx/rules.mk @@ -0,0 +1,25 @@ +# MCU name +MCU = STM32F072 + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration +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 +# 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 = no # Enable keyboard RGB underglow +BLUETOOTH_ENABLE = no # Enable Bluetooth +AUDIO_ENABLE = no # Audio output + +# Wildcard to allow APM32 MCU +DFU_SUFFIX_ARGS = -p FFFF -v FFFF + +# Enter lower-power sleep mode when on the ChibiOS idle thread +OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |