summaryrefslogtreecommitdiffstats
path: root/bootloader.mk
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2021-04-25 13:40:56 +1000
committerGitHub <noreply@github.com>2021-04-25 13:40:56 +1000
commit891d18d3565090abd5f218a8787acc3e25349b73 (patch)
treea18a24e01c9fa0325d4574e7ff4975021cdaeb84 /bootloader.mk
parent2a61a500de6fb286cedf644f56d70d05a0b96f0d (diff)
Add initial support for tinyuf2 bootloader (when hosted on F411 blackpill) (#12600)
* Add support for jumping to tinyuf2 bootloader. Adds blackpill UF2 example. * Update flashing.md * Update chconf.h * Update config.h * Update halconf.h * Update mcuconf.h
Diffstat (limited to 'bootloader.mk')
-rw-r--r--bootloader.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootloader.mk b/bootloader.mk
index fd76446e99..ead52cbe3d 100644
--- a/bootloader.mk
+++ b/bootloader.mk
@@ -137,3 +137,6 @@ ifeq ($(strip $(BOOTLOADER)), stm32duino)
DFU_ARGS = -d 1EAF:0003 -a 2 -R
DFU_SUFFIX_ARGS = -v 1EAF -p 0003
endif
+ifeq ($(strip $(BOOTLOADER)), tinyuf2)
+ OPT_DEFS += -DBOOTLOADER_TINYUF2
+endif