rules.mk 966 B

1234567891011121314151617181920212223242526272829303132333435
  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. # Bootloader selection
  11. BOOTLOADER = custom
  12. # Build Options
  13. # change yes to no to disable
  14. #
  15. BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
  16. MOUSEKEY_ENABLE = yes # Mouse keys
  17. EXTRAKEY_ENABLE = yes # Audio control and System control
  18. CONSOLE_ENABLE = no # Console for debug
  19. COMMAND_ENABLE = no # Commands for debug and configuration
  20. NKRO_ENABLE = no # Enable N-Key Rollover
  21. NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in
  22. RGB_MATRIX_ENABLE = yes
  23. RGB_MATRIX_DRIVER = IS31FL3731
  24. RGBLIGHT_ENABLE = yes
  25. RGBLIGHT_CUSTOM_DRIVER = yes
  26. CUSTOM_MATRIX = yes
  27. # project specific files
  28. SRC += ws2812.c matrix.c