Re: BBB GPIO api interrupt handler problem

2015-11-09 Thread Federico Garcia Cruz
I've tried with just a boolean toggle in the interrupt handler and with a call to rtems_gpio_set(BBB_LED_USR3) in order to see led activity and it does the same thing. Sudarshan: Yes, a return statement in an interrupt handler. This is because this handler is called by the real interrupt handler in

Re: BBB GPIO api interrupt handler problem

2015-11-09 Thread sudarshan.rajagopalan
On 2015-11-09 13:11, Federico Garcia Cruz wrote: Hi everyone, I'm using the GPIO api for the BBB but I'm having problems with the interrupt handling. I'm blinking two leds in the main thread and I have a GPIO input with an interrupt attached that uses printk to print a message. The problem is tha

Re: BBB GPIO api interrupt handler problem

2015-11-09 Thread Gedare Bloom
is printk safe to use in the interrupt context? does it blow the stack? On Mon, Nov 9, 2015 at 1:11 PM, Federico Garcia Cruz < federico.garciac...@tallertechnologies.com> wrote: > Hi everyone, > I'm using the GPIO api for the BBB but I'm having problems with the > interrupt handling. > I'm blinki