rules.mk 741 B

1234567891011121314151617181920212223242526
  1. # MCU name
  2. MCU = STM32F103
  3. MCU_LDSCRIPT = jm60_bootloader
  4. BOARD = JM60_BOARD
  5. # Build Options
  6. # comment out to disable the options.
  7. #
  8. BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
  9. MOUSEKEY_ENABLE = no # Mouse keys
  10. EXTRAKEY_ENABLE = yes # Audio control and System control
  11. CONSOLE_ENABLE = no # Console for debug
  12. COMMAND_ENABLE = no # Commands for debug and configuration
  13. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  14. NKRO_ENABLE = yes # USB Nkey Rollover
  15. CUSTOM_MATRIX = yes # Custom matrix file
  16. BACKLIGHT_ENABLE = no
  17. VISUALIZER_ENABLE = no
  18. # Enter lower-power sleep mode when on the ChibiOS idle thread
  19. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
  20. # project specific files
  21. SRC = matrix.c \
  22. led.c