rules.mk 928 B

1234567891011121314151617181920212223242526272829
  1. # MCU name
  2. MCU = STM32F103
  3. # GENERIC STM32F103C8T6 board - mass storage bootloader
  4. MCU_LDSCRIPT = wm1_f103
  5. BOARD = STM32_F103_STM32DUINO
  6. # Bootloader selection
  7. BOOTLOADER = custom
  8. PROGRAM_CMD = echo 'CLI flashing not supported' >&2
  9. # Build Options
  10. # change yes to no to disable
  11. #
  12. BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
  13. MOUSEKEY_ENABLE = yes # Mouse keys
  14. EXTRAKEY_ENABLE = yes # Audio control and System control
  15. CONSOLE_ENABLE = yes # Console for debug
  16. COMMAND_ENABLE = yes # Commands for debug and configuration
  17. NKRO_ENABLE = yes # Enable N-Key Rollover
  18. BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
  19. RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
  20. AUDIO_ENABLE = no # Audio output
  21. SLEEP_LED_ENABLE = yes
  22. LTO_ENABLE = yes
  23. # Enter lower-power sleep mode when on the ChibiOS idle thread
  24. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE