Re: [PATCH] LPC1768: Fix compilation error

2015-11-06 Thread André Marques

Hello,

This issue was resolved earlier with the following patch

https://git.rtems.org/rtems/commit/c/src/lib/libbsp/Makefile.am?id=a57b72ded94b4e77fd4f9bd3cc37380a02e3e35a

where the inclusion of the GPIO API header file was removed from the 
libbsp/shared makefile and moved (in the case of the Raspberry Pi, but I 
forgot about the beagle BSP) to the BSP makefile which intends to use 
the API. This avoids these name clashes with BSPs that already have a 
gpio.h header file.


However the following patch reintroduced the gpio API header on the 
libbsp/shared makefile


https://git.rtems.org/rtems/commit/c/src/lib/libbsp/Makefile.am?id=6f6e5d758f6a1e7dcae74e151c3dd3d1034da232

This last patch should be reverted, and the shared/include/gpio.h should 
be included in the beagle BSP makefile that requires it, and motivated 
this reintroduction.


I think it is better to have the BSPs include the gpio API header file 
if they actually implement the API, than forcing the header to all BSPs 
and creating these problems.



Às 14:29 de 05-11-2015, Sebastian Huber escreveu:

On 05/11/15 15:17, Martin Galvan wrote:
The LPC1768 variants have a gpio.h file whose name clashes with the 
gpio.h from

the new GPIO API. This results on the BSPs failing to compile.

This patch renames the LPC1768 gpio.* files to lpc-gpio.*, as it's 
done on other

BSPs (e.g. Beaglebone).

Closes #2441.


Thanks.



--André Marques.
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: Tools for RTEMS 4.12

2015-11-06 Thread Gedare Bloom
On Fri, Nov 6, 2015 at 9:12 AM, Chris Johns  wrote:
> On 5/11/2015 6:56 am, Gedare Bloom wrote:
>> I see no problem with using the newer GCC assuming our development
>> cycle is probably still at least 1yr+. Until we get good automation
>> this is the case. Also, we are planning to apply to Google Code-In,
>> and bumping the tool versions could be a set of tasks. If you would
>> like to do one or a few as a sample, then we can have high school
>> students do the rest during the GCI program period.
>
> I am planing to talk to Joel about the RSB and it's configuration files.
> The RSB has arrived at an interesting place where I am not sure we want
> all versions in an RSB. If we strip back the configurations to just the
> valid ones we will then need to have a specific versions for specific
> releases. This would simplify the number of files.
>
Sounds good.

> It would be nice to resolve this before adding 4.12 support.
>
And I am still thinking if we do GCI it will make a nice set of tasks.

> Chris
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH] Add RTEMS 4.12 build set

