rules.mk 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. # MCU name
  2. MCU = STM32F103
  3. # GENERIC STM32F103C8T6 board - mass storage bootloader
  4. MCU_LDSCRIPT = wm1_f103
  5. BOARD = STM32_F103_STM32DUINO
  6. PROGRAM_CMD = echo 'CLI flashing not supported' >&2
  7. # Build Options
  8. # change yes to no to disable
  9. #
  10. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
  11. MOUSEKEY_ENABLE = yes # Mouse keys
  12. EXTRAKEY_ENABLE = yes # Audio control and System control
  13. CONSOLE_ENABLE = yes # Console for debug
  14. COMMAND_ENABLE = yes # Commands for debug and configuration
  15. # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
  16. SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
  17. # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  18. NKRO_ENABLE = yes # USB Nkey Rollover
  19. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  20. RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
  21. MIDI_ENABLE = no # MIDI support
  22. UNICODE_ENABLE = no # Unicode
  23. BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
  24. AUDIO_ENABLE = no # Audio output on port C6
  25. LTO_ENABLE = yes
  26. # Enter lower-power sleep mode when on the ChibiOS idle thread
  27. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE