From 0298cda5d45cd0c2ffdb4e2d454dd4d99f3f2fcd Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Thu, 20 Sep 2018 14:44:12 +0200 Subject: [PATCH 1/2] boards/native: remove feature periph_gpio_irq As it is not implemented in the first place. --- boards/native/Makefile.features | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/native/Makefile.features b/boards/native/Makefile.features index 0f256712b1c8..5082431ba4c5 100644 --- a/boards/native/Makefile.features +++ b/boards/native/Makefile.features @@ -2,7 +2,7 @@ FEATURES_PROVIDED += periph_rtc FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart -FEATURES_PROVIDED += periph_gpio periph_gpio_irq +FEATURES_PROVIDED += periph_gpio FEATURES_PROVIDED += periph_qdec # Various other features (if any) From a965532d07f1678b63dfaf4c6477d2e6a4195e16 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Thu, 20 Sep 2018 14:43:39 +0200 Subject: [PATCH 2/2] cpu/native/gpio: remove empty gpio irq func stubs --- cpu/native/periph/gpio.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/cpu/native/periph/gpio.c b/cpu/native/periph/gpio.c index 156b2f42011b..c03c8d7df607 100644 --- a/cpu/native/periph/gpio.c +++ b/cpu/native/periph/gpio.c @@ -26,25 +26,6 @@ int gpio_init(gpio_t pin, gpio_mode_t mode) { return -1; } -int gpio_init_int(gpio_t pin, gpio_mode_t mode, gpio_flank_t flank, - gpio_cb_t cb, void *arg){ - (void) pin; - (void) mode; - (void) flank; - (void) cb; - (void) arg; - - return -1; -} - -void gpio_irq_enable(gpio_t pin) { - (void) pin; -} - -void gpio_irq_disable(gpio_t pin) { - (void) pin; -} - int gpio_read(gpio_t pin) { (void) pin;