Skip to content

Commit

Permalink
add some info about the Daisy linker and bootloader
Browse files Browse the repository at this point in the history
  • Loading branch information
dromer committed Nov 22, 2023
1 parent 9ab7136 commit 1e2c0ba
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/03.gen.daisy.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,18 @@ This can be done by adding either to the meta.json:
```

Do note that the samplerate will be automatically set to either 16k, 32k, 48k, or 96k. Blocksize will need to be 256 or less and is automatically capped.

## Custom Linker script and Bootloader APP_TYPE

Using the Daisy bootloader you can flash the program to other parts of the Daisy memory. Read the ![libDaisy documentation](https://github.com/electro-smith/libDaisy/blob/master/doc/md/_a7_Getting-Started-Daisy-Bootloader.md) for more information.

The linker and `APP_TYPE` can be set in the json metadata accordingly:

```json
{
"daisy": {
"linker_script": <path_to_lds_file>,
"bootloader": <APP_TYPE>
}
}
```

0 comments on commit 1e2c0ba

Please sign in to comment.