2015-11-06 Thread Sebastian Huber
---
 rtems/config/4.12/rtems-all.bset   | 17 
 rtems/config/4.12/rtems-arm.bset   |  4 ++
 rtems/config/4.12/rtems-autotools-base.bset| 23 +++
 rtems/config/4.12/rtems-autotools-internal.bset| 13 ++
 rtems/config/4.12/rtems-autotools.bset | 22 ++
 rtems/config/4.12/rtems-bfin.bset  |  3 ++
 rtems/config/4.12/rtems-default.bset   |  8 
 rtems/config/4.12/rtems-epiphany.bset  | 48 ++
 rtems/config/4.12/rtems-i386.bset  |  4 ++
 rtems/config/4.12/rtems-lm32.bset  |  3 ++
 rtems/config/4.12/rtems-m32c.bset  |  3 ++
 rtems/config/4.12/rtems-m68k.bset  |  3 ++
 rtems/config/4.12/rtems-microblaze.bset|  3 ++
 rtems/config/4.12/rtems-mips.bset  |  3 ++
 rtems/config/4.12/rtems-moxie.bset |  3 ++
 rtems/config/4.12/rtems-nios2.bset |  3 ++
 rtems/config/4.12/rtems-or1k.bset  | 43 +++
 rtems/config/4.12/rtems-powerpc.bset   |  4 ++
 rtems/config/4.12/rtems-sh.bset|  3 ++
 rtems/config/4.12/rtems-sparc.bset |  4 ++
 rtems/config/4.12/rtems-sparc64.bset   |  3 ++
 rtems/config/4.12/rtems-v850.bset  |  3 ++
 rtems/config/rtems-4.12-base.bset  |  7 
 ...tems-gcc-6-20151101-newlib-2.2.0.20151023-1.cfg | 16 
 rtems/config/tools/rtems-tools-4.12-1.cfg  |  1 +
 source-builder/config/gcc-6-1.cfg  | 31 ++
 26 files changed, 278 insertions(+)
 create mode 100644 rtems/config/4.12/rtems-all.bset
 create mode 100644 rtems/config/4.12/rtems-arm.bset
 create mode 100644 rtems/config/4.12/rtems-autotools-base.bset
 create mode 100644 rtems/config/4.12/rtems-autotools-internal.bset
 create mode 100644 rtems/config/4.12/rtems-autotools.bset
 create mode 100644 rtems/config/4.12/rtems-bfin.bset
 create mode 100644 rtems/config/4.12/rtems-default.bset
 create mode 100644 rtems/config/4.12/rtems-epiphany.bset
 create mode 100644 rtems/config/4.12/rtems-i386.bset
 create mode 100644 rtems/config/4.12/rtems-lm32.bset
 create mode 100644 rtems/config/4.12/rtems-m32c.bset
 create mode 100644 rtems/config/4.12/rtems-m68k.bset
 create mode 100644 rtems/config/4.12/rtems-microblaze.bset
 create mode 100644 rtems/config/4.12/rtems-mips.bset
 create mode 100644 rtems/config/4.12/rtems-moxie.bset
 create mode 100644 rtems/config/4.12/rtems-nios2.bset
 create mode 100644 rtems/config/4.12/rtems-or1k.bset
 create mode 100644 rtems/config/4.12/rtems-powerpc.bset
 create mode 100644 rtems/config/4.12/rtems-sh.bset
 create mode 100644 rtems/config/4.12/rtems-sparc.bset
 create mode 100644 rtems/config/4.12/rtems-sparc64.bset
 create mode 100644 rtems/config/4.12/rtems-v850.bset
 create mode 100644 rtems/config/rtems-4.12-base.bset
 create mode 100644 
rtems/config/tools/rtems-gcc-6-20151101-newlib-2.2.0.20151023-1.cfg
 create mode 100644 rtems/config/tools/rtems-tools-4.12-1.cfg
 create mode 100644 source-builder/config/gcc-6-1.cfg

diff --git a/rtems/config/4.12/rtems-all.bset b/rtems/config/4.12/rtems-all.bset
new file mode 100644
index 000..bc0766f
--- /dev/null
+++ b/rtems/config/4.12/rtems-all.bset
@@ -0,0 +1,17 @@
+4.12/rtems-arm
+4.12/rtems-bfin
+4.12/rtems-epiphany
+4.12/rtems-i386
+4.12/rtems-lm32
+4.12/rtems-m32c
+4.12/rtems-m68k
+4.12/rtems-microblaze
+4.12/rtems-mips
+4.12/rtems-moxie
+4.12/rtems-nios2
+4.12/rtems-or1k
+4.12/rtems-powerpc
+4.12/rtems-sh
+4.12/rtems-sparc
+4.12/rtems-sparc64
+4.12/rtems-v850
diff --git a/rtems/config/4.12/rtems-arm.bset b/rtems/config/4.12/rtems-arm.bset
new file mode 100644
index 000..ead6dda
--- /dev/null
+++ b/rtems/config/4.12/rtems-arm.bset
@@ -0,0 +1,4 @@
+%define release 1
+%define rtems_arch arm
+%define with_libgomp
+%include 4.12/rtems-default.bset
diff --git a/rtems/config/4.12/rtems-autotools-base.bset 
b/rtems/config/4.12/rtems-autotools-base.bset
new file mode 100644
index 000..f68df75
--- /dev/null
+++ b/rtems/config/4.12/rtems-autotools-base.bset
@@ -0,0 +1,23 @@
+#
+# Tools Set for RTEMS 4.12 Internal Autotools Stable
+#
+
+%define release 1
+
+%define rtems_arch none
+
+#
+# The RTEMS 4.12 base defines.
+#
+%include rtems-4.12-base.bset
+
+#
+# The autotools package.
+#
+package: rtems-%{rtems_version}-autotools-%{_host}-%{release}
+
+#
+# Tools configuration.
+#
+tools/rtems-autoconf-2.69-1
+tools/rtems-automake-1.12.6-1
diff --git a/rtems/config/4.12/rtems-autotools-internal.bset 
b/rtems/config/4.12/rtems-autotools-internal.bset
new file mode 100644
index 000..772c032
--- /dev/null
+++ b/rtems/config/4.12/rtems-autotools-internal.bset
@@ -0,0 +1,13 @@
+#
+# Tools Set for RTEMS 4.12 Internal Autotools Stable
+#
+# Do not use via the command line.
+#
+
+%define _internal_autotools yes
+%define _disable_collecting yes
+%define 

