# GPIO interrupt speed

**URL:** <https://forum.legato.io/t/gpio-interrupt-speed/6167>\
**Category:** Legato Application Framework\
**Created:** [April 4, 2022, 7:21am UTC](https://forum.legato.io/t/gpio-interrupt-speed/6167 "2022-04-04T07:21:47Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [April 4, 2022, 11:34am UTC](https://forum.legato.io/t/gpio-interrupt-speed/6167/4 "2022-04-04T11:34:17Z")

</div>

You need to edit the makefile to use the toolchain in leaf package to compile

You also need to see this:

> [@spiService and gpioService are not starting within an Application](https://forum.legato.io/t/spiservice-and-gpioservice-are-not-starting-within-an-application/5907/14):
>
> That’s what I did slight_smile Now it’s working. The problem seems to be in these lines: struct task\_struct\* t; /\* find the task with that pid \*/ t = pid\_task(find\_pid\_ns(TargetPID, &init\_pid\_ns), PIDTYPE\_PID); send\_sig(SIGINT, t, 0); One of these functions crashed the module. Since I don’t need them, I don’t care, but maybe you can fix that before sending it to the next guy that also will waste time on that. Regards, Simon

---

_[View the full topic](https://forum.legato.io/t/gpio-interrupt-speed/6167)._
