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.

61 lines
1.7 KiB

5 years ago
5 years ago
5 years ago
  1. # project specific files
  2. SRC = led.c
  3. LAYOUTS += 66_ansi
  4. ## chip/board settings
  5. # - the next two should match the directories in
  6. # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
  7. MCU_FAMILY = STM32
  8. MCU_SERIES = STM32F3xx
  9. # Linker script to use
  10. # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
  11. # or <this_dir>/ld/
  12. MCU_LDSCRIPT = STM32F303xC
  13. # Startup code to use
  14. # - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
  15. MCU_STARTUP = stm32f3xx
  16. # Board: it should exist either in <chibios>/os/hal/boards/
  17. # or <this_dir>/boards
  18. BOARD = GENERIC_STM32_F303XC
  19. # Cortex version
  20. MCU = cortex-m4
  21. # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
  22. ARMV = 7
  23. USE_FPU = yes
  24. # Vector table for application
  25. # 0x00000000-0x00001000 area is occupied by bootlaoder.*/
  26. # The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
  27. # OPT_DEFS = -DCORTEX_VTOR_INIT=0x08005000
  28. OPT_DEFS =
  29. # Options to pass to dfu-util when flashing
  30. DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave
  31. # LED Configuration
  32. LED_MATRIX_ENABLE = IS31FL3731
  33. # QWIIC Devices
  34. #QWIIC_ENABLE = RGB7SEG
  35. # Build Options
  36. # comment out to disable the options.
  37. #
  38. BACKLIGHT_ENABLE = yes
  39. BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
  40. ## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.)
  41. MOUSEKEY_ENABLE = yes # Mouse keys
  42. EXTRAKEY_ENABLE = yes # Audio control and System control
  43. CONSOLE_ENABLE = yes # Console for debug
  44. COMMAND_ENABLE = yes # Commands for debug and configuration
  45. #SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend
  46. NKRO_ENABLE = yes # USB Nkey Rollover
  47. #CUSTOM_MATRIX = yes # Custom matrix file
  48. AUDIO_ENABLE = yes
  49. # SERIAL_LINK_ENABLE = yes