Explorar o código

Merge remote-tracking branch 'origin/develop' into xap

QMK Bot %!s(int64=4) %!d(string=hai) anos
pai
achega
f0666c1b18
Modificáronse 3 ficheiros con 4 adicións e 6 borrados
  1. 2 2
      builddefs/bootloader.mk
  2. 0 2
      data/schemas/keyboard.jsonschema
  3. 2 2
      platforms/avr/flash.mk

+ 2 - 2
builddefs/bootloader.mk

@@ -116,13 +116,13 @@ ifeq ($(strip $(BOOTLOADER)), caterina)
 
 
     BOOTLOADER_SIZE = 4096
     BOOTLOADER_SIZE = 4096
 endif
 endif
-ifneq (,$(filter $(BOOTLOADER), bootloadhid bootloadHID))
+ifeq ($(strip $(BOOTLOADER)), bootloadhid)
     OPT_DEFS += -DBOOTLOADER_BOOTLOADHID
     OPT_DEFS += -DBOOTLOADER_BOOTLOADHID
     BOOTLOADER_TYPE = bootloadhid
     BOOTLOADER_TYPE = bootloadhid
 
 
     BOOTLOADER_SIZE = 4096
     BOOTLOADER_SIZE = 4096
 endif
 endif
-ifneq (,$(filter $(BOOTLOADER), usbasploader USBasp))
+ifeq ($(strip $(BOOTLOADER)), usbasploader)
     OPT_DEFS += -DBOOTLOADER_USBASP
     OPT_DEFS += -DBOOTLOADER_USBASP
     BOOTLOADER_TYPE = usbasploader
     BOOTLOADER_TYPE = usbasploader
 
 

+ 0 - 2
data/schemas/keyboard.jsonschema

@@ -89,7 +89,6 @@
             "enum": [
             "enum": [
                 "atmel-dfu",
                 "atmel-dfu",
                 "bootloadhid",
                 "bootloadhid",
-                "bootloadHID",
                 "caterina",
                 "caterina",
                 "custom",
                 "custom",
                 "gd32v-dfu",
                 "gd32v-dfu",
@@ -106,7 +105,6 @@
                 "tinyuf2",
                 "tinyuf2",
                 "unknown",
                 "unknown",
                 "usbasploader",
                 "usbasploader",
-                "USBasp",
                 "wb32-dfu"
                 "wb32-dfu"
             ]
             ]
         },
         },

+ 2 - 2
platforms/avr/flash.mk

@@ -177,9 +177,9 @@ else ifeq ($(strip $(BOOTLOADER)), halfkay)
 	$(UNSYNC_OUTPUT_CMD) && $(call EXEC_TEENSY)
 	$(UNSYNC_OUTPUT_CMD) && $(call EXEC_TEENSY)
 else ifeq (dfu,$(findstring dfu,$(BOOTLOADER)))
 else ifeq (dfu,$(findstring dfu,$(BOOTLOADER)))
 	$(UNSYNC_OUTPUT_CMD) && $(call EXEC_DFU)
 	$(UNSYNC_OUTPUT_CMD) && $(call EXEC_DFU)
-else ifneq (,$(filter $(BOOTLOADER), usbasploader USBasp))
+else ifeq ($(strip $(BOOTLOADER)), usbasploader)
 	$(UNSYNC_OUTPUT_CMD) && $(call EXEC_USBASP)
 	$(UNSYNC_OUTPUT_CMD) && $(call EXEC_USBASP)
-else ifneq (,$(filter $(BOOTLOADER), bootloadhid bootloadHID))
+else ifeq ($(strip $(BOOTLOADER)), bootloadhid)
 	$(UNSYNC_OUTPUT_CMD) && $(call EXEC_BOOTLOADHID)
 	$(UNSYNC_OUTPUT_CMD) && $(call EXEC_BOOTLOADHID)
 else ifeq ($(strip $(BOOTLOADER)), qmk-hid)
 else ifeq ($(strip $(BOOTLOADER)), qmk-hid)
 	$(UNSYNC_OUTPUT_CMD) && $(call EXEC_HID_LUFA)
 	$(UNSYNC_OUTPUT_CMD) && $(call EXEC_HID_LUFA)