summaryrefslogtreecommitdiff
path: root/platforms/chibios/bootloader.mk
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/chibios/bootloader.mk')
-rw-r--r--platforms/chibios/bootloader.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/platforms/chibios/bootloader.mk b/platforms/chibios/bootloader.mk
index 0568d35321..85f1866062 100644
--- a/platforms/chibios/bootloader.mk
+++ b/platforms/chibios/bootloader.mk
@@ -104,6 +104,11 @@ ifeq ($(strip $(BOOTLOADER)), tinyuf2)
BOOTLOADER_TYPE = tinyuf2
FIRMWARE_FORMAT = uf2
endif
+ifeq ($(strip $(BOOTLOADER)), uf2boot)
+ OPT_DEFS += -DBOOTLOADER_UF2BOOT
+ BOOTLOADER_TYPE = uf2boot
+ FIRMWARE_FORMAT = uf2
+endif
ifeq ($(strip $(BOOTLOADER)), rp2040)
OPT_DEFS += -DBOOTLOADER_RP2040
BOOTLOADER_TYPE = rp2040