mirror of https://github.com/ARMmbed/mbed-os.git
Add a sanity check for the GPIO-IRQ pinmap
parent
bd5ecaadcd
commit
0e40e89b7f
|
@ -21,6 +21,7 @@
|
||||||
using namespace utest::v1;
|
using namespace utest::v1;
|
||||||
|
|
||||||
#include "gpio_api.h"
|
#include "gpio_api.h"
|
||||||
|
#include "gpio_irq_api.h"
|
||||||
#include "analogin_api.h"
|
#include "analogin_api.h"
|
||||||
#include "analogout_api.h"
|
#include "analogout_api.h"
|
||||||
#include "can_api.h"
|
#include "can_api.h"
|
||||||
|
@ -40,6 +41,9 @@ typedef struct {
|
||||||
|
|
||||||
const pinmap_info_t pinmap_functions[] = {
|
const pinmap_info_t pinmap_functions[] = {
|
||||||
PINMAP_TEST_ENTRY(gpio_pinmap),
|
PINMAP_TEST_ENTRY(gpio_pinmap),
|
||||||
|
#if DEVICE_INTERRUPTIN
|
||||||
|
PINMAP_TEST_ENTRY(gpio_irq_pinmap),
|
||||||
|
#endif
|
||||||
#if DEVICE_ANALOGIN
|
#if DEVICE_ANALOGIN
|
||||||
PINMAP_TEST_ENTRY(analogin_pinmap),
|
PINMAP_TEST_ENTRY(analogin_pinmap),
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue