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.

18 lines
342 B

  1. # Copyright 2022 Mega Mind (@megamind4089)
  2. # SPDX-License-Identifier: GPL-2.0-or-later
  3. MCU := STM32F411
  4. BOARD := STEMCELL
  5. BOOTLOADER := tinyuf2
  6. SERIAL_DRIVER ?= usart
  7. WS2812_DRIVER ?= bitbang
  8. ifeq ($(strip $(STMC_US)), yes)
  9. OPT_DEFS += -DSTEMCELL_UART_SWAP
  10. endif
  11. ifeq ($(strip $(STMC_IS)), yes)
  12. OPT_DEFS += -DSTEMCELL_I2C_SWAP
  13. endif