rules.mk 661 B

12345678910111213141516171819202122
  1. # MCU name
  2. MCU = STM32F103
  3. MCU_LDSCRIPT = stm32f103_bootloader
  4. BOARD = ST_NUCLEO64_F103RB
  5. # Bootloader selection
  6. BOOTLOADER = custom
  7. BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
  8. MOUSEKEY_ENABLE = no # Mouse keys
  9. EXTRAKEY_ENABLE = yes # Audio control and System control
  10. CONSOLE_ENABLE = no # Console for debug
  11. COMMAND_ENABLE = no # Commands for debug and configuration
  12. NKRO_ENABLE = yes # Enable N-Key Rollover
  13. CUSTOM_MATRIX = yes # Custom matrix file
  14. UNICODE_ENABLE = yes # Unicode
  15. # Enter lower-power sleep mode when on the ChibiOS idle thread
  16. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
  17. SRC += matrix.c
  18. QUANTUM_LIB_SRC += i2c_master.c