raspberrypi_gpio
+ *
+ * @brief Raspberry PI GPIO interface definitions.
+ */
+
+/*
+ * Copyright (c) 2015 Andre Marques
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE
/c/src/lib/libbsp/shared/gpio.c
@@ -0,0 +1,1083 @@
+/**
+ * @file gpio.c
+ *
+ * @ingroup rtems_gpio
+ *
+ * @brief RTEMS GPIO API implementation.
+ */
+
+/*
+ * Copyright (c) 2014-2015 Andre Marques
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE i
@@
+/**
+ * @file gpio-interfaces-pi1-rev2.c
+ *
+ * @ingroup raspberrypi_gpio
+ *
+ * @brief Raspberry PI 1 rev2 GPIO interface definitions.
+ */
+
+/*
+ * Copyright (c) 2015 Andre Marques
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this
000..a87b39f
--- /dev/null
+++ b/c/src/lib/libbsp/shared/gpio.c
@@ -0,0 +1,1977 @@
+/**
+ * @file gpio.c
+ *
+ * @ingroup rtems_gpio
+ *
+ * @brief RTEMS GPIO API implementation.
+ */
+
+/*
+ * Copyright (c) 2014-2015 Andre Marques
+ *
+ * The license and distribution terms for this file may be
+
---
c/src/lib/libbsp/Makefile.am | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/c/src/lib/libbsp/Makefile.am b/c/src/lib/libbsp/Makefile.am
index a039a98..3cab4d7 100644
--- a/c/src/lib/libbsp/Makefile.am
+++ b/c/src/lib/libbsp/Makefile.am
@@ -9,7 +9,7 @@ EXTRA_DIST = MERGE.
---
c/src/lib/libbsp/arm/raspberrypi/Makefile.am | 3 ++-
c/src/lib/libbsp/arm/raspberrypi/preinstall.am | 4
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/c/src/lib/libbsp/arm/raspberrypi/Makefile.am
b/c/src/lib/libbsp/arm/raspberrypi/Makefile.am
index 03be711..abb55a6 100
n model B+.
+ */
+
+/*
+ * Copyright (c) 2014-2015 Andre Marques
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+/*
+ * STATUS:
+ * - 10-bit slave addressing unteste
easier to
implement, and it would not matter which GPIO peripherals each BSP
supported.
Alan
On Tue, Jun 17, 2014 at 10:52 AM, Andre Marques
mailto:andre.lousa.marq...@gmail.com>>
wrote:
On 06/17/14 15:39, Alan Cudmore wrote:
Hi Andre,
I checked out the your GPIO_API
Hello,
The GPIO API has been updated with doxygen documentation and code
comments, along with a blog post that explains the current API work flow
[1], and another blog post explaining how the API can be tested using
the Raspberry Pi [2], both containing links to the actual code.
Currently thi
Hello,
I am trying to call a function through a function pointer from an
interrupt handler, but I am not sure if this is even possible as the
system hangs at that point. If not, is there any way in RTEMS to have
that function executed outside the isr?
Thanks,
André Marques.
___
at happens.
What kind of error have you got? BSP?
No error, just hanged. I am using the Raspberry Pi BSP.
--Wendell.
2014-06-30 13:47 GMT-03:00 Andre Marques :
Hello,
I am trying to call a function through a function pointer from an
interrupt handler, but I am not sure if this is even pos
Hello,
The Raspberry Pi GPIO interrupts are already working, and a test case is
available to test that [1]. A function is also provided to debounce a
switch if needed. The test case requires two switches and two LEDS using
the same setup described at [2] by only changing the pin numbers.
The
becomes important to have that info. For
instance, the I2C interface on the P1 GPIO header uses different pin
numbers for model A and model B/B+.
Alan
On Sat, Jul 5, 2014 at 6:58 PM, Andre Marques
mailto:andre.lousa.marq...@gmail.com>>
wrote:
Hello,
The Raspberry P
Hello,
The Raspberry Pi SPI bus on the P1 GPIO header is already working, both
through polling and interrupts on the bus FIFOS, and has been tested
with a microchip 23k256 SRAM device.
The bus code can be found in:
https://github.com/asuol/rtems/blob/GPIO_API/c/src/lib/libbsp/arm/raspberrypi
e too is trying to
understand/develop SD card support for Raspberry pi.
Thanks for the help!!
Ritesh
On Wed, May 14, 2014 at 12:30 AM, Andre Marques
mailto:andre.lousa.marq...@gmail.com>>
wrote:
On 05/13/14 12:15, Andrey Mozzhuhin wrote:
Do you not for
c/src/lib/libbsp/arm/raspberrypi/gpio/gpio.c
@@ -0,0 +1,745 @@
+/**
+ * @file gpio.c
+ *
+ * @ingroup raspberrypi_gpio
+ *
+ * @brief Support for the Raspberry PI GPIO.
+ *
+ */
+
+/*
+ * Copyright (c) 2014 Andre Marques
+ *
+ * The license and distribution terms for this file may be
+ * found in
Hello Pavel,
On 10/31/14 15:41, Pavel Pisa wrote:
Hello Andre,
On Friday 31 of October 2014 12:56:40 Andre Marques wrote:
+/**
+ * @brief Generic ISR that clears the event register on the Raspberry Pi
and calls + *an user defined ISR.
+ *
+ * @param[in] arg Void pointer to a
1,727 @@
+/**
+ * @file gpio.c
+ *
+ * @ingroup raspberrypi_gpio
+ *
+ * @brief Support for the Raspberry PI GPIO.
+ */
+
+/*
+ * Copyright (c) 2014 Andre Marques
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http:/
On 12/10/14 22:36, Chris Johns wrote:
On 11/12/2014 5:27 am, Alan Cudmore wrote:
Andre,
Thanks for submitting this. I think we need one minor change:
Could you remove the include and the call to init the mcp23008 driver?
After your code is in the tree, I will propose a patch to allow
execution
19 matches
Mail list logo