Skip to content

Commit

Permalink
Update Cortex lib
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwellmattryan committed Oct 17, 2024
1 parent 8bb1eb5 commit 38e10de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,19 @@ Build the required external libraries:

To load a specific patch, first navigate to that patches directory (e.g. `flora/patches/seed/blink`). Then just run a few `make` commands:
```bash
# Clean the previous build's output (unnecessary for first time)
make clean

# Compiles the patch's source code
make

# Flashes the Daisy device with binaries
make program-dfu
```

:warning: Be sure to run `make clean` when compiling source code!
:warning: **Make sure your Daisy device is in BOOT mode when flashing programs to it, otherwise you will get an error.**

Alternatively, you can run the `flash.sh` script:
For an easier way to flash your patches, use `flash.sh` located in the scripts folder:
```bash
./scripts/flash.sh <PLATFORM> <PATCH>
```
Expand Down
2 changes: 1 addition & 1 deletion lib/cortex

0 comments on commit 38e10de

Please sign in to comment.