Board support for Adafruit CLUE:
https://www.adafruit.com/product/4500
Still very much a work in progress, but there's enough up and running to be useful. Comments and pull requests welcome.
A few simple examples are included as a starting point.
Alternates blinking the white and red LEDs.
I've been using the Microsoft UF2 tools:
https://github.com/Microsoft/uf2
to generate a file compatible with the UF2 bootloader.
Steps for building/flashing the blink
example:
cargo build --release --example blink
cargo objcopy --release --example blink -- -O binary blink.bin
uf2conv.py blink.bin -c -f 0xADA52840 -b 0x26000 -o blink.uf2
cp blink.uf2 <path where your Clue is mounted>
I've also included a script (exampletouf2.sh
) that performs steps 2
and 3 on a named example:
exampletouf2.sh blink