From f22f4f896a461b2b6190ba48bffe79e374f17cea Mon Sep 17 00:00:00 2001 From: Nathan Young <77929198+NathanY3G@users.noreply.github.com> Date: Sun, 10 Jul 2022 21:34:07 +0200 Subject: [PATCH] stm: Make family IDs consistent with TinyUF2 This should allow UF2 images for STM32F405 boards to be flashed by TinyUF2. --- ports/stm/mpconfigport.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ports/stm/mpconfigport.mk b/ports/stm/mpconfigport.mk index 4f18637f13..dd83e0d7bc 100644 --- a/ports/stm/mpconfigport.mk +++ b/ports/stm/mpconfigport.mk @@ -8,6 +8,9 @@ ifeq ($(MCU_VARIANT),$(filter $(MCU_VARIANT),STM32F405xx STM32F407xx)) CIRCUITPY_SDIOIO ?= 1 # Number of USB endpoint pairs. USB_NUM_ENDPOINT_PAIRS = 4 +endif + +ifeq ($(MCU_VARIANT),STM32F407xx) UF2_FAMILY_ID ?= 0x6d0922fa endif