From 5131ec5eb0ec4c6292ff57da2bfda0e522d67003 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sat, 26 Oct 2019 17:11:04 -0400 Subject: stm32: Add support for flashing over usb on stm32f042 Signed-off-by: Kevin O'Connor --- scripts/flash_usb.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/flash_usb.py') diff --git a/scripts/flash_usb.py b/scripts/flash_usb.py index bb1afcce..a40708ba 100755 --- a/scripts/flash_usb.py +++ b/scripts/flash_usb.py @@ -211,7 +211,8 @@ def flash_stm32f4(options, binfile): MCUTYPES = { 'atsam3': flash_atsam3, 'atsam4': flash_atsam4, 'atsamd': flash_atsamd, - 'lpc176x': flash_lpc176x, 'stm32f1': flash_stm32f1, 'stm32f4': flash_stm32f4 + 'lpc176x': flash_lpc176x, 'stm32f1': flash_stm32f1, + 'stm32f4': flash_stm32f4, 'stm32f0': flash_stm32f4, } -- cgit v1.2.3-70-g09d2