stm32: Add support for flashing over usb on stm32f042

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2019-10-26 17:11:04 -04:00
parent 2ecc8d8f62
commit 5131ec5eb0
3 changed files with 18 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ $(OUT)klipper.bin: $(OUT)klipper.elf
$(Q)$(OBJCOPY) -O binary $< $@
# Flash rules
FLASH_TYPE-$(CONFIG_MACH_STM32F0) := stm32f0
FLASH_TYPE-$(CONFIG_MACH_STM32F1) := stm32f1
FLASH_TYPE-$(CONFIG_MACH_STM32F4) := stm32f4