diff --git a/boards/remote-pa/include/gpio_params.h b/boards/remote-pa/include/gpio_params.h index f1487ccec32d2fa0bdf9cef31abb3cdcbd9b0736..1effe5c9d77a28555ffbf1586802e1ecd05fa44a 100644 --- a/boards/remote-pa/include/gpio_params.h +++ b/boards/remote-pa/include/gpio_params.h @@ -32,24 +32,28 @@ extern "C" { static const saul_gpio_params_t saul_gpio_params[] = { { - .name = "LED(red)", - .pin = LED0_PIN, - .mode = GPIO_OUT + .name = "LED(red)", + .pin = LED0_PIN, + .mode = GPIO_OUT, + .flags = 0x0, }, { - .name = "LED(green)", - .pin = LED1_PIN, - .mode = GPIO_OUT + .name = "LED(green)", + .pin = LED1_PIN, + .mode = GPIO_OUT, + .flags = 0x0, }, { - .name = "LED(blue)", - .pin = LED2_PIN, - .mode = GPIO_OUT + .name = "LED(blue)", + .pin = LED2_PIN, + .mode = GPIO_OUT, + .flags = 0x0, }, { - .name = "Button(User)", - .pin = BTN0_PIN, - .mode = BTN0_MODE + .name = "Button(User)", + .pin = BTN0_PIN, + .mode = BTN0_MODE, + .flags = SAUL_GPIO_INVERTED, }, }; diff --git a/boards/remote-reva/include/gpio_params.h b/boards/remote-reva/include/gpio_params.h index ab2591a4640765ea5b26432481a8177927170619..850033b5666327ac7dfa874bca2c4b89b8049808 100644 --- a/boards/remote-reva/include/gpio_params.h +++ b/boards/remote-reva/include/gpio_params.h @@ -32,24 +32,28 @@ extern "C" { static const saul_gpio_params_t saul_gpio_params[] = { { - .name = "LED(red)", - .pin = LED0_PIN, - .mode = GPIO_OUT + .name = "LED(red)", + .pin = LED0_PIN, + .mode = GPIO_OUT, + .flags = 0x0, }, { - .name = "LED(green)", - .pin = LED1_PIN, - .mode = GPIO_OUT + .name = "LED(green)", + .pin = LED1_PIN, + .mode = GPIO_OUT, + .flags = 0x0, }, { - .name = "LED(blue)", - .pin = LED2_PIN, - .mode = GPIO_OUT + .name = "LED(blue)", + .pin = LED2_PIN, + .mode = GPIO_OUT, + .flags = 0x0, }, { - .name = "Button(User)", - .pin = BTN0_PIN, - .mode = BTN0_MODE + .name = "Button(User)", + .pin = BTN0_PIN, + .mode = BTN0_MODE, + .flags = SAUL_GPIO_INVERTED, }, }; diff --git a/boards/remote-revb/include/gpio_params.h b/boards/remote-revb/include/gpio_params.h index 7179dd585e6b72364511ffbd15c543f35e43a437..50294c035c4b726bb446efcaeffc28cbba207d72 100644 --- a/boards/remote-revb/include/gpio_params.h +++ b/boards/remote-revb/include/gpio_params.h @@ -32,24 +32,28 @@ extern "C" { static const saul_gpio_params_t saul_gpio_params[] = { { - .name = "LED(red)", - .pin = LED0_PIN, - .mode = GPIO_OUT + .name = "LED(red)", + .pin = LED0_PIN, + .mode = GPIO_OUT, + .flags = 0x0, }, { - .name = "LED(green)", - .pin = LED1_PIN, - .mode = GPIO_OUT + .name = "LED(green)", + .pin = LED1_PIN, + .mode = GPIO_OUT, + .flags = 0x0, }, { - .name = "LED(blue)", - .pin = LED2_PIN, - .mode = GPIO_OUT + .name = "LED(blue)", + .pin = LED2_PIN, + .mode = GPIO_OUT, + .flags = 0x0, }, { - .name = "Button(User)", - .pin = BTN0_PIN, - .mode = BTN0_MODE + .name = "Button(User)", + .pin = BTN0_PIN, + .mode = BTN0_MODE, + .flags = SAUL_GPIO_INVERTED, }, };