Closed jontrulson closed 7 years ago
Hi,
I am setting up an interrupt to trigger on GPIO 2. This is for the Arduino 101, Zephyr 1.6.
Calling mraa_gpio_isr() succeeds (no error is returned), however interrupts fail to be triggered.
mraa_gpio_isr(dev->gpio, MRAA_GPIO_EDGE_RISING, &wfs_flow_isr, dev)
mraa_gpio_isr(dev->gpio, MRAA_GPIO_EDGE_RISING, &wfs_flow_isr, dev
_wfs_flowdev is the interrupt function, and dev is the device context I am supplying.
Any clues?
I ran a test with GPIO #4 on Arduino 101, Zephyr 1.7 and it worked as expected.
Yes, once I updated to Zephyr 1.7 and new SDK, it all worked as expected. I'll close this.
Hi,
I am setting up an interrupt to trigger on GPIO 2. This is for the Arduino 101, Zephyr 1.6.
Calling mraa_gpio_isr() succeeds (no error is returned), however interrupts fail to be triggered.
mraa_gpio_isr(dev->gpio, MRAA_GPIO_EDGE_RISING, &wfs_flow_isr, dev
)_wfs_flowdev is the interrupt function, and dev is the device context I am supplying.
Any clues?