Hi,
I need to use the GPIOTE with interrupt function with nrfx (https://github.com/NordicSemiconductor/nrfx/) directly on the nrf54l15 DK board.
So I created a build system based on Makefile and ARM-GCC, the core Makefile (smtc-hal-mcu-nrf54l15.mk) is also attached.
I created a simple example as attached code shows. This code loosely based on NCS v2.9.1/zephyr/samples/boards/nordic/nrfx/src/main.c.
However, that sample uses PPI to trigger another Pin, which doesn't satisfy my requirements because I need to attach the handle to an IRQ Pin directly.
So in my code, when I press Button 0, the related handler function is called, which controls the LED3 on or off.
However, this code works all right under NCS v2.9.1, but doesn’t work on my build system.
I don’t know what steps are missing causing this difference, so I’d like to get some help. Thanks in advance.
The config is also attached to show that the related CONFIG for GPIOTE are enabled.