From cf3d56910d3e5c0c488b13db2e9a599ded4e92f7 Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Sun, 12 Jul 2020 15:53:47 -0400 Subject: [PATCH] Deploy make recipe --- Makefile | 1 + README.md | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a83f61b..291ae20 100644 --- a/Makefile +++ b/Makefile @@ -13,3 +13,4 @@ libdaisy: daisysp: cd $(DAISYSP_DIR) && make lib: libdaisy daisysp +deploy: lib all program-dfu diff --git a/README.md b/README.md index 065ad77..3b88633 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A starting point for creating Daisy Patch Projects. -## Setup & Deploy +## Setup & Build 1. Create git repository ```sh git clone --recurse-submodules git@github.com:AquaMorph/DaisyPatchTemplate.git [Project directory name] @@ -13,8 +13,10 @@ git push ```sh make lib && make ``` -3. Plug usb into Daisy. Enter bootloader mode by holding the BOOT button down, and then pressing the RESET button. Once you release the RESET button, you can also let go of the BOOT button -4. Write the binary to the Daisy + +## Deploy +1. Plug usb into Daisy. Enter bootloader mode by holding the BOOT button down, and then pressing the RESET button. Once you release the RESET button, you can also let go of the BOOT button +2. Write the binary to the Daisy ```sh -make && make program-dfu +make deploy ```