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.

47 lines
1.4 KiB

  1. # project specific files
  2. ## chip/board settings
  3. # - the next two should match the directories in
  4. # <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES)
  5. MCU_FAMILY = STM32
  6. MCU_SERIES = STM32F0xx
  7. # Linker script to use
  8. # - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/
  9. # or <this_dir>/ld/
  10. MCU_LDSCRIPT = STM32F042x6
  11. # Startup code to use
  12. # - it should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/
  13. MCU_STARTUP = stm32f0xx
  14. # Board: it should exist either in <chibios>/os/hal/boards/
  15. # or <this_dir>/boards
  16. BOARD = GENERIC_STM32_F042X6
  17. # Cortex version
  18. MCU = cortex-m0
  19. # ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7
  20. ARMV = 6
  21. # Vector table for application
  22. # 0x00000000-0x00001000 area is occupied by bootlaoder.*/
  23. # The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
  24. #OPT_DEFS = -DCORTEX_VTOR_INIT=0x00001000
  25. OPT_DEFS =
  26. # Options to pass to dfu-util when flashing
  27. DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave
  28. # Build Options
  29. # comment out to disable the options.
  30. #
  31. BACKLIGHT_ENABLE = no
  32. BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
  33. MOUSEKEY_ENABLE = yes # Mouse keys
  34. EXTRAKEY_ENABLE = yes # Audio control and System control
  35. CONSOLE_ENABLE = no # Console for debug
  36. COMMAND_ENABLE = no # Commands for debug and configuration
  37. NKRO_ENABLE = yes # USB Nkey Rollover
  38. NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in