Re: [PATCH] Add RTEMS 4.12 build set

2015-11-06 Thread Gedare Bloom
I think Chris may want to change the way RSB deals with versions, so
hold off on committing until he can comment. I assume this is just cp
from 4.11 to 4.12 plus search-replace?

On Fri, Nov 6, 2015 at 10:21 AM, Sebastian Huber
 wrote:
> ---
>  rtems/config/4.12/rtems-all.bset   | 17 
>  rtems/config/4.12/rtems-arm.bset   |  4 ++
>  rtems/config/4.12/rtems-autotools-base.bset| 23 +++
>  rtems/config/4.12/rtems-autotools-internal.bset| 13 ++
>  rtems/config/4.12/rtems-autotools.bset | 22 ++
>  rtems/config/4.12/rtems-bfin.bset  |  3 ++
>  rtems/config/4.12/rtems-default.bset   |  8 
>  rtems/config/4.12/rtems-epiphany.bset  | 48 
> ++
>  rtems/config/4.12/rtems-i386.bset  |  4 ++
>  rtems/config/4.12/rtems-lm32.bset  |  3 ++
>  rtems/config/4.12/rtems-m32c.bset  |  3 ++
>  rtems/config/4.12/rtems-m68k.bset  |  3 ++
>  rtems/config/4.12/rtems-microblaze.bset|  3 ++
>  rtems/config/4.12/rtems-mips.bset  |  3 ++
>  rtems/config/4.12/rtems-moxie.bset |  3 ++
>  rtems/config/4.12/rtems-nios2.bset |  3 ++
>  rtems/config/4.12/rtems-or1k.bset  | 43 +++
>  rtems/config/4.12/rtems-powerpc.bset   |  4 ++
>  rtems/config/4.12/rtems-sh.bset|  3 ++
>  rtems/config/4.12/rtems-sparc.bset |  4 ++
>  rtems/config/4.12/rtems-sparc64.bset   |  3 ++
>  rtems/config/4.12/rtems-v850.bset  |  3 ++
>  rtems/config/rtems-4.12-base.bset  |  7 
>  ...tems-gcc-6-20151101-newlib-2.2.0.20151023-1.cfg | 16 
>  rtems/config/tools/rtems-tools-4.12-1.cfg  |  1 +
>  source-builder/config/gcc-6-1.cfg  | 31 ++
>  26 files changed, 278 insertions(+)
>  create mode 100644 rtems/config/4.12/rtems-all.bset
>  create mode 100644 rtems/config/4.12/rtems-arm.bset
>  create mode 100644 rtems/config/4.12/rtems-autotools-base.bset
>  create mode 100644 rtems/config/4.12/rtems-autotools-internal.bset
>  create mode 100644 rtems/config/4.12/rtems-autotools.bset
>  create mode 100644 rtems/config/4.12/rtems-bfin.bset
>  create mode 100644 rtems/config/4.12/rtems-default.bset
>  create mode 100644 rtems/config/4.12/rtems-epiphany.bset
>  create mode 100644 rtems/config/4.12/rtems-i386.bset
>  create mode 100644 rtems/config/4.12/rtems-lm32.bset
>  create mode 100644 rtems/config/4.12/rtems-m32c.bset
>  create mode 100644 rtems/config/4.12/rtems-m68k.bset
>  create mode 100644 rtems/config/4.12/rtems-microblaze.bset
>  create mode 100644 rtems/config/4.12/rtems-mips.bset
>  create mode 100644 rtems/config/4.12/rtems-moxie.bset
>  create mode 100644 rtems/config/4.12/rtems-nios2.bset
>  create mode 100644 rtems/config/4.12/rtems-or1k.bset
>  create mode 100644 rtems/config/4.12/rtems-powerpc.bset
>  create mode 100644 rtems/config/4.12/rtems-sh.bset
>  create mode 100644 rtems/config/4.12/rtems-sparc.bset
>  create mode 100644 rtems/config/4.12/rtems-sparc64.bset
>  create mode 100644 rtems/config/4.12/rtems-v850.bset
>  create mode 100644 rtems/config/rtems-4.12-base.bset
>  create mode 100644 
> rtems/config/tools/rtems-gcc-6-20151101-newlib-2.2.0.20151023-1.cfg
>  create mode 100644 rtems/config/tools/rtems-tools-4.12-1.cfg
>  create mode 100644 source-builder/config/gcc-6-1.cfg
>
> diff --git a/rtems/config/4.12/rtems-all.bset 
> b/rtems/config/4.12/rtems-all.bset
> new file mode 100644
> index 000..bc0766f
> --- /dev/null
> +++ b/rtems/config/4.12/rtems-all.bset
> @@ -0,0 +1,17 @@
> +4.12/rtems-arm
> +4.12/rtems-bfin
> +4.12/rtems-epiphany
> +4.12/rtems-i386
> +4.12/rtems-lm32
> +4.12/rtems-m32c
> +4.12/rtems-m68k
> +4.12/rtems-microblaze
> +4.12/rtems-mips
> +4.12/rtems-moxie
> +4.12/rtems-nios2
> +4.12/rtems-or1k
> +4.12/rtems-powerpc
> +4.12/rtems-sh
> +4.12/rtems-sparc
> +4.12/rtems-sparc64
> +4.12/rtems-v850
> diff --git a/rtems/config/4.12/rtems-arm.bset 
> b/rtems/config/4.12/rtems-arm.bset
> new file mode 100644
> index 000..ead6dda
> --- /dev/null
> +++ b/rtems/config/4.12/rtems-arm.bset
> @@ -0,0 +1,4 @@
> +%define release 1
> +%define rtems_arch arm
> +%define with_libgomp
> +%include 4.12/rtems-default.bset
> diff --git a/rtems/config/4.12/rtems-autotools-base.bset 
> b/rtems/config/4.12/rtems-autotools-base.bset
> new file mode 100644
> index 000..f68df75
> --- /dev/null
> +++ b/rtems/config/4.12/rtems-autotools-base.bset
> @@ -0,0 +1,23 @@
> +#
> +# Tools Set for RTEMS 4.12 Internal Autotools Stable
> +#
> +
> +%define release 1
> +
> +%define rtems_arch none
> +
> +#
> +# The RTEMS 4.12 base defines.
> +#
> +%include rtems-4.12-base.bset
> +
> +#
> +# The autotools package.
> +#
> +package: rtems-%{rtems_version}-autotools-%{_host}-%{release}
> +
> +#
> +# 

Re: [rtems-source-builder commit] doc: fix link to patch for CVS

2015-11-06 Thread Chris Johns
On 5/11/2015 7:30 am, Gedare Bloom wrote:
> Are manuals on docs.rtems.org automatically regenerated or need to be
> hand-built?

I do not think so. I will discuss this with Amar today.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: Tools for RTEMS 4.12

2015-11-06 Thread Chris Johns
On 5/11/2015 6:56 am, Gedare Bloom wrote:
> I see no problem with using the newer GCC assuming our development
> cycle is probably still at least 1yr+. Until we get good automation
> this is the case. Also, we are planning to apply to Google Code-In,
> and bumping the tool versions could be a set of tasks. If you would
> like to do one or a few as a sample, then we can have high school
> students do the rest during the GCI program period.

I am planing to talk to Joel about the RSB and it's configuration files.
The RSB has arrived at an interesting place where I am not sure we want
all versions in an RSB. If we strip back the configurations to just the
valid ones we will then need to have a specific versions for specific
releases. This would simplify the number of files.

It would be nice to resolve this before adding 4.12 support.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel