rules.mk 402 B

1234567891011121314
  1. SRC += lib/logo.c
  2. # MCU name
  3. MCU = STM32F103
  4. # Bootloader selection
  5. # Cannot use `BOOTLOADER = stm32duino` due to the need to override
  6. # `MCU_LDSCRIPT`, therefore all parameters need to be specified here manually.
  7. OPT_DEFS += -DBOOTLOADER_STM32DUINO
  8. MCU_LDSCRIPT = k552_f103
  9. BOARD = STM32_F103_STM32DUINO
  10. BOOTLOADER_TYPE = stm32duino
  11. DFU_ARGS = -d 1EAF:0003 -a 2 -R
  12. DFU_SUFFIX_ARGS = -v 1EAF -p 0003