Hello Martin,
On Monday 09 of November 2015 16:29:09 Martin Galvan wrote:
> On Sun, Nov 8, 2015 at 11:11 AM, Pavel Pisa wrote:
...
> > https://github.com/AoLaD/rtems/commit/7dab9093bc8211816def58460efef8958b0
> >41904
>
> I saw you added this function before tms570_pom_remap:
>
> +void tms570_ini
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
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
I noticed while reading the code to install interrupts in GPIO that it
does not clean-up in error case. There remains a similar problem in
the "threaded" case as well that should be dealt with, and I'm filing
a ticket for it.
On Mon, Nov 9, 2015 at 1:33 PM, Gedare Bloom wrote:
> ---
> c/src/lib/
---
c/src/lib/libbsp/shared/gpio.c | 19 ---
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/c/src/lib/libbsp/shared/gpio.c b/c/src/lib/libbsp/shared/gpio.c
index b806556..9ceeb407 100644
--- a/c/src/lib/libbsp/shared/gpio.c
+++ b/c/src/lib/libbsp/shared/gpio.c
@@ -1
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
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 that
the interrupt handler prints the message but neve
On Sun, Nov 8, 2015 at 11:11 AM, Pavel Pisa wrote:
> Hello Martin and others,
Hi Pavel. I'll comment on the POM and GPIO-related things, since we're
not currently using Ethernet (nor are we familiar with how the TMS
handles it).
>The complete GPIO API or at least xx_gpio_set(), xx_gpio_clear