rules.mk 1.1 KB

1234567891011121314151617181920212223242526
  1. # MCU name
  2. MCU = STM32F072
  3. # Build Options
  4. # change yes to no to disable
  5. #
  6. BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
  7. MOUSEKEY_ENABLE = yes # Mouse keys
  8. EXTRAKEY_ENABLE = yes # Audio control and System control
  9. CONSOLE_ENABLE = no # Console for debug
  10. COMMAND_ENABLE = no # Commands for debug and configuration
  11. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  12. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  13. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  14. NKRO_ENABLE = yes # USB Nkey Rollover
  15. BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
  16. RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
  17. WS2812_DRIVER = spi # RGB underglow driver configuration
  18. BLUETOOTH_ENABLE = no # Enable Bluetooth
  19. AUDIO_ENABLE = no # Audio output
  20. OLED_DRIVER_ENABLE = no # Enables the use of OLED displays
  21. # Enter lower-power sleep mode when on the ChibiOS idle thread
  22. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
  23. LAYOUTS = alice alice_split_bs