You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.4 KiB

  1. ## chip/board settings
  2. # - the next two should match the directories in
  3. # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
  4. MCU_FAMILY = STM32
  5. MCU_SERIES = STM32F4xx
  6. # Linker script to use
  7. # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
  8. # or <this_dir>/ld/
  9. MCU_LDSCRIPT = abelx_boot
  10. # Startup code to use
  11. # - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
  12. MCU_STARTUP = stm32f4xx
  13. # Board: it should exist either in <chibios>/os/hal/boards/
  14. # or <this_dir>/boards
  15. BOARD = abelx_bd
  16. # Cortex version
  17. MCU = cortex-m4
  18. # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
  19. ARMV = 7
  20. USE_FPU = yes
  21. # Bootloader selection
  22. BOOTLOADER = custom
  23. # Build Options
  24. # change yes to no to disable
  25. #
  26. BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
  27. MOUSEKEY_ENABLE = yes # Mouse keys
  28. EXTRAKEY_ENABLE = yes # Audio control and System control
  29. CONSOLE_ENABLE = no # Console for debug
  30. COMMAND_ENABLE = no # Commands for debug and configuration
  31. NKRO_ENABLE = no # Enable N-Key Rollover
  32. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  33. RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
  34. AUDIO_ENABLE = no # Audio output
  35. NO_USB_STARTUP_CHECK = yes # Disable initialization only when usb is plugged in
  36. CUSTOM_MATRIX = lite
  37. # project specific files
  38. SRC += matrix.c tca6424.c aw9523b.c
  39. I2C_DRIVER_REQUIRED = yes