[riot-notifications] [RIOT-OS/RIOT] boards: Adding board support for the Seeeduino XIAO (#16469)

Marian Buschsieweke notifications at github.com
Fri May 28 15:49:06 CEST 2021


@maribu commented on this pull request.

Some nitpicks. Please squash them right in.

> @@ -0,0 +1,38 @@
+/**
+ at defgroup    boards_seeeduino_XIAO Seeeduino_XIAO

```suggestion
@defgroup    boards_seeeduino_xiao Seeeduino XIAO
```

The other files reference this group with the name in lowcase and Doxygen seems to be case sensitive. Please squash this right in.

> +        .flags = SAUL_GPIO_INVERTED,
+    },
+    {
+        .name = LED2_NAME,
+        .pin = LED2_PIN,
+        .mode = GPIO_OUT,
+        .flags = SAUL_GPIO_INVERTED,
+    }
+};
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* GPIO_PARAMS_H */
+/** @} */

```suggestion
/** @} */
```

(Missing new line. See https://stackoverflow.com/questions/44704968/visual-studio-code-insert-new-line-at-the-end-of-files to configure Visual Studio Code to automatically do this for you.)

> +/**
+ at defgroup    boards_seeeduino_XIAO Seeeduino_XIAO
+ at ingroup     boards
+ at brief       Support for the Seeeduino XIAO.
+
+### General information
+
+The Seeeduino XIAO is the smallest member of the Seeeduino family. It carries the powerful ATSAMD21G18A-MU which is a low-power microcontrollers. On the other hand, this little board has good performance in processing but needs less power. As a matter of fact, it is designed in a tiny size and can be used for wearable devices and small projects.
+
+Seeeduino XIAO has 14 GPIO PINs, which can be used for 11 digital interfaces, 11 mock interfaces, 10 PWM interfaces (d1-d10), 1 DAC output pin D0, 1 SWD pad interface, 1 I2C interface, 1 SPI interface, 1 UART interface, Serial communication indicator (T/R), Blink light (L). The colors of LEDs(Power,L,RX,TX) are green, yellow, blue and blue. Moreover, Seeeduino XIAO has a Type-C interface which can supply power and download code. There are two reset button, you can short connect them to reset the board.
+
+-- General description of the [wiki](https://wiki.seeedstudio.com/Seeeduino-XIAO/)
+
+### Pinout
+
+\image https://files.seeedstudio.com/wiki/Seeeduino-XIAO/img/Seeeduino-XIAO-pinout.jpg width=66%

According to the CI this doesn't work with the old stable version of Doxygen. Maybe just use:

```suggestion
![XIAO pinout](https://files.seeedstudio.com/wiki/Seeeduino-XIAO/img/Seeeduino-XIAO-pinout.jpg)
```

> +
+Use `BOARD=seeeduino_xiao` with the `make` command.<br/>
+
+Example with `default` application:
+```
+     make BOARD=seeeduino_xiao -C examples/default flash
+```
+
+RIOT will automatically trigger a reset to the bootloader, but this only works if RIOT is still
+running on the board.
+If your application has crashed or got erased, `make flash` will not be able to trigger a bootloader reset.
+
+To manually enter the bootloader, short the RST pins with a short line or tweezers
+You know you've successfully entered the bootloader when the orange LED flickers on and light up.
+
+\image https://files.seeedstudio.com/wiki/Seeeduino-XIAO/img/XIAO-reset.gif width=66%

```suggestion
![Reset Sequence](https://files.seeedstudio.com/wiki/Seeeduino-XIAO/img/XIAO-reset.gif)
```

Same

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16469#pullrequestreview-671315345
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210528/fa433334/attachment.htm>


More information about the notifications mailing list