comejv commented on issue #16762: URL: https://github.com/apache/nuttx/issues/16762#issuecomment-3137134931
Hello again, I'm trying to set up gpio interrupts in place of the non existant timer capture driver, I have had success with `ioctl(fd, GPIOC_REGISTER, (unsigned long)&sev);` on `/dev/gpio2` but now I'd like to have multiple gpios sending me interrupts/signals. In `boards/arm/.../src/stm32_gpio.c` I see that the only GPIO registered for interrupt is : ```c static const uint32_t g_gpiointinputs[BOARD_NGPIOINT] = { GPIO_INT1, }; ``` Which is defined in `nucleo-h743zi.h` as `(GPIO_INPUT | GPIO_FLOAT | GPIO_PORTE | GPIO_PIN5)`. In my app I am now trying to run stm32_configgpio to add more gpios to the interrupts, the issue is that I don't know how to include `external/nuttx/arch/arm/src/stm32h7/stm32_gpio.h`? Should I even try to do it in user code or should I modify NuttX source code? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org