summaryrefslogtreecommitdiff
path: root/keyboards/hs60/v2/hhkb/rules.mk
diff options
context:
space:
mode:
authoryiancar <yiangosyiangou@cytanet.com.cy>2020-01-21 23:09:50 +0000
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2020-01-21 15:09:50 -0800
commitf7730567509619e31742ce0a2aa5ae7cfe21d23e (patch)
tree2b17a9e882d556819e01be9beb67ea0c30929d0e /keyboards/hs60/v2/hhkb/rules.mk
parentb70500806ab047907b161ed6fa0dc32ba8a91784 (diff)
[Keyboard] HS60 Refactor (Keymap restructure to be more standardized) (#7847)
* Keymap restructure to be more standardized * made bootmagic lite default * Dividing keymaps * Update keyboards/hs60/v2/v2.c
Diffstat (limited to 'keyboards/hs60/v2/hhkb/rules.mk')
-rw-r--r--keyboards/hs60/v2/hhkb/rules.mk31
1 files changed, 31 insertions, 0 deletions
diff --git a/keyboards/hs60/v2/hhkb/rules.mk b/keyboards/hs60/v2/hhkb/rules.mk
new file mode 100644
index 0000000000..44399851f0
--- /dev/null
+++ b/keyboards/hs60/v2/hhkb/rules.mk
@@ -0,0 +1,31 @@
+# MCU name
+MCU = STM32F303
+
+# Do not put the microcontroller into power saving mode
+# when we get USB suspend event. We want it to keep updating
+# backlight effects.
+OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
+
+# Build Options
+# comment out to disable the options.
+#
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
+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
+SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
+NKRO_ENABLE = yes # USB Nkey Rollover
+AUDIO_ENABLE = no # Audio output on port C6
+NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
+#SERIAL_LINK_ENABLE = yes
+
+CIE1931_CURVE = yes
+
+# project specific files
+SRC = keyboards/wilba_tech/wt_main.c \
+ keyboards/wilba_tech/wt_rgb_backlight.c \
+ drivers/issi/is31fl3733.c \
+ quantum/color.c \
+ drivers/arm/i2c_master.c