rules.mk 704 B

1234567891011121314151617181920212223
  1. # MCU name
  2. MCU = STM32F042
  3. BOARD = ST_NUCLEO32_F042K6
  4. # Bootloader selection
  5. BOOTLOADER = stm32-dfu
  6. # Build Options
  7. # comment out to disable the options.
  8. #
  9. BACKLIGHT_ENABLE = no
  10. BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
  11. MOUSEKEY_ENABLE = no # Mouse keys
  12. EXTRAKEY_ENABLE = no # Audio control and System control
  13. CONSOLE_ENABLE = no # Console for debug
  14. COMMAND_ENABLE = no # Commands for debug and configuration
  15. NKRO_ENABLE = yes # Enable N-Key Rollover
  16. NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
  17. LAYOUTS = 60_ansi 60_iso
  18. # Enter lower-power sleep mode when on the ChibiOS idle thread
  19. OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE