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.

67 lines
2.1 KiB

  1. # project specific files
  2. SRC = keyboards/zeal60/zeal60.c \
  3. keyboards/zeal60/rgb_backlight.c \
  4. drivers/issi/is31fl3733.c \
  5. quantum/color.c \
  6. drivers/arm/i2c_master.c
  7. ## chip/board settings
  8. # the next two should match the directories in
  9. # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
  10. MCU_FAMILY = STM32
  11. MCU_SERIES = STM32F3xx
  12. # Linker script to use
  13. # it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
  14. # or <this_dir>/ld/
  15. MCU_LDSCRIPT = STM32F303xC
  16. # Startup code to use
  17. # - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
  18. MCU_STARTUP = stm32f3xx
  19. # Board: it should exist either in <chibios>/os/hal/boards/
  20. # or <this_dir>/boards
  21. BOARD = GENERIC_STM32_F303XC
  22. # Cortex version
  23. MCU = cortex-m4
  24. # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
  25. ARMV = 7
  26. USE_FPU = yes
  27. # Vector table for application
  28. # 0x00000000-0x00001000 area is occupied by bootlaoder.*/
  29. # The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
  30. # OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000
  31. OPT_DEFS =
  32. # Do not put the microcontroller into power saving mode
  33. # when we get USB suspend event. We want it to keep updating
  34. # backlight effects.
  35. OPT_DEFS += -DNO_SUSPEND_POWER_DOWN
  36. # Options to pass to dfu-util when flashing
  37. DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave
  38. DFU_SUFFIX_ARGS = -p DF11 -v 0483
  39. # Build Options
  40. # comment out to disable the options.
  41. #
  42. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  43. BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
  44. MOUSEKEY_ENABLE = yes # Mouse keys
  45. EXTRAKEY_ENABLE = yes # Audio control and System control
  46. CONSOLE_ENABLE = no # Console for debug
  47. COMMAND_ENABLE = no # Commands for debug and configuration
  48. SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
  49. NKRO_ENABLE = yes # USB Nkey Rollover
  50. AUDIO_ENABLE = no # Audio output on port C6
  51. NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
  52. #SERIAL_LINK_ENABLE = yes
  53. RAW_ENABLE = yes
  54. DYNAMIC_KEYMAP_ENABLE = yes
  55. CIE1931_CURVE = yes