From 0e40e89b7f6436041d41be744d4c5628c2c7b1e6 Mon Sep 17 00:00:00 2001 From: Filip Jagodzinski Date: Thu, 18 Jul 2019 17:23:03 +0200 Subject: [PATCH] Add a sanity check for the GPIO-IRQ pinmap --- TESTS/mbed_hal/pinmap/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TESTS/mbed_hal/pinmap/main.cpp b/TESTS/mbed_hal/pinmap/main.cpp index 103902be4a..79c600c3b7 100644 --- a/TESTS/mbed_hal/pinmap/main.cpp +++ b/TESTS/mbed_hal/pinmap/main.cpp @@ -21,6 +21,7 @@ using namespace utest::v1; #include "gpio_api.h" +#include "gpio_irq_api.h" #include "analogin_api.h" #include "analogout_api.h" #include "can_api.h" @@ -40,6 +41,9 @@ typedef struct { const pinmap_info_t pinmap_functions[] = { PINMAP_TEST_ENTRY(gpio_pinmap), +#if DEVICE_INTERRUPTIN + PINMAP_TEST_ENTRY(gpio_irq_pinmap), +#endif #if DEVICE_ANALOGIN PINMAP_TEST_ENTRY(analogin_pinmap), #endif