From f0e9aa9335052dcf11d258d5d27040be234d8770 Mon Sep 17 00:00:00 2001 From: Donald Delmar Davis Date: Sat, 27 Apr 2013 00:07:15 -0700 Subject: Refactor my first attempt into fork of the Lundin code. Add sysex. Create a board file for maple_midi. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1f19f37..8802d72 100644 --- a/Makefile +++ b/Makefile @@ -104,9 +104,14 @@ BOARD_USB_PRODUCT_ID := 0003 UPLOAD_ram := $(SUPPORT_PATH)/scripts/reset.py && \ sleep 1 && \ $(DFU) -a0 -d $(BOARD_USB_VENDOR_ID):$(BOARD_USB_PRODUCT_ID) -D $(BUILD_PATH)/$(BOARD).bin -R +ifeq ($(USB_TYPE),midi) +UPLOAD_flash := $(SUPPORT_PATH)/scripts/sysexreset.py && \ + $(DFU) -a1 -d $(BOARD_USB_VENDOR_ID):$(BOARD_USB_PRODUCT_ID) -D $(BUILD_PATH)/$(BOARD).bin -R +else UPLOAD_flash := $(SUPPORT_PATH)/scripts/reset.py && \ sleep 1 && \ $(DFU) -a1 -d $(BOARD_USB_VENDOR_ID):$(BOARD_USB_PRODUCT_ID) -D $(BUILD_PATH)/$(BOARD).bin -R +endif # Conditionally upload to whatever the last build was install: INSTALL_TARGET = $(shell cat $(BUILD_PATH)/build-type 2>/dev/null) -- cgit v1.2.3