mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-16 06:33:23 +00:00
19 lines
342 B
Makefile
19 lines
342 B
Makefile
|
# Copyright 2022 Mega Mind (@megamind4089)
|
||
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
|
||
|
MCU := STM32F411
|
||
|
BOARD := STEMCELL
|
||
|
BOOTLOADER := tinyuf2
|
||
|
|
||
|
SERIAL_DRIVER ?= usart
|
||
|
WS2812_DRIVER ?= bitbang
|
||
|
|
||
|
ifeq ($(strip $(STMC_US)), yes)
|
||
|
OPT_DEFS += -DSTEMCELL_UART_SWAP
|
||
|
endif
|
||
|
|
||
|
ifeq ($(strip $(STMC_IS)), yes)
|
||
|
OPT_DEFS += -DSTEMCELL_I2C_SWAP
|
||
|
endif
|
||
|
|