rules.mk 836 B

12345678910111213141516171819202122232425
  1. # MCU name
  2. MCU = STM32F103
  3. MCU_LDSCRIPT = stm32f103_bootloader
  4. BOARD = ST_NUCLEO64_F103RB
  5. CFLAGS += "-Wno-error=deprecated"
  6. EXTRAFLAGS = -O0 -g
  7. BOOTMAGIC_ENABLE = no
  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. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  13. NKRO_ENABLE = yes # USB Nkey Rollover
  14. CUSTOM_MATRIX = yes # Custom matrix file
  15. NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  16. UNICODE_ENABLE = yes # Unicode
  17. # Enter lower-power sleep mode when on the ChibiOS idle thread
  18. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
  19. SRC += matrix.c
  20. QUANTUM_LIB_SRC += i2c_master.c