rules.mk 918 B

1234567891011121314151617181920212223242526272829
  1. # MCU name
  2. MCU = STM32F411
  3. # Linker script to use
  4. # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
  5. # or <this_dir>/ld/
  6. MCU_LDSCRIPT = m20add_boot
  7. # Board: it should exist either in <chibios>/os/hal/boards/
  8. # or <this_dir>/boards
  9. BOARD = ST_NUCLEO64_F411RE
  10. # Build Options
  11. # comment out to disable the options.
  12. #
  13. BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration
  14. MOUSEKEY_ENABLE = yes # Mouse keys
  15. EXTRAKEY_ENABLE = yes # Audio control and System control
  16. CONSOLE_ENABLE = no # Console for debug
  17. COMMAND_ENABLE = no # Commands for debug and configuration
  18. NKRO_ENABLE = no # USB Nkey Rollover
  19. NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in
  20. RGBLIGHT_ENABLE = yes
  21. CUSTOM_MATRIX = lite
  22. # project specific files
  23. SRC += matrix.c tca6424.c rgb_ring.c issi/is31fl3731.c
  24. QUANTUM_LIB_SRC += i2c_master.c