From 42f5363ef07de46c152bea8aa9069807fd4ebdc7 Mon Sep 17 00:00:00 2001 From: Francois Berder <18538310+francois-berder@users.noreply.github.com> Date: Fri, 3 Apr 2020 19:02:27 +0100 Subject: [PATCH] boards: pic32-wifire: Update GPIO SAUL configuration for buttons Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com> --- boards/pic32-wifire/include/gpio_params.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/boards/pic32-wifire/include/gpio_params.h b/boards/pic32-wifire/include/gpio_params.h index 1a30aa0eb1..e04df2cd8a 100644 --- a/boards/pic32-wifire/include/gpio_params.h +++ b/boards/pic32-wifire/include/gpio_params.h @@ -51,6 +51,16 @@ static const saul_gpio_params_t saul_gpio_params[] = .pin = LED4_PIN, .mode = GPIO_OUT, }, + { + .name = "BTN1", + .pin = BTN0_PIN, + .mode = BTN0_MODE, + }, + { + .name = "BTN2", + .pin = BTN1_PIN, + .mode = BTN1_MODE, + }, }; #ifdef __cplusplus