summaryrefslogtreecommitdiff
path: root/keyboards/ai03/andromeda/rules.mk
diff options
context:
space:
mode:
authorAndrew Kannan <andrew.kannan@gmail.com>2021-05-04 15:38:38 -0400
committerGitHub <noreply@github.com>2021-05-04 12:38:38 -0700
commitc6778dde825d6e7eeb63b51e12fc23baa02188ba (patch)
tree0e80413415550300a8f627b35227ab6abf0e46ea /keyboards/ai03/andromeda/rules.mk
parentc27a4587993c014bff3c0e0145a156b0f5d308c9 (diff)
[Keyboard] ai03 Andromeda (#12676)
* Add andromeda to qmk * Fix * Another fix * Fix via map * Update andromeda * Update confs for new qmk master * Apply suggestions from code review * Remove the ch hal and mcu conf as the andromeda does not need extra peripherals * Update keyboards/ai03/andromeda/rules.mk * Apply suggestions from code review * Add bootloader note to readme
Diffstat (limited to 'keyboards/ai03/andromeda/rules.mk')
-rw-r--r--keyboards/ai03/andromeda/rules.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/ai03/andromeda/rules.mk b/keyboards/ai03/andromeda/rules.mk
new file mode 100644
index 0000000000..b5330c8e7e
--- /dev/null
+++ b/keyboards/ai03/andromeda/rules.mk
@@ -0,0 +1,22 @@
+# 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 = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
+BLUETOOTH_ENABLE = no # Enable Bluetooth
+AUDIO_ENABLE = no # Audio output
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE