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.

44 lines
1.2 KiB

  1. # Proton C MCU settings for converting AVR projects
  2. # These are defaults based on what has been implemented for ARM boards
  3. AUDIO_ENABLE = yes
  4. RGBLIGHT_ENABLE = no
  5. BACKLIGHT_ENABLE = no
  6. # The rest of these settings shouldn't change
  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. # Options to pass to dfu-util when flashing
  33. DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave