rules.mk 952 B

12345678910111213141516171819202122232425262728293031323334
  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 = noah_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 = lite # Enable Bootmagic Lite
  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. RGB_MATRIX_ENABLE = yes
  21. RGB_MATRIX_DRIVER = IS31FL3731
  22. RGBLIGHT_ENABLE = yes
  23. RGBLIGHT_CUSTOM_DRIVER = yes
  24. CUSTOM_MATRIX = yes
  25. # project specific files
  26. SRC += ws2812.c matrix.c
  27. LAYOUTS = 65_iso_blocker