Seeeduino XIAO Board Support Crate

This crate provides a type-safe API for working with the Seeed Studio Seeeduino XIAO.

Prerequisites

Uploading an example

Check out the repository for examples.

If you are on Linux and hf2 fails to flash your board even if it is connected and in bootloader mode, you might need to add some udev rules if you have not done that yet.

The example for adafruit boards is shown here.

You might want to have all the hf2 related rules in a single file, i.e. /etc/udev/rules.d/99-hf2-boards.rules, or have a different rules file for each vendor. The rules for Seeeduino boards look like this:

```Shell

seeeduino rules

ATTRS{idVendor}=="2886", ENV{IDMMDEVICE_IGNORE}="1" SUBSYSTEM=="usb", ATTRS{idVendor}=="2886", MODE="0666" SUBSYSTEM=="tty", ATTRS{idVendor}=="2886", MODE="0666" ```

After adding the rules remember to reboot or run:

Shell sudo udevadm control --reload-rules sudo udevadm trigger

For more information on hf2 and other methods of uploading your code, take a look at the base project README.