diff options
| author | Donald Delmar Davis <don@suspectdevices.com> | 2013-04-27 00:07:15 -0700 |
|---|---|---|
| committer | Donald Delmar Davis <don@suspectdevices.com> | 2013-04-27 00:07:15 -0700 |
| commit | f0e9aa9335052dcf11d258d5d27040be234d8770 (patch) | |
| tree | 4d76c0223a84281c9661105fc0eba844a7bdf919 /Makefile | |
| parent | cd7f34a357c1035a2c69918131a923e4006544a0 (diff) | |
Refactor my first attempt into fork of the Lundin code. Add sysex. Create a board file for maple_midi.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |
