zephyrproject-rtos / gsoc-2022-arduino-core

Arduino Core Zephyr Module (GSoC 2022 Project)
Apache License 2.0
44 stars 11 forks source link

zephyrCommon: Implement attachInterrupt()/detachInterrupt() #51

Closed soburi closed 1 year ago

soburi commented 1 year ago

This implementation depends on CONFIG_GPIO_GET_CONFIG to keep the GPIO state already configured by pinMode().

soburi commented 1 year ago

I'm testing with nrf52840 with this patch https://github.com/soburi/zephyr/tree/nrfx_gpio_get_config (This patch needs more verification.)

soburi commented 1 year ago

@DhruvaG2000

Redesign based on https://github.com/zephyrproject-rtos/gsoc-2022-arduino-core/pull/60.

DhruvaG2000 commented 1 year ago

Any reason this is still a draft PR? Please mark as ready if you want it to be reviewed, Thanks.

soburi commented 1 year ago

@DhruvaG2000

Any reason this is still a draft PR? Please mark as ready if you want it to be reviewed, Thanks.

Because it is depends to #60. I will remove the draft mark after approved #60.