[riot-notifications] [RIOT-OS/RIOT] boards/saml21-xpro: add gpio_params.h (#15432)

benpicco notifications at github.com
Wed Nov 11 18:06:08 CET 2020


@benpicco commented on this pull request.



> +#include "saul/periph.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * @brief    GPIO pin configuration
+ */
+static const  saul_gpio_params_t saul_gpio_params[] =
+{
+    {
+        .name = "LED(orange)",
+        .pin = LED0_PIN,
+        .mode = GPIO_OUT,
+        .flags = SAUL_GPIO_INVERTED

`board.c` already does `LED0_OFF` in `board_init()` 

-- 
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/15432#discussion_r521506132
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201111/384d625e/attachment.htm>


More information about the notifications mailing list