~jacqueline/tangara-samd-fw

firmware for the samd21-based co-processor
Introduce a minor version register
Send CMD23 before multi block writes
Use multi-block reads and writes

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~jacqueline/tangara-samd-fw
read/write
git@git.sr.ht:~jacqueline/tangara-samd-fw

You can also use your local clone with git send-email.

#Building

You will need to have arm-none-eabi-gcc available on your $PATH, and check out the library submodules with:

git submodule update --init --recursive

Once you've done this, the Makefile in the root of this repo can be used to build the firmware.

make

You can also conveniently flash the built firmware to a mounted UF2 partition by using make flash.

The CFLAGS flag can be set to pass additional build flags to GCC. For example, if you have a mainboard before r9 and therefore require a build that uses the older pinout, you can run make CFLAGS="-DLEGACY_PINOUT".

#Development

Suggested .clangd settings:

CompileFlags:
  Add: [
    -ferror-limit=0,
  ]
  Remove: [
    -mcpu=,
  ]
  Compiler: /path/to/your/clang/if/needed/here/bin/clang