Commit f7c19034 authored by Michael Hope's avatar Michael Hope Committed by Kumar Gala
Browse files

tests: gpio: add a configuration for the Arduino Zero.



Allows testing the new interrupt support.

Signed-off-by: default avatarMichael Hope <mlhx@google.com>
parent ff7fd44a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -36,6 +36,12 @@
#define DEV_NAME CONFIG_GPIO_ESP32_0_NAME
#define PIN_OUT 4  /* DIO4 */
#define PIN_IN 2  /* DIO2 */
#elif defined(CONFIG_BOARD_ARDUINO_ZERO)
#define DEV_NAME CONFIG_GPIO_SAM0_PORTA_LABEL
#define PIN_OUT 20  /* PA20 / pin 6 */
#define PIN_IN 15  /* PA15 / pin 5 */
#else
#error Unsupported board
#endif

#define MAX_INT_CNT 3