[PATCH 1/2] GPIO driver for BBB

2015-08-11 Thread Ketul Shah
--- c/src/lib/libbsp/arm/beagle/Makefile.am| 6 + c/src/lib/libbsp/arm/beagle/gpio/bbb-gpio.c| 468 + c/src/lib/libbsp/arm/beagle/include/bbb-gpio.h | 43 ++ .../libbsp/arm/beagle/include/beagleboneblack.h| 72 c/src/lib/libbsp/arm/beagle/in

Re: [PATCH 1/2] GPIO Driver

2015-07-01 Thread Ketul Shah
Hi Steve, Yep I saw your code on user-ml. And yes It would be nice to see GPIO_IRQ to be included in the patch. And ya it would be great if you can help to modify the patch anyhow I will also work on it (thanks for pulling our attention). And you can find the sent patch working on my GitHub

Re: [PATCH 1/2] GPIO Driver

2015-06-30 Thread Steve B
After this is sorted into the right place it would be great to see GPIO IRQs included. I got an IRQ working by just writing to the correct memory locations from application code (posted the source to users list last week), but I think Andre's API does have some hooks for that (seemed that way when

Re: [PATCH 1/2] GPIO Driver

2015-06-30 Thread Gedare Bloom
I don't think we want the shared code in cpukit but rather in libbsp/shared.. Also, I think Andre shall commit the shared code, so perhaps you should focus on just getting a localized solution working in the beagleboard BSP On Tue, Jun 30, 2015 at 5:46 AM, Ketul Shah wrote: > diff --git a/cpukit/

[PATCH 1/2] GPIO Driver

2015-06-30 Thread Ketul Shah
diff --git a/cpukit/include/rtems/gpio.h b/cpukit/include/rtems/gpio.h new file mode 100644 index 000..3d68c39 --- /dev/null +++ b/cpukit/include/rtems/gpio.h @@ -0,0 +1,64 @@ +/** + * @file rtems/gpio.h + * + * @brief Global GPIO definitions. + * + * This include the generalized definitions fo