Deploy make recipe

This commit is contained in:
Christian Colglazier 2020-07-12 15:53:47 -04:00
parent 0f8c0b3885
commit cf3d56910d
2 changed files with 7 additions and 4 deletions

View File

@ -13,3 +13,4 @@ libdaisy:
daisysp: daisysp:
cd $(DAISYSP_DIR) && make cd $(DAISYSP_DIR) && make
lib: libdaisy daisysp lib: libdaisy daisysp
deploy: lib all program-dfu

View File

@ -2,7 +2,7 @@
A starting point for creating Daisy Patch Projects. A starting point for creating Daisy Patch Projects.
## Setup & Deploy ## Setup & Build
1. Create git repository 1. Create git repository
```sh ```sh
git clone --recurse-submodules git@github.com:AquaMorph/DaisyPatchTemplate.git [Project directory name] git clone --recurse-submodules git@github.com:AquaMorph/DaisyPatchTemplate.git [Project directory name]
@ -13,8 +13,10 @@ git push
```sh ```sh
make lib && make 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 ```sh
make && make program-dfu make deploy
``` ```