Browse Source

Use DFU bootloader for rev 3

Danny Nguyen 6 năm trước cách đây
mục cha
commit
44a348d56f
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      keyboards/iris/rules.mk

+ 5 - 1
keyboards/iris/rules.mk

@@ -37,7 +37,11 @@ F_USB = $(F_CPU)
 #     This definition is optional, and if your keyboard supports multiple bootloaders of
 #     different sizes, comment this out, and the correct address will be loaded
 #     automatically (+60). See bootloader.mk for all options.
-BOOTLOADER = caterina
+ifeq ($(strip $(KEYBOARD)), iris/rev3)
+    BOOTLOADER = dfu
+else
+    BOOTLOADER = caterina
+endif
 
 # Interrupt driven control endpoint task(+60)
 OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT