mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-26 19:18:03 +06:00
9dcd03b6ca
* Set bootloader to stm32-dfu for STM32F303 * Set bootloader to stm32-dfu for STM32F0x2 * Set bootloader to stm32-dfu for STM32F4x1 * Set bootloader to stm32duino for sowbug * Delete redundant bootloader_defs headers * Add some missing MCU name comments * Move APM32 dfu-suffix overrides underneath bootloader * Remove redundant STM32_BOOTLOADER_ADDRESS defines/rules
24 lines
704 B
Makefile
24 lines
704 B
Makefile
# MCU name
|
|
MCU = STM32F042
|
|
BOARD = ST_NUCLEO32_F042K6
|
|
|
|
# Bootloader selection
|
|
BOOTLOADER = stm32-dfu
|
|
|
|
# Build Options
|
|
# comment out to disable the options.
|
|
#
|
|
BACKLIGHT_ENABLE = no
|
|
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
|
|
MOUSEKEY_ENABLE = no # Mouse keys
|
|
EXTRAKEY_ENABLE = no # Audio control and System control
|
|
CONSOLE_ENABLE = no # Console for debug
|
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
|
NKRO_ENABLE = yes # USB Nkey Rollover
|
|
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
|
|
|
|
LAYOUTS = 60_ansi 60_iso
|
|
|
|
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
|
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|