Skip to content

Commit 420b913

Browse files
Jpe230dexter93
authored andcommitted
Update BL
1 parent 4f4408a commit 420b913

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

platforms/chibios/bootloader.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
# wb32-dfu WB32 USB DFU in ROM
2929
# tinyuf2 TinyUF2
3030
# rp2040 Raspberry Pi RP2040
31+
# sn32-dfu SN32 USB DFU in ROM
3132
# Current options for RISC-V:
3233
# gd32v-dfu GD32V USB DFU in ROM
3334
#
@@ -112,6 +113,10 @@ ifeq ($(strip $(BOOTLOADER)), wb32-dfu)
112113
OPT_DEFS += -DBOOTLOADER_WB32_DFU
113114
BOOTLOADER_TYPE = wb32_dfu
114115
endif
116+
ifeq ($(strip $(BOOTLOADER)), sn32-dfu)
117+
OPT_DEFS += -DBOOTLOADER_SN32_DFU
118+
BOOTLOADER_TYPE = sn32_dfu
119+
endif
115120

116121
ifeq ($(strip $(BOOTLOADER_TYPE)),)
117122
ifneq ($(strip $(BOOTLOADER)),)

0 commit comments

Comments
 (0)