rules.mk 820 B

123456789101112131415161718192021222324252627
  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. ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.)
  10. MOUSEKEY_ENABLE = no # Mouse keys
  11. EXTRAKEY_ENABLE = yes # Audio control and System control
  12. CONSOLE_ENABLE = no # Console for debug
  13. COMMAND_ENABLE = no # Commands for debug and configuration
  14. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  15. NKRO_ENABLE = yes # USB Nkey Rollover
  16. CUSTOM_MATRIX = yes # Custom matrix file
  17. BACKLIGHT_ENABLE = no
  18. VISUALIZER_ENABLE = no
  19. # Enter lower-power sleep mode when on the ChibiOS idle thread
  20. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
  21. # project specific files
  22. SRC = matrix.c \
  23. led